diff --git a/docs/guide/localization.md b/docs/guide/localization.md index 3c90df20b00..446c914a29e 100644 --- a/docs/guide/localization.md +++ b/docs/guide/localization.md @@ -125,6 +125,7 @@ In this example there are 5 locales. Each of these is checked in order, and the | `pt_BR` | Portuguese (Brazil) | `fakerPT_BR` | | `pt_PT` | Portuguese (Portugal) | `fakerPT_PT` | | `ro` | Romanian | `fakerRO` | +| `ro_MD` | Romanian (Moldova) | `fakerRO_MD` | | `ru` | Russian | `fakerRU` | | `sk` | Slovak | `fakerSK` | | `sr_RS_latin` | Serbian (Serbia, Latin) | `fakerSR_RS_latin` | diff --git a/src/locale/index.ts b/src/locale/index.ts index 6b52d54e0b1..2f034f10a20 100644 --- a/src/locale/index.ts +++ b/src/locale/index.ts @@ -54,6 +54,7 @@ import { faker as fakerPL } from './pl'; import { faker as fakerPT_BR } from './pt_BR'; import { faker as fakerPT_PT } from './pt_PT'; import { faker as fakerRO } from './ro'; +import { faker as fakerRO_MD } from './ro_MD'; import { faker as fakerRU } from './ru'; import { faker as fakerSK } from './sk'; import { faker as fakerSR_RS_latin } from './sr_RS_latin'; @@ -119,6 +120,7 @@ export { fakerPT_BR, fakerPT_PT, fakerRO, + fakerRO_MD, fakerRU, fakerSK, fakerSR_RS_latin, @@ -185,6 +187,7 @@ export const allFakers = { pt_BR: fakerPT_BR, pt_PT: fakerPT_PT, ro: fakerRO, + ro_MD: fakerRO_MD, ru: fakerRU, sk: fakerSK, sr_RS_latin: fakerSR_RS_latin, diff --git a/src/locale/ro_MD.ts b/src/locale/ro_MD.ts new file mode 100644 index 00000000000..c67c7025f9b --- /dev/null +++ b/src/locale/ro_MD.ts @@ -0,0 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ + +import { Faker } from '../faker'; +import base from '../locales/base'; +import en from '../locales/en'; +import ro from '../locales/ro'; +import ro_MD from '../locales/ro_MD'; + +export const faker = new Faker({ + locale: [ro_MD, ro, en, base], +}); diff --git a/src/locales/index.ts b/src/locales/index.ts index 22054501f02..69c3966336d 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -54,6 +54,7 @@ export { default as pl } from './pl'; export { default as pt_BR } from './pt_BR'; export { default as pt_PT } from './pt_PT'; export { default as ro } from './ro'; +export { default as ro_MD } from './ro_MD'; export { default as ru } from './ru'; export { default as sk } from './sk'; export { default as sr_RS_latin } from './sr_RS_latin'; diff --git a/src/locales/ro_MD/cell_phone/formats.ts b/src/locales/ro_MD/cell_phone/formats.ts new file mode 100644 index 00000000000..7c197f48798 --- /dev/null +++ b/src/locales/ro_MD/cell_phone/formats.ts @@ -0,0 +1,92 @@ +export default [ + '0600#####', + '0601#####', + '0602#####', + '0603#####', + '0604#####', + '0605#####', + '0606#####', + '0607#####', + '0608#####', + '0609#####', + '0610#####', + '0611#####', + '0612#####', + '0613#####', + '0614#####', + '0615#####', + '0616#####', + '0617#####', + '0618#####', + '0619#####', + '0620#####', + '0621#####', + '0622#####', + '0623#####', + '0624#####', + '0625#####', + '0626#####', + '0627#####', + '0628#####', + '0629#####', + '0660#####', + '0661#####', + '0662#####', + '0663#####', + '0664#####', + '0665#####', + '0666#####', + '0667#####', + '0668#####', + '0669#####', + '0670#####', + '0671#####', + '0672#####', + '0673#####', + '0674#####', + '0675#####', + '0676#####', + '0677#####', + '0678#####', + '0679#####', + '0680#####', + '0681#####', + '0682#####', + '0683#####', + '0684#####', + '0685#####', + '0686#####', + '0687#####', + '0688#####', + '0689#####', + '0690#####', + '0691#####', + '0692#####', + '0693#####', + '0694#####', + '0695#####', + '0696#####', + '0697#####', + '0698#####', + '0699#####', + '0790#####', + '0791#####', + '0792#####', + '0793#####', + '0794#####', + '0795#####', + '0796#####', + '0797#####', + '0798#####', + '0799#####', + '0780#####', + '0781#####', + '0782#####', + '0783#####', + '0784#####', + '0785#####', + '0786#####', + '0787#####', + '0788#####', + '0789#####', +]; diff --git a/src/locales/ro_MD/cell_phone/index.ts b/src/locales/ro_MD/cell_phone/index.ts new file mode 100644 index 00000000000..337d77f0bbb --- /dev/null +++ b/src/locales/ro_MD/cell_phone/index.ts @@ -0,0 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import formats from './formats'; + +const cell_phone = { + formats, +}; + +export default cell_phone; diff --git a/src/locales/ro_MD/date/index.ts b/src/locales/ro_MD/date/index.ts new file mode 100644 index 00000000000..a28ce823bb8 --- /dev/null +++ b/src/locales/ro_MD/date/index.ts @@ -0,0 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinition } from '../../..'; +import month from './month'; +import weekday from './weekday'; + +const date: DateDefinition = { + month, + weekday, +}; + +export default date; diff --git a/src/locales/ro_MD/date/month.ts b/src/locales/ro_MD/date/month.ts new file mode 100644 index 00000000000..22d47420413 --- /dev/null +++ b/src/locales/ro_MD/date/month.ts @@ -0,0 +1,30 @@ +export default { + wide: [ + 'Ianuarie', + 'Februarie', + 'Martie', + 'Aprilie', + 'Mai', + 'Iunie', + 'Iulie', + 'August', + 'Septembrie', + 'Octombrie', + 'Noiembrie', + 'Decembrie', + ], + abbr: [ + 'Ian', + 'Feb', + 'Mar', + 'Apr', + 'Mai', + 'Iun', + 'Iul', + 'Aug', + 'Sep', + 'Oct', + 'Noi', + 'Dec', + ], +}; diff --git a/src/locales/ro_MD/date/weekday.ts b/src/locales/ro_MD/date/weekday.ts new file mode 100644 index 00000000000..b697ce875a9 --- /dev/null +++ b/src/locales/ro_MD/date/weekday.ts @@ -0,0 +1,4 @@ +export default { + wide: ['Luni', 'Marți', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă', 'Duminică'], + abbr: ['Lu', 'Ma', 'Mi', 'Jo', 'Vi', 'Sâ', 'Du'], +}; diff --git a/src/locales/ro_MD/index.ts b/src/locales/ro_MD/index.ts new file mode 100644 index 00000000000..705ae65ec8b --- /dev/null +++ b/src/locales/ro_MD/index.ts @@ -0,0 +1,24 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LocaleDefinition } from '../..'; +import cell_phone from './cell_phone'; +import date from './date'; +import internet from './internet'; +import location from './location'; +import metadata from './metadata'; +import person from './person'; +import phone_number from './phone_number'; + +const ro_MD: LocaleDefinition = { + cell_phone, + date, + internet, + location, + metadata, + person, + phone_number, +}; + +export default ro_MD; diff --git a/src/locales/ro_MD/internet/domain_suffix.ts b/src/locales/ro_MD/internet/domain_suffix.ts new file mode 100644 index 00000000000..686cd72937b --- /dev/null +++ b/src/locales/ro_MD/internet/domain_suffix.ts @@ -0,0 +1,8 @@ +export default [ + 'com', + 'ru', + 'net', + 'org', + // Moldavian + 'md', +]; diff --git a/src/locales/ro_MD/internet/free_email.ts b/src/locales/ro_MD/internet/free_email.ts new file mode 100644 index 00000000000..7a5231b8508 --- /dev/null +++ b/src/locales/ro_MD/internet/free_email.ts @@ -0,0 +1,9 @@ +export default [ + 'mail.ru', + 'rambler.ru', + 'yandex.ru', + 'gmail.com', + 'gmail.ru', + 'yahoo.com', + 'hotmail.com', +]; diff --git a/src/locales/ro_MD/internet/index.ts b/src/locales/ro_MD/internet/index.ts new file mode 100644 index 00000000000..0b63b5f2fb5 --- /dev/null +++ b/src/locales/ro_MD/internet/index.ts @@ -0,0 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinition } from '../../..'; +import domain_suffix from './domain_suffix'; +import free_email from './free_email'; + +const internet: InternetDefinition = { + domain_suffix, + free_email, +}; + +export default internet; diff --git a/src/locales/ro_MD/location/building_number.ts b/src/locales/ro_MD/location/building_number.ts new file mode 100644 index 00000000000..d0b957d9ac2 --- /dev/null +++ b/src/locales/ro_MD/location/building_number.ts @@ -0,0 +1 @@ +export default ['Bloc ##', 'Bloc ##/##']; diff --git a/src/locales/ro_MD/location/city.ts b/src/locales/ro_MD/location/city.ts new file mode 100644 index 00000000000..d277fafa5a7 --- /dev/null +++ b/src/locales/ro_MD/location/city.ts @@ -0,0 +1,4 @@ +export default [ + '{{location.city_prefix}} {{person.firstName}}', + '{{location.city_name}}', +]; diff --git a/src/locales/ro_MD/location/city_name.ts b/src/locales/ro_MD/location/city_name.ts new file mode 100644 index 00000000000..c22af9a1cfb --- /dev/null +++ b/src/locales/ro_MD/location/city_name.ts @@ -0,0 +1,95 @@ +export default [ + 'Anenii Noi', + 'Basarabeasca', + 'Bender', + 'Briceni', + 'Bălți', + 'Cahul', + 'Ceadîr-Lunga', + 'Chișinău', + 'Cimișlia', + 'Cocieri', + 'Codru', + 'Comrat', + 'Criuleni', + 'Călărași', + 'Căușeni', + 'Dnestrovsc', + 'Dondușeni', + 'Drochia', + 'Dubăsari', + 'Dumbrava', + 'Edineț', + 'Florești', + 'Fălești', + 'Glodeni', + 'Grigoriopol', + 'Hîncești', + 'Ialoveni', + 'Iargara', + 'Leova', + 'Nisporeni', + 'Ocnița', + 'Orhei', + 'Otaci', + 'Rezina', + 'Rîbnița', + 'Sadaclia', + 'Sadaclia Mică', + 'Sadaclia Nouă', + 'Saharna', + 'Saharna Nouă', + 'Saharna Veche', + 'Salcia', + 'Seliște', + 'Sipoteni', + 'Sipoteni Noui', + 'Slobozia Mare', + 'Soroca', + 'Strășeni', + 'Stăuceni', + 'Susleni', + 'Suvorovca', + 'Sîngerei', + 'Talmaza', + 'Taraclia', + 'Taraclia de Salcie', + 'Telenesti', + 'Tigheci', + 'Tiraspol', + 'Tocuz', + 'Tocuzeni', + 'Tomai', + 'Trebisăuți', + 'Tvardița', + 'Tătărășeni', + 'Ungheni', + 'Vadul lui Isac', + 'Vadul lui Voda', + 'Vaduleni', + 'Valea Coloniței', + 'Valea Perjei', + 'Varnița', + 'Varvareuca', + 'Vatra', + 'Verdești', + 'Veverița', + 'Volintiri', + 'Vulcănești', + 'Zagarancea', + 'Zaicana', + 'Zaim', + 'Zamciogi', + 'Zgurița', + 'Zgărdești', + 'Zirnesti', + 'Zolonceni', + 'Zârnești', + 'Zîrnești', + 'Zăbriceni', + 'Zăicani', + 'Zăluceni', + 'Zăticeni', + 'Șofrîncani', + 'Ștefan Vodă', +]; diff --git a/src/locales/ro_MD/location/city_prefix.ts b/src/locales/ro_MD/location/city_prefix.ts new file mode 100644 index 00000000000..14e6aecaf3c --- /dev/null +++ b/src/locales/ro_MD/location/city_prefix.ts @@ -0,0 +1 @@ +export default ['Raionul', 'Municipiu']; diff --git a/src/locales/ro_MD/location/county.ts b/src/locales/ro_MD/location/county.ts new file mode 100644 index 00000000000..dd2d91691b3 --- /dev/null +++ b/src/locales/ro_MD/location/county.ts @@ -0,0 +1,36 @@ +export default [ + 'Anenii Noi', + 'Basarabeasca', + 'Bender', + 'Briceni', + 'Cahul', + 'Calarasi', + 'Cantemir', + 'Causeni', + 'Chisinau', + 'Cimislia', + 'Criuleni', + 'Donduseni', + 'Drochia', + 'Dubasari', + 'Edinet', + 'Falesti', + 'Floresti', + 'Glodeni', + 'Hincesti', + 'Ialoveni', + 'Leova', + 'Nisporeni', + 'Ocnita', + 'Orhei', + 'Rezina', + 'Riscani', + 'Singerei', + 'Soldanesti', + 'Soroca', + 'Stefan-Voda', + 'Straseni', + 'Taraclia', + 'Telenesti', + 'Ungheni', +]; diff --git a/src/locales/ro_MD/location/default_country.ts b/src/locales/ro_MD/location/default_country.ts new file mode 100644 index 00000000000..e7b31163bfe --- /dev/null +++ b/src/locales/ro_MD/location/default_country.ts @@ -0,0 +1 @@ +export default ['Republica Moldova']; diff --git a/src/locales/ro_MD/location/index.ts b/src/locales/ro_MD/location/index.ts new file mode 100644 index 00000000000..00cf5bc50f3 --- /dev/null +++ b/src/locales/ro_MD/location/index.ts @@ -0,0 +1,38 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LocationDefinition } from '../../..'; +import building_number from './building_number'; +import city from './city'; +import city_name from './city_name'; +import city_prefix from './city_prefix'; +import county from './county'; +import default_country from './default_country'; +import postcode from './postcode'; +import secondary_address from './secondary_address'; +import state from './state'; +import state_abbr from './state_abbr'; +import street_address from './street_address'; +import street_name_part from './street_name_part'; +import street_pattern from './street_pattern'; +import street_prefix from './street_prefix'; + +const location: LocationDefinition = { + building_number, + city, + city_name, + city_prefix, + county, + default_country, + postcode, + secondary_address, + state, + state_abbr, + street_address, + street_name_part, + street_pattern, + street_prefix, +}; + +export default location; diff --git a/src/locales/ro_MD/location/postcode.ts b/src/locales/ro_MD/location/postcode.ts new file mode 100644 index 00000000000..7c343c25847 --- /dev/null +++ b/src/locales/ro_MD/location/postcode.ts @@ -0,0 +1 @@ +export default ['MD-####']; diff --git a/src/locales/ro_MD/location/secondary_address.ts b/src/locales/ro_MD/location/secondary_address.ts new file mode 100644 index 00000000000..423f9111e18 --- /dev/null +++ b/src/locales/ro_MD/location/secondary_address.ts @@ -0,0 +1 @@ +export default ['Ap. ##', 'Ap. ###']; diff --git a/src/locales/ro_MD/location/state.ts b/src/locales/ro_MD/location/state.ts new file mode 100644 index 00000000000..7646bbd17d0 --- /dev/null +++ b/src/locales/ro_MD/location/state.ts @@ -0,0 +1 @@ +export default null; diff --git a/src/locales/ro_MD/location/state_abbr.ts b/src/locales/ro_MD/location/state_abbr.ts new file mode 100644 index 00000000000..7646bbd17d0 --- /dev/null +++ b/src/locales/ro_MD/location/state_abbr.ts @@ -0,0 +1 @@ +export default null; diff --git a/src/locales/ro_MD/location/street_address.ts b/src/locales/ro_MD/location/street_address.ts new file mode 100644 index 00000000000..b1cf56fcac2 --- /dev/null +++ b/src/locales/ro_MD/location/street_address.ts @@ -0,0 +1,4 @@ +export default { + normal: '{{location.street}}, {{location.buildingNumber}}', + full: '{{location.street}}, {{location.buildingNumber}}, {{location.secondaryAddress}}', +}; diff --git a/src/locales/ro_MD/location/street_name_part.ts b/src/locales/ro_MD/location/street_name_part.ts new file mode 100644 index 00000000000..6c387868e07 --- /dev/null +++ b/src/locales/ro_MD/location/street_name_part.ts @@ -0,0 +1,300 @@ +export default [ + '1 Mai', + '27 August', + '28 Iunie', + '31 August', + '8 Martie', + '9 Mai', + 'Adam', + 'Alba Iulia', + 'Aldea-Teodorovici Doina Si Ion', + 'Alecsandri', + 'Alecu Russo', + 'Alexandru Cel Bun', + 'Alexandru Donici', + 'Alexandru Lapusneanu', + 'Alexandru Plamadeala', + 'Alexei Mateevici', + 'Arborilor', + 'Arghezi', + 'Aron Pumnul', + 'Asachi', + 'Aurel David', + 'Balcescu', + 'Banulescu-Bodoni', + 'Barbu Lautaru', + 'Basarabia', + 'Basarabiei', + 'Bernardazzi', + 'Bisericii', + 'Bogdan Voda', + 'Boris Glavan', + 'Brincus', + 'Bucovinei', + 'Bucuriei', + 'Bulgara', + 'Burebista', + 'Cahul', + 'Cantemir', + 'Cantemir Dimitrie', + 'Capriana', + 'Caraciobanu', + 'Caragiale', + 'Ceaikovski Piotr', + 'Ceapaev', + 'Cehov', + 'Cetatea Alba', + 'Chirov', + 'Chisinau', + 'Chisinaului', + 'Cibotari Maria', + 'Cimpului', + 'Ciobanu', + 'Ciocirlia', + 'Ciorba', + 'Ciprian Porumbescu', + 'Ciresilor', + 'Cismelelor', + 'Codrilor', + 'Colinei', + 'Columna', + 'Comarov', + 'Comarova', + 'Constantin Negruzzi', + 'Constantin Stamati', + 'Constantin Stere', + 'Constructorilor', + 'Corlatenilor', + 'Cosbuc', + 'Cosbuc George', + 'Cosmescu', + 'Cosmonautilor', + 'Costin', + 'Crasescu', + 'Creanga', + 'Crihan', + 'Crizantemelor', + 'Cupcea', + 'Cutuzov', + 'Cuza Voda', + 'Dacia', + 'Dacilor', + 'Damian', + 'Decebal', + 'Delete', + 'Dimo', + 'Doga', + 'Doina', + 'Donici', + 'Dosoftei', + 'Dragan', + 'Dragomirna', + 'Dragos Voda', + 'Dumbrava', + 'Eminescu', + 'Feroviarilor', + 'Fintinilor', + 'Floreni', + 'Florilor', + 'Franco', + 'Frunze', + 'Gagarin', + 'Garii', + 'Gheorghe Asachi', + 'Ghica-Voda', + 'Ghioceilor', + 'Glavan', + 'Gogol', + 'Gradinarilor', + 'Gradinilor', + 'Gratiesti', + 'Gribov', + 'Grigore Ureche', + 'Haiducilor', + 'Halippa', + 'Halippa Pantelimon', + 'Hasdeu', + 'Hasdeu Bogdan Petriceicu', + 'Hijdeu', + 'Hincesti', + 'Horelor', + 'Hotin', + 'Hotinului', + 'Iachir', + 'Ialoveni', + 'Iasului', + 'Iazului', + 'Igor Vieru', + 'Independentei', + 'Industriala', + 'Ioan Voda', + 'Ion Creanga', + 'Ion Neculce', + 'Ion Soltis', + 'Iorga', + 'Ismail', + 'Isnovat', + 'Izvoarelor', + 'Kiev', + 'Kogalniceanu', + 'Lacului', + 'Lapusneanu', + 'Lautarilor', + 'Lazo', + 'Lenin', + 'Lermontov', + 'Libertatii', + 'Livezilor', + 'Liviu Deleanu', + 'Lomonosov', + 'Luceafarul', + 'Luceafarului', + 'Lupu', + 'Macarenco', + 'Maiacovschi Vladimir', + 'Maria Cibotaru', + 'Maria Dragan', + 'Marinescu', + 'Martisor', + 'Mateevici', + 'Matei Basarab', + 'Matrosov', + 'Mendeleev', + 'Meniuc', + 'Mesterul Manole', + 'Miciurin', + 'Micle', + 'Mihai Eminescu', + 'Mihai Sadoveanu', + 'Mihail Kogalniceanu', + 'Mihail Sadoveanu', + 'Milescu Spataru Nicolae', + 'Miorita', + 'Mioritei', + 'Mira', + 'Mircea Cel Batrin', + 'Miron Costin', + 'Mitropolit Petru Movila', + 'Mitropolitul Varlaam', + 'Moldova', + 'Moldovita', + 'Molodiojnaia', + 'Moruzi', + 'Movila', + 'Muncii', + 'Muresanu', + 'Musicescu Gavriil', + 'Neaga', + 'Necrasov', + 'Neculce', + 'Negruzzi', + 'Nicolae Iorga', + 'Novaia', + 'Nucarilor', + 'Nuferilor', + 'Orhei', + 'Ostrovschi', + 'Ovidiu', + 'Pacii', + 'Padurilor', + 'Parcului', + 'Pavlov', + 'Pescarilor', + 'Petru Movila', + 'Petru Rares', + 'Petru Zadnipru', + 'Pirogov', + 'Plaiului', + 'Plamadeala', + 'Plopilor', + 'Plugarilor', + 'Pobedi', + 'Podgorenilor', + 'Polevaia', + 'Popov', + 'Porumbescu', + 'Prieteniei', + 'Primaverii', + 'Pruncul', + 'Puskin', + 'Rares', + 'Razesilor', + 'Rediu Mare', + 'Renasterii', + 'Romana', + 'Russo', + 'Russo Alecu', + 'Sadovaia', + 'Sadoveanu', + 'Saharov', + 'Salcimilor', + 'Satul', + 'Sciusev', + 'Scolii', + 'Serghei Lazo', + 'Sevcenco', + 'Sfatul Tarii', + 'Sfinta Maria', + 'Sfinta Treime', + 'Sfintul Andrei', + 'Sfintul Gheorghe', + 'Sirbu', + 'Smochina', + 'Solidaritatii', + 'Solnecinaia', + 'Solohov', + 'Soltis', + 'Soltis Ion', + 'Sperantei', + 'Sportiva', + 'Stamati', + 'Stefan Cel Mare', + 'Stefan Neaga', + 'Stefan Voda', + 'Stejarilor', + 'Stere', + 'Studentilor', + 'Suceava', + 'Suveranitatii', + 'Suvorov', + 'Tamara Ciobanu', + 'Tatarbunar', + 'Tcacenco', + 'Teilor', + 'Teodorovici', + 'Testemiteanu', + 'Tighina', + 'Tighinei', + 'Timisoara', + 'Tineretului', + 'Tolstoi', + 'Toma Ciorba', + 'Traian', + 'Trandafirilor', + 'Tricolorului', + 'Tudor Vladimirescu', + 'Turghenev', + 'Ungureanu', + 'Unirii', + 'Ureche', + 'Uzinelor', + 'Valeriu Cupcea', + 'Varlaam', + 'Vasile Alecsandri', + 'Vasile Lupu', + 'Veronica Micle', + 'Victoriei', + 'Vieru', + 'Viilor', + 'Visinilor', + 'Viteazul Mihai', + 'Vlad Tepes', + 'Vladimirescu', + 'Voda', + 'Voluntarilor', + 'Vorosilov', + 'Zadnipru', + 'Zamfir Arbore', + 'Zmeurei', + 'Zorilor', +]; diff --git a/src/locales/ro_MD/location/street_pattern.ts b/src/locales/ro_MD/location/street_pattern.ts new file mode 100644 index 00000000000..60057d071e3 --- /dev/null +++ b/src/locales/ro_MD/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_prefix}} {{location.street_name_part}}']; diff --git a/src/locales/ro_MD/location/street_prefix.ts b/src/locales/ro_MD/location/street_prefix.ts new file mode 100644 index 00000000000..20ba874620f --- /dev/null +++ b/src/locales/ro_MD/location/street_prefix.ts @@ -0,0 +1 @@ +export default ['Aleea', 'Bulevardul', 'Str-la', 'Str']; diff --git a/src/locales/ro_MD/metadata.ts b/src/locales/ro_MD/metadata.ts new file mode 100644 index 00000000000..211ab653c8d --- /dev/null +++ b/src/locales/ro_MD/metadata.ts @@ -0,0 +1,13 @@ +import type { PreBuiltMetadataDefinitionForCountry } from '../../definitions/metadata'; + +const metadata: PreBuiltMetadataDefinitionForCountry = { + title: 'Romanian (Moldova)', + code: 'ro_MD', + country: 'MD', + language: 'ro', + endonym: 'Română (Moldova)', + dir: 'ltr', + script: 'Latn', +}; + +export default metadata; diff --git a/src/locales/ro_MD/person/female_first_name.ts b/src/locales/ro_MD/person/female_first_name.ts new file mode 100644 index 00000000000..137c92c032d --- /dev/null +++ b/src/locales/ro_MD/person/female_first_name.ts @@ -0,0 +1,258 @@ +export default [ + 'Aculina', + 'Ada', + 'Adela', + 'Adelaida', + 'Adelina', + 'Adriana', + 'Afanasi', + 'Agafia', + 'Agnesa', + 'Ala', + 'Albina', + 'Alea', + 'Alena', + 'Alesea', + 'Alevtina', + 'Alexandra', + 'Alexandrina', + 'Alina', + 'Aliona', + 'Alisa', + 'Alla', + 'Ana', + 'Ana-Maria', + 'Anastasia', + 'Andriana', + 'Angela', + 'Angelica', + 'Anghelina', + 'Anjela', + 'Anjelica', + 'Anna', + 'Antonina', + 'Argentina', + 'Ariadna', + 'Arina', + 'Aurelia', + 'Aurica', + 'Axenia', + 'Calina', + 'Carina', + 'Carolina', + 'Catalina', + 'Cezara', + 'Chira', + 'Claudia', + 'Clavdia', + 'Constanta', + 'Constantia', + 'Corina', + 'Cornelia', + 'Crina', + 'Cristiana', + 'Cristina', + 'Dana', + 'Daniela', + 'Daria', + 'Diana', + 'Didina', + 'Dina', + 'Doina', + 'Doinita', + 'Domnica', + 'Dora', + 'Doriana', + 'Dorina', + 'Dumitrita', + 'Ecaterina', + 'Efimia', + 'Efrosinia', + 'Elena', + 'Eleonora', + 'Elina', + 'Elisaveta', + 'Elizaveta', + 'Ella', + 'Elmira', + 'Elvira', + 'Ema', + 'Emilia', + 'Erica', + 'Eudochia', + 'Eugenia', + 'Eva', + 'Evdochia', + 'Evelina', + 'Evghenia', + 'Fedora', + 'Felicia', + 'Feodora', + 'Feodosia', + 'Fevronia', + 'Gabriela', + 'Galina', + 'Georgeta', + 'Gheorghina', + 'Greta', + 'Iana', + 'Ianina', + 'Ianna', + 'Iaroslava', + 'Ileana', + 'Ilia', + 'Ilinca', + 'Ilona', + 'Ina', + 'Inesa', + 'Inessa', + 'Inga', + 'Inna', + 'Ioana', + 'Ionela', + 'Ira', + 'Iraida', + 'Irena', + 'Irina', + 'Iryna', + 'Iulia', + 'Iuliana', + 'Ivana', + 'Ivanna', + 'Jana', + 'Janeta', + 'Janna', + 'Lada', + 'Larisa', + 'Laura', + 'Laurentia', + 'Leonora', + 'Lia', + 'Lidia', + 'Lilia', + 'Liliana', + 'Lina', + 'Liuba', + 'Liubov', + 'Liubovi', + 'Liudmila', + 'Liusea', + 'Livia', + 'Lora', + 'Lucia', + 'Lucica', + 'Lucretia', + 'Ludmila', + 'Luiza', + 'Luminita', + 'Magdalena', + 'Maia', + 'Malvina', + 'Marcela', + 'Margareta', + 'Margarita', + 'Maria', + 'Mariana', + 'Marianna', + 'Maricica', + 'Marina', + 'Marta', + 'Melania', + 'Melnic', + 'Mihaela', + 'Minodora', + 'Mirela', + 'Miroslava', + 'Nadejda', + 'Natalia', + 'Natasa', + 'Nelea', + 'Neli', + 'Nellea', + 'Nelli', + 'Neonila', + 'Nicolai', + 'Nicoleta', + 'Niculina', + 'Nina', + 'Nineli', + 'Nona', + 'Nonna', + 'Olena', + 'Olesea', + 'Olga', + 'Oliga', + 'Olimpiada', + 'Otilia', + 'Oxana', + 'Pantelei', + 'Parascovia', + 'Paulina', + 'Pavlina', + 'Pelaghia', + 'Polina', + 'Prascovia', + 'Rada', + 'Raisa', + 'Reghina', + 'Renata', + 'Rima', + 'Rimma', + 'Rita', + 'Rodica', + 'Romina', + 'Rosina', + 'Rotaru', + 'Ruslana', + 'Ruxanda', + 'Sabina', + 'Sanda', + 'Serafima', + 'Silvia', + 'Snejana', + 'Sofia', + 'Sorina', + 'Stela', + 'Steliana', + 'Stella', + 'Steluta', + 'Stepanida', + 'Svetlana', + 'Svitlana', + 'Taisia', + 'Tamara', + 'Tatiana', + 'Teodora', + 'Tetiana', + 'Uliana', + 'Valentina', + 'Valeria', + 'Valeriu', + 'Varvara', + 'Vasilina', + 'Vasilisa', + 'Veaceslav', + 'Vera', + 'Verginia', + 'Veronica', + 'Vica', + 'Victoria', + 'Violeta', + 'Violetta', + 'Violina', + 'Viorelia', + 'Viorica', + 'Virginia', + 'Vitalia', + 'Vitalina', + 'Vlada', + 'Vladilena', + 'Vladislava', + 'Vladlena', + 'Xenia', + 'Zina', + 'Zinaida', + 'Zinovia', + 'Zoia', + 'Zorina', +]; diff --git a/src/locales/ro_MD/person/female_prefix.ts b/src/locales/ro_MD/person/female_prefix.ts new file mode 100644 index 00000000000..200c7072c25 --- /dev/null +++ b/src/locales/ro_MD/person/female_prefix.ts @@ -0,0 +1 @@ +export default ['Dna', 'Dra']; diff --git a/src/locales/ro_MD/person/first_name.ts b/src/locales/ro_MD/person/first_name.ts new file mode 100644 index 00000000000..40a647ec054 --- /dev/null +++ b/src/locales/ro_MD/person/first_name.ts @@ -0,0 +1,8 @@ +// We don't have a generic first name list for this locale +// So simply concatenate male and female lists and remove any duplicates +// This avoids falling back to fallback locale +import { mergeArrays } from './../../../internal/merge'; +import female_first_name from './female_first_name'; +import male_first_name from './male_first_name'; + +export default mergeArrays(female_first_name, male_first_name); diff --git a/src/locales/ro_MD/person/index.ts b/src/locales/ro_MD/person/index.ts new file mode 100644 index 00000000000..2c62a3a9ce8 --- /dev/null +++ b/src/locales/ro_MD/person/index.ts @@ -0,0 +1,28 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PersonDefinition } from '../../..'; +import female_first_name from './female_first_name'; +import female_prefix from './female_prefix'; +import first_name from './first_name'; +import last_name from './last_name'; +import male_first_name from './male_first_name'; +import male_prefix from './male_prefix'; +import name_ from './name'; +import prefix from './prefix'; +import suffix from './suffix'; + +const person: PersonDefinition = { + female_first_name, + female_prefix, + first_name, + last_name, + male_first_name, + male_prefix, + name: name_, + prefix, + suffix, +}; + +export default person; diff --git a/src/locales/ro_MD/person/last_name.ts b/src/locales/ro_MD/person/last_name.ts new file mode 100644 index 00000000000..79e8e896773 --- /dev/null +++ b/src/locales/ro_MD/person/last_name.ts @@ -0,0 +1,301 @@ +export default [ + 'Ababii', + 'Abu', + 'Adam', + 'Albu', + 'Alexandru', + 'Andrei', + 'Andries', + 'Andronic', + 'Anghel', + 'Antoci', + 'Apostol', + 'Arnaut', + 'Babin', + 'Baciu', + 'Balaban', + 'Balan', + 'Baltag', + 'Bargan', + 'Bejan', + 'Bejenari', + 'Bejenaru', + 'Birca', + 'Bitca', + 'Bivol', + 'Boboc', + 'Bodrug', + 'Bogdan', + 'Boico', + 'Bondarenco', + 'Bordian', + 'Bors', + 'Borta', + 'Bostan', + 'Botan', + 'Botezatu', + 'Botnari', + 'Botnaru', + 'Braga', + 'Brinza', + 'Buga', + 'Bujor', + 'Bulat', + 'Bunescu', + 'Burduja', + 'Burlacu', + 'Buruiana', + 'Busuioc', + 'Butnaru', + 'Capatina', + 'Cara', + 'Caraman', + 'Caraus', + 'Carp', + 'Casian', + 'Catana', + 'Cazac', + 'Cazacu', + 'Ceban', + 'Cebanu', + 'Cebotari', + 'Cecan', + 'Cernei', + 'Chicu', + 'Chihai', + 'Chiriac', + 'Chirilov', + 'Chirita', + 'Cibotari', + 'Cioban', + 'Ciobanu', + 'Ciorba', + 'Ciornii', + 'Ciubotaru', + 'Ciumac', + 'Codreanu', + 'Cojocari', + 'Cojocaru', + 'Cojuhari', + 'Colesnic', + 'Condrea', + 'Constantinov', + 'Costin', + 'Cotorobai', + 'Cotruta', + 'Covalciuc', + 'Covalenco', + 'Covali', + 'Craciun', + 'Creciun', + 'Cretu', + 'Cristea', + 'Croitor', + 'Croitoru', + 'Crudu', + 'Cucos', + 'Cucu', + 'Cujba', + 'Cusnir', + 'Dabija', + 'Damian', + 'Darii', + 'David', + 'Diaconu', + 'Dodon', + 'Donica', + 'Dragan', + 'Duca', + 'Enachi', + 'Eni', + 'Erhan', + 'Esanu', + 'Filip', + 'Florea', + 'Focsa', + 'Frunza', + 'Frunze', + 'Furtuna', + 'Gaina', + 'Gangan', + 'Gavrilita', + 'Gavriliuc', + 'Gheorghita', + 'Gherman', + 'Gilca', + 'Girbu', + 'Gisca', + 'Golban', + 'Goncear', + 'Gonta', + 'Gorea', + 'Graur', + 'Grecu', + 'Grigoras', + 'Grosu', + 'Groza', + 'Gusan', + 'Gutu', + 'Guzun', + 'Hincu', + 'Iatco', + 'Ignat', + 'Iovu', + 'Isac', + 'Istrati', + 'Ivanov', + 'Ivanova', + 'Jardan', + 'Josan', + 'Lazari', + 'Leahu', + 'Lisnic', + 'Luca', + 'Luchian', + 'Lungu', + 'Lupasco', + 'Lupascu', + 'Lupu', + 'Macari', + 'Macovei', + 'Madan', + 'Malai', + 'Mamaliga', + 'Manole', + 'Marcu', + 'Mardari', + 'Marian', + 'Marin', + 'Matei', + 'Mazur', + 'Melnic', + 'Mereuta', + 'Mihailov', + 'Mihalachi', + 'Mindru', + 'Miron', + 'Mirza', + 'Mitu', + 'Mocan', + 'Mocanu', + 'Moisei', + 'Moldovan', + 'Moldovanu', + 'Morari', + 'Moraru', + 'Moroz', + 'Muntean', + 'Munteanu', + 'Musteata', + 'Nastas', + 'Neagu', + 'Negara', + 'Negru', + 'Negruta', + 'Nicolaev', + 'Nistor', + 'Novac', + 'Olari', + 'Olaru', + 'Oleinic', + 'Oprea', + 'Paladi', + 'Palii', + 'Pasat', + 'Pascal', + 'Pascari', + 'Pascaru', + 'Pavlov', + 'Petrov', + 'Pintea', + 'Pinzari', + 'Pinzaru', + 'Placinta', + 'Plamadeala', + 'Platon', + 'Plesca', + 'Popa', + 'Popescu', + 'Popov', + 'Popova', + 'Popovici', + 'Popusoi', + 'Postica', + 'Postolachi', + 'Prepelita', + 'Prisacari', + 'Prisacaru', + 'Prodan', + 'Pruteanu', + 'Puscas', + 'Racu', + 'Radu', + 'Railean', + 'Raileanu', + 'Rata', + 'Revenco', + 'Robu', + 'Roman', + 'Romanciuc', + 'Rosca', + 'Rotari', + 'Rotaru', + 'Rusnac', + 'Russu', + 'Rusu', + 'Sandu', + 'Sava', + 'Savciuc', + 'Savin', + 'Schiopu', + 'Scripnic', + 'Scurtu', + 'Scutaru', + 'Secrieru', + 'Seremet', + 'Serghei', + 'Sevcenco', + 'Sirbu', + 'Sirghi', + 'Sochirca', + 'Socolov', + 'Soltan', + 'Spataru', + 'Spinu', + 'Stavila', + 'Stirbu', + 'Stoian', + 'Stratan', + 'Stratulat', + 'Svet', + 'Talpa', + 'Taran', + 'Tataru', + 'Tatiana', + 'Tcacenco', + 'Tcaci', + 'Terzi', + 'Tofan', + 'Toma', + 'Topal', + 'Triboi', + 'Trifan', + 'Turcan', + 'Turcanu', + 'Ungureanu', + 'Untila', + 'Ursachi', + 'Ursu', + 'Uzun', + 'Vacarciuc', + 'Vartic', + 'Verdes', + 'Vicol', + 'Vieru', + 'Virlan', + 'Vizitiu', + 'Vlas', + 'Vrabie', + 'Zaharia', + 'Zaporojan', +]; diff --git a/src/locales/ro_MD/person/male_first_name.ts b/src/locales/ro_MD/person/male_first_name.ts new file mode 100644 index 00000000000..c7b6b4b89d9 --- /dev/null +++ b/src/locales/ro_MD/person/male_first_name.ts @@ -0,0 +1,217 @@ +export default [ + 'Adrian', + 'Afanasi', + 'Afanasie', + 'Ahmad', + 'Albert', + 'Alexander', + 'Alexandr', + 'Alexandru', + 'Alexei', + 'Ali', + 'Alic', + 'Amir', + 'Anatol', + 'Anatoli', + 'Anatolie', + 'Anatolii', + 'Andrei', + 'Andrian', + 'Anjela', + 'Anton', + 'Arcadi', + 'Arcadie', + 'Arcadii', + 'Artiom', + 'Artur', + 'Augustin', + 'Aurel', + 'Aurelian', + 'Aureliu', + 'Boris', + 'Calin', + 'Catalin', + 'Cezar', + 'Chiril', + 'Chirill', + 'Ciprian', + 'Constantin', + 'Constatin', + 'Cornel', + 'Corneliu', + 'Cristian', + 'Cristin', + 'Cristofor', + 'Daniel', + 'Daniil', + 'Danil', + 'Danu', + 'David', + 'Denis', + 'Dimitri', + 'Dimitrii', + 'Dinu', + 'Dmitri', + 'Dmitrii', + 'Dorel', + 'Dorian', + 'Dorin', + 'Dragomir', + 'Dragos', + 'Dumitru', + 'Edgar', + 'Eduard', + 'Efim', + 'Egor', + 'Emil', + 'Emilian', + 'Eric', + 'Eugen', + 'Eugeniu', + 'Evgheni', + 'Evghenii', + 'Feodor', + 'Filip', + 'Filipp', + 'Fiodor', + 'Florin', + 'Gabriel', + 'Gavril', + 'George', + 'Ghenadi', + 'Ghenadie', + 'Ghennadi', + 'Gheorghe', + 'Gheorghi', + 'Gheorghii', + 'Gherman', + 'Gleb', + 'Grigore', + 'Grigori', + 'Husein', + 'Iacob', + 'Iacov', + 'Ianos', + 'Iaroslav', + 'Ibrahim', + 'Igor', + 'Igori', + 'Ilia', + 'Ilie', + 'Ioan', + 'Ion', + 'Ionel', + 'Iosif', + 'Iulian', + 'Iuri', + 'Iurie', + 'Iurii', + 'Ivan', + 'Jan', + 'Laurentiu', + 'Leon', + 'Leonid', + 'Lev', + 'Liubovi', + 'Liviu', + 'Luca', + 'Lucian', + 'Lungu', + 'Mahmoud', + 'Marat', + 'Marc', + 'Marcel', + 'Marian', + 'Marin', + 'Marius', + 'Maxim', + 'Mihai', + 'Mihail', + 'Mircea', + 'Miroslav', + 'Mohamad', + 'Mohamed', + 'Muhammad', + 'Mustafa', + 'Nicanor', + 'Nicolae', + 'Nicolai', + 'Nicolaie', + 'Nicon', + 'Nicu', + 'Octavian', + 'Oleg', + 'Oleksandr', + 'Pantelei', + 'Pavel', + 'Petru', + 'Piotr', + 'Radion', + 'Radislav', + 'Radu', + 'Renat', + 'Robert', + 'Rodion', + 'Roman', + 'Romeo', + 'Rostislav', + 'Ruslan', + 'Rustam', + 'Said', + 'Sandu', + 'Sava', + 'Savva', + 'Seghei', + 'Semion', + 'Serafim', + 'Sergei', + 'Sergey', + 'Serghei', + 'Sergiu', + 'Silvia', + 'Silviu', + 'Simion', + 'Spiridon', + 'Stanislav', + 'Stefan', + 'Stela', + 'Stelian', + 'Stepan', + 'Sveatoslav', + 'Svetlana', + 'Svetoslav', + 'Taras', + 'Teodor', + 'Timofei', + 'Toma', + 'Traian', + 'Trofim', + 'Tudor', + 'Vadim', + 'Valentin', + 'Valeri', + 'Valerii', + 'Valeriu', + 'Vasile', + 'Vasili', + 'Vasilie', + 'Veaceslav', + 'Veceaslav', + 'Veceslav', + 'Veniamin', + 'Vergiliu', + 'Victor', + 'Viorel', + 'Virgiliu', + 'Vitali', + 'Vitalie', + 'Vitalii', + 'Vlad', + 'Vladimer', + 'Vladimir', + 'Vladislav', + 'Vladlen', + 'Vsevolod', + 'Zahar', + 'Zaharia', +]; diff --git a/src/locales/ro_MD/person/male_prefix.ts b/src/locales/ro_MD/person/male_prefix.ts new file mode 100644 index 00000000000..bd26c34655a --- /dev/null +++ b/src/locales/ro_MD/person/male_prefix.ts @@ -0,0 +1 @@ +export default ['Dl', 'Dra']; diff --git a/src/locales/ro_MD/person/name.ts b/src/locales/ro_MD/person/name.ts new file mode 100644 index 00000000000..74123621821 --- /dev/null +++ b/src/locales/ro_MD/person/name.ts @@ -0,0 +1,7 @@ +export default [ + { value: '{{person.firstName}} {{person.lastName}}', weight: 1 }, + { + value: '{{person.prefix}} {{person.firstName}} {{person.lastName}}', + weight: 1, + }, +]; diff --git a/src/locales/ro_MD/person/prefix.ts b/src/locales/ro_MD/person/prefix.ts new file mode 100644 index 00000000000..cb1d846e0d6 --- /dev/null +++ b/src/locales/ro_MD/person/prefix.ts @@ -0,0 +1,5 @@ +import { mergeArrays } from './../../../internal/merge'; +import female_prefix from './female_prefix'; +import male_prefix from './male_prefix'; + +export default mergeArrays(female_prefix, male_prefix); diff --git a/src/locales/ro_MD/person/suffix.ts b/src/locales/ro_MD/person/suffix.ts new file mode 100644 index 00000000000..7646bbd17d0 --- /dev/null +++ b/src/locales/ro_MD/person/suffix.ts @@ -0,0 +1 @@ +export default null; diff --git a/src/locales/ro_MD/phone_number/formats.ts b/src/locales/ro_MD/phone_number/formats.ts new file mode 100644 index 00000000000..e1a6d396d09 --- /dev/null +++ b/src/locales/ro_MD/phone_number/formats.ts @@ -0,0 +1,12 @@ +export default [ + '0220#####', + '0221#####', + '0222#####', + '0223#####', + '0224#####', + '0225#####', + '0226#####', + '0227#####', + '0228#####', + '0229#####', +]; diff --git a/src/locales/ro_MD/phone_number/index.ts b/src/locales/ro_MD/phone_number/index.ts new file mode 100644 index 00000000000..1d7f77f10b9 --- /dev/null +++ b/src/locales/ro_MD/phone_number/index.ts @@ -0,0 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinition } from '../../..'; +import formats from './formats'; + +const phone_number: PhoneNumberDefinition = { + formats, +}; + +export default phone_number; diff --git a/test/all_functional.spec.ts b/test/all_functional.spec.ts index 941ac63b558..2035f32e932 100644 --- a/test/all_functional.spec.ts +++ b/test/all_functional.spec.ts @@ -29,8 +29,8 @@ const BROKEN_LOCALE_METHODS = { companySuffix: ['az'], }, location: { - state: ['az', 'nb_NO', 'sk'], - stateAbbr: ['sk'], + state: ['az', 'nb_NO', 'ro_MD', 'sk'], + stateAbbr: ['ro_MD', 'sk'], streetName: [ 'af_ZA', 'ar', @@ -84,7 +84,7 @@ const BROKEN_LOCALE_METHODS = { }, person: { prefix: ['az', 'id_ID', 'ru', 'zh_CN', 'zh_TW'], - suffix: ['az', 'it', 'mk', 'pt_PT', 'ru'], + suffix: ['az', 'it', 'mk', 'pt_PT', 'ro_MD', 'ru'], jobArea: ['ar', 'fr', 'fr_BE', 'fr_CA', 'fr_CH', 'fr_LU'], jobDescriptor: ['ar', 'fr', 'fr_BE', 'fr_CA', 'fr_CH', 'fr_LU'], jobTitle: ['ar', 'fr', 'fr_BE', 'fr_CA', 'fr_CH', 'fr_LU', 'ur'],