Skip to content

Commit 76886ad

Browse files
authored
feat(locale): add person data for yo locale (#2363)
1 parent 6bb4775 commit 76886ad

13 files changed

Lines changed: 404 additions & 0 deletions

File tree

docs/guide/localization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ In this example there are 5 locales. Each of these is checked in order, and the
137137
| `uk` | Ukrainian | `fakerUK` |
138138
| `ur` | Urdu | `fakerUR` |
139139
| `vi` | Vietnamese | `fakerVI` |
140+
| `yo_NG` | Yoruba (Nigeria) | `fakerYO_NG` |
140141
| `zh_CN` | Chinese (China) | `fakerZH_CN` |
141142
| `zh_TW` | Chinese (Taiwan) | `fakerZH_TW` |
142143
| `zu_ZA` | Zulu (South Africa) | `fakerZU_ZA` |

src/locale/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ import { faker as fakerTR } from './tr';
6666
import { faker as fakerUK } from './uk';
6767
import { faker as fakerUR } from './ur';
6868
import { faker as fakerVI } from './vi';
69+
import { faker as fakerYO_NG } from './yo_NG';
6970
import { faker as fakerZH_CN } from './zh_CN';
7071
import { faker as fakerZH_TW } from './zh_TW';
7172
import { faker as fakerZU_ZA } from './zu_ZA';
@@ -134,6 +135,7 @@ export {
134135
fakerUK,
135136
fakerUR,
136137
fakerVI,
138+
fakerYO_NG,
137139
fakerZH_CN,
138140
fakerZH_TW,
139141
fakerZU_ZA,
@@ -203,6 +205,7 @@ export const allFakers = {
203205
uk: fakerUK,
204206
ur: fakerUR,
205207
vi: fakerVI,
208+
yo_NG: fakerYO_NG,
206209
zh_CN: fakerZH_CN,
207210
zh_TW: fakerZH_TW,
208211
zu_ZA: fakerZU_ZA,

src/locale/yo_NG.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
6+
import { Faker } from '../faker';
7+
import base from '../locales/base';
8+
import en from '../locales/en';
9+
import yo_NG from '../locales/yo_NG';
10+
11+
export const faker = new Faker({
12+
locale: [yo_NG, en, base],
13+
});

src/locales/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export { default as tr } from './tr';
6666
export { default as uk } from './uk';
6767
export { default as ur } from './ur';
6868
export { default as vi } from './vi';
69+
export { default as yo_NG } from './yo_NG';
6970
export { default as zh_CN } from './zh_CN';
7071
export { default as zh_TW } from './zh_TW';
7172
export { default as zu_ZA } from './zu_ZA';

src/locales/yo_NG/index.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { LocaleDefinition } from '../..';
6+
import metadata from './metadata';
7+
import person from './person';
8+
9+
const yo_NG: LocaleDefinition = {
10+
metadata,
11+
person,
12+
};
13+
14+
export default yo_NG;

src/locales/yo_NG/metadata.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import type { PreBuiltMetadataDefinitionForCountry } from '../../definitions/metadata';
2+
3+
const metadata: PreBuiltMetadataDefinitionForCountry = {
4+
title: 'Yoruba (Nigeria)',
5+
code: 'yo_NG',
6+
country: 'NG',
7+
language: 'yo',
8+
endonym: 'Yoruba (Naijiria)',
9+
dir: 'ltr',
10+
script: 'Latn',
11+
};
12+
13+
export default metadata;
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
export default [
2+
'Aanuoluwapo',
3+
'Abebi',
4+
'Abeni',
5+
'Abosede',
6+
'Adebukola',
7+
'Adenike',
8+
'Adepeju',
9+
'Adesewa',
10+
'Adesua',
11+
'Adetoke',
12+
'Adetoun',
13+
'Adunni',
14+
'Ajoke',
15+
'Amoke',
16+
'Amope',
17+
'Arike',
18+
'Arinola',
19+
'Asake',
20+
'Atinuke',
21+
'Awero',
22+
'Ayinke',
23+
'Ayoka',
24+
'Bolatito',
25+
'Boluwatife',
26+
'Bunmi',
27+
'Doyinsola',
28+
'Eniola',
29+
'Ewatomi',
30+
'Fadekemi',
31+
'Faderera',
32+
'Fehintola',
33+
'Fibikemi',
34+
'Fikayomi',
35+
'Folashade',
36+
'Ibironke',
37+
'Iretioluwa',
38+
'Iyabode',
39+
'Iyadunni',
40+
'Kikelomo',
41+
'Modupe',
42+
'Mofifoluwa',
43+
'Mojisola',
44+
'Mojisoluwa',
45+
'Moradeke',
46+
'Morayo',
47+
'Morenike',
48+
'Morolake',
49+
'Mosinmileoluwa',
50+
'Mosunmola',
51+
'Motunrayo',
52+
'Moyosore',
53+
'Ninioluwa',
54+
'Olajumoke',
55+
'Olasunmbo',
56+
'Ololade',
57+
'Olufunke',
58+
'Olufunmilayo',
59+
'Oluwakemi',
60+
'Omobolanle',
61+
'Omodunni',
62+
'Omolabake',
63+
'Omolara',
64+
'Omosalewa',
65+
'Omotara',
66+
'Omotola',
67+
'Omotoun',
68+
'Omowumi',
69+
'Oreofe',
70+
'Oyenike',
71+
'Oyindasola',
72+
'Radeke',
73+
'Ronke',
74+
'Segilola',
75+
'Similoluwa',
76+
'Simisola',
77+
'Sowande',
78+
'Subomi',
79+
'Titilayo',
80+
'Tolulope',
81+
'Toluwanimi',
82+
'Wuraola',
83+
'Yejide',
84+
'Yetunde',
85+
'Yewande',
86+
];
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
export default [
2+
'Abimbola',
3+
'Abiola',
4+
'Ade',
5+
'Adebankole',
6+
'Adebola',
7+
'Adedaramola',
8+
'Adedoyin',
9+
'Adeola',
10+
'Alaba',
11+
'Ara',
12+
'Ayomide',
13+
'Ayomikun',
14+
'Ayotude',
15+
'Busayo',
16+
'Damilola',
17+
'Damola',
18+
'Darasimi',
19+
'Ebunoluwa',
20+
'FolaFoluwa',
21+
'Ibukunoluwa',
22+
'Idowu',
23+
'Ifeoluwa',
24+
'Imoleoluwa',
25+
'Iremide',
26+
'Itunuoluwa',
27+
'Iyanuoluwa',
28+
'Iyinoluwa',
29+
'Kehinde',
30+
'Mobolaji',
31+
'Odunayo',
32+
'Okiki',
33+
'Ola',
34+
'Oladara',
35+
'Olamide',
36+
'Olaoluwa',
37+
'Olatunbosun',
38+
'Olayinka',
39+
'Olufeyisayo',
40+
'Olusola',
41+
'Olutomiwa',
42+
'Oluwasemilore',
43+
'Oluwaseun',
44+
'Oluwaseyi',
45+
'Oluwatimilehin',
46+
'Oluwatobiloba',
47+
'Oluwatofunmi',
48+
'Oluwatosin',
49+
'Oluwatoyosi',
50+
'Oluwatumise',
51+
'Omolola',
52+
'Omotolani',
53+
'Opemipo',
54+
'Opeoluwa',
55+
'Opeyemi',
56+
'Oyindamola',
57+
'Pelumi',
58+
'Shola',
59+
'Taiwo',
60+
'Tejumola',
61+
'Temitope',
62+
'Toluwalope',
63+
];

src/locales/yo_NG/person/index.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { PersonDefinition } from '../../..';
6+
import female_first_name from './female_first_name';
7+
import first_name from './first_name';
8+
import last_name from './last_name';
9+
import last_name_pattern from './last_name_pattern';
10+
import male_first_name from './male_first_name';
11+
12+
const person: PersonDefinition = {
13+
female_first_name,
14+
first_name,
15+
last_name,
16+
last_name_pattern,
17+
male_first_name,
18+
};
19+
20+
export default person;
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
export default [
2+
'Adebisi',
3+
'Adegbite',
4+
'Adegoke',
5+
'Adekunle',
6+
'Adelakun',
7+
'Adeleke',
8+
'Adelusi',
9+
'Ademiluyi',
10+
'Aderibigbe',
11+
'Aderogba',
12+
'Adesiyan',
13+
'Adeyemo',
14+
'Adisa',
15+
'Afolabi',
16+
'Afolayan',
17+
'Afonja',
18+
'Ajao',
19+
'Ajayi',
20+
'Ajewole',
21+
'Akinrinola',
22+
'Alabi',
23+
'Aloba',
24+
'Awodiran',
25+
'Awolowo',
26+
'Ayandokun',
27+
'Ayoola',
28+
'Babtunde',
29+
'Bakare',
30+
'Balogun',
31+
'Bamidele',
32+
'Bamiloye',
33+
'Edun',
34+
'Fadipe',
35+
'Fagunwa',
36+
'Fajimi',
37+
'Falabi',
38+
'Faleti',
39+
'Faloye',
40+
'Fasasi',
41+
'Ibikunle',
42+
'Ilori',
43+
'Ilupeju',
44+
'Iyanda',
45+
'Jaiyeola',
46+
'Kolade',
47+
'Kosoko',
48+
'Koya',
49+
'Makinde',
50+
'Makinwa',
51+
'Morawo',
52+
'Ninalowo',
53+
'Odetola',
54+
'Odunsi',
55+
'Ogindan',
56+
'Oginni',
57+
'Ogulana',
58+
'Ogunbamigbe',
59+
'Ogunbiyi',
60+
'Ogunbo',
61+
'Ogunde',
62+
'Ogunwobi',
63+
'Ogunyeye',
64+
'Ojo',
65+
'Ojua',
66+
'Olabode',
67+
'Oladipupo',
68+
'Olaiya',
69+
'Olasupo',
70+
'Olowokeere',
71+
'Oloyede',
72+
'Olubode',
73+
'Olugbayila',
74+
'Olujimi',
75+
'Olukotun',
76+
'Olukunga',
77+
'Olusanya',
78+
'Oluwagbemi',
79+
'Omidina',
80+
'Omojola',
81+
'Omotoso',
82+
'Oparinde',
83+
'Oshin',
84+
'Osuntokun',
85+
'Owokoniran',
86+
'Owolabi',
87+
'Owoyemi',
88+
'Oyadiran',
89+
'Oyaifo',
90+
'Oyeniyi',
91+
'Oyetoro',
92+
'Oyeyemi',
93+
'Oyinlola',
94+
'Paimo',
95+
'Salako',
96+
'Salami',
97+
'Shekoni',
98+
'Sobowale',
99+
'Soyinka',
100+
];

0 commit comments

Comments
 (0)