diff --git a/docs/guide/localization.md b/docs/guide/localization.md index 1d7a54818b3..f6858378291 100644 --- a/docs/guide/localization.md +++ b/docs/guide/localization.md @@ -43,6 +43,7 @@ All locales together are around 5 MB in size. | de | German | | de_AT | German (Austria) | | de_CH | German (Switzerland) | +| dv | Dhivehi | | el | Greek | | en | English | | en_AU | English (Australia) | diff --git a/src/locale/dv.ts b/src/locale/dv.ts new file mode 100644 index 00000000000..620cb2b996e --- /dev/null +++ b/src/locale/dv.ts @@ -0,0 +1,17 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ + +import { Faker } from '../faker'; +import dv from '../locales/dv'; +import en from '../locales/en'; + +export const faker = new Faker({ + locale: 'dv', + localeFallback: 'en', + locales: { + dv, + en, + }, +}); diff --git a/src/locales/dv/cell_phone/formats.ts b/src/locales/dv/cell_phone/formats.ts new file mode 100644 index 00000000000..4343295da98 --- /dev/null +++ b/src/locales/dv/cell_phone/formats.ts @@ -0,0 +1,8 @@ +export default [ + '7######', + '9######', + '+9607######', + '+9609######', + '+960 7######', + '+960 9######', +]; diff --git a/src/locales/dv/cell_phone/index.ts b/src/locales/dv/cell_phone/index.ts new file mode 100644 index 00000000000..337d77f0bbb --- /dev/null +++ b/src/locales/dv/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/dv/color/human.ts b/src/locales/dv/color/human.ts new file mode 100644 index 00000000000..679088f3bfe --- /dev/null +++ b/src/locales/dv/color/human.ts @@ -0,0 +1,17 @@ +export default [ + 'ރަތް', + 'ފެހިކުލަ', + 'ނޫ', + 'ރީނދޫކުލަ', + 'ނާރިނގުކުލަ', + 'ދަނބުކުލަ', + 'މަޑުފެހި', + 'ވިލުނޫ', + 'ހުދު', + 'ކަޅު', + 'އަޅިކުލަ', + 'ފިޔާތޮށިކުލަ', + 'މުށިކުލަ', + 'ރަންކުލަ', + 'ރިހިކުލަ', +]; diff --git a/src/locales/dv/color/index.ts b/src/locales/dv/color/index.ts new file mode 100644 index 00000000000..79cc39f02f3 --- /dev/null +++ b/src/locales/dv/color/index.ts @@ -0,0 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { ColorDefinitions } from '../../..'; +import human from './human'; + +const color: ColorDefinitions = { + human, +}; + +export default color; diff --git a/src/locales/dv/company/adjective.ts b/src/locales/dv/company/adjective.ts new file mode 100644 index 00000000000..797f2fca928 --- /dev/null +++ b/src/locales/dv/company/adjective.ts @@ -0,0 +1,26 @@ +export default [ + 'ބޮޑު', + 'ކުޑަ', + 'ހަޑި', + 'ރީތި', + 'ހޫނު', + 'ފިނި', + 'މަޖާ', + 'ފޫހި', + 'ހުތުރު', + 'އަލި', + 'އަނދިރި', + 'ހިރަފުސް', + 'ސާފު', + 'މޮޅު', + 'ދަށް', + 'ހުށިޔާރު', + 'ނުރައްކާ', + 'ސަމާލު', + 'ގޮތްކުޑަ', + 'ފުރިހަމަ', + 'އެއްވަނަ', + 'ދެވަނަ', + 'ތިންވަނަ', + 'ނުފެންނަ', +]; diff --git a/src/locales/dv/company/index.ts b/src/locales/dv/company/index.ts new file mode 100644 index 00000000000..67d294c9e4c --- /dev/null +++ b/src/locales/dv/company/index.ts @@ -0,0 +1,18 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import adjective from './adjective'; +import name_patterns from './name_patterns'; +import noun from './noun'; +import suffix from './suffix'; + +const company: CompanyDefinitions = { + adjective, + name_patterns, + noun, + suffix, +}; + +export default company; diff --git a/src/locales/dv/company/name_patterns.ts b/src/locales/dv/company/name_patterns.ts new file mode 100644 index 00000000000..5646de5bdfa --- /dev/null +++ b/src/locales/dv/company/name_patterns.ts @@ -0,0 +1,7 @@ +export default [ + '{{person.first_name}} {{company.suffix}}', + '{{person.last_name}} {{company.suffix}}', + '{{person.last_name}} & {{person.last_name}} {{company.noun}} {{company.suffix}}', + '{{company.adjective}} {{company.noun}} {{company.suffix}}', + '{{company.adjective}} {{person.last_name}} {{person.last_name}} {{company.suffix}}', +]; diff --git a/src/locales/dv/company/noun.ts b/src/locales/dv/company/noun.ts new file mode 100644 index 00000000000..48e513028eb --- /dev/null +++ b/src/locales/dv/company/noun.ts @@ -0,0 +1,60 @@ +export default [ + 'ވަޑައިންގެ', + 'ހަރުގެ', + 'ގުދަން', + 'ގަރާޖު', + 'ކޮންޓެއިނަރު', + 'ބޮއްކުރާ', + 'ދޯނި', + 'ބައްރެލި', + 'މަނަވަރު', + 'މަތިންދާބޯޓު', + 'ހެލިކޮޕްޓަރު', + 'ރޮކެޓު', + 'ކަރުދާސް', + 'ފުޅި', + 'ބިއްލޫރި', + 'ހޮޅުއަށި', + 'ޕުލާސްޓިކު', + 'ފޮތި', + 'ދަގަނޑު', + 'ލަކުޑި', + 'ގޮނޑު', + 'ގޮނޑުދޮށް', + 'ރުއް', + 'ގަސް', + 'މޫ', + 'ބުޅާ', + 'ކަނބިލި', + 'މާކަނާ', + 'އިރުވާހުދު', + 'ރަތަފަ', + 'މާރަނގަ', + 'ހަރުފަ', + 'މަކުނު', + 'ކާޅު', + 'ކުކުޅު', + 'މަސް', + 'ގެރި', + 'ބަކަރި', + 'ފަރުމަސް', + 'ކަނޑުމަސް', + 'ބޮޑުމަސް', + 'ކުޑަމަސް', + 'ގޯތި', + 'މޫދު', + 'ކަނޑު', + 'ވިލު', + 'ފަޅު', + 'ގިރި', + 'ފެން', + 'ގަނޑުފެން', + 'މުރަނގަ', + 'ހިރުނދު', + 'ދިއްގާ', + 'ނިކަ', + 'މަގޫ', + 'އަތަ', + 'މޭވާ', + 'ތަރުކާރި', +]; diff --git a/src/locales/dv/company/suffix.ts b/src/locales/dv/company/suffix.ts new file mode 100644 index 00000000000..68eaea685e9 --- /dev/null +++ b/src/locales/dv/company/suffix.ts @@ -0,0 +1,8 @@ +export default [ + 'ޕުރައިވެޓް ލިމިޓެޑް', + '.ޕވޓ. ލޓޑ', + 'ޕަބްލިކް ލިމިޓެޑް', + '.ޕބލކ. ލޓޑ', + 'ގުރޫޕް', + 'އޮފީސް', +]; diff --git a/src/locales/dv/date/index.ts b/src/locales/dv/date/index.ts new file mode 100644 index 00000000000..cd296b42a45 --- /dev/null +++ b/src/locales/dv/date/index.ts @@ -0,0 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; +import month from './month'; +import weekday from './weekday'; + +const date: DateDefinitions = { + month, + weekday, +}; + +export default date; diff --git a/src/locales/dv/date/month.ts b/src/locales/dv/date/month.ts new file mode 100644 index 00000000000..ece26d01855 --- /dev/null +++ b/src/locales/dv/date/month.ts @@ -0,0 +1,54 @@ +export default { + wide: [ + 'ޖަނަވަރީ', + 'ފެބުރުވަރީ', + 'މާރިޗު', + 'އެޕްރީލް', + 'މޭ', + 'ޖޫން', + 'ޖުލައި', + 'އޮގަސްޓު', + 'ސެޕްޓެންބަރު', + 'އޮކްޓޫބަރު', + 'ނޮވެންބަރެ', + 'ޑިސެންބަރު', + 'މުޙައްރަމް', + 'ޞަފަރު', + 'ރަބީޢުލްއައްވަލް', + 'ރަބީޢުލްއާޚިރު', + 'ޖުމާދަލްއޫލާ', + 'ޖުމާދަލްއާޚިރު', + 'ރަޖަބު', + 'ޝަޢުބާން', + 'ރަމަޞާން', + 'ޝައްވާލް', + 'ޛުލްޤައިދާ', + 'ޛުލްޙިއްޖާ', + ], + abbr: [ + 'ޖަނަވަރީ', + 'ފެބުރުވަރީ', + 'މާރިޗު', + 'އެޕްރީލް', + 'މޭ', + 'ޖޫން', + 'ޖުލައި', + 'އޮގަސްޓު', + 'ސެޕްޓެންބަރު', + 'އޮކްޓޫބަރު', + 'ނޮވެންބަރެ', + 'ޑިސެންބަރު', + 'މުޙައްރަމް', + 'ޞަފަރު', + 'ރަބީޢުލްއައްވަލް', + 'ރަބީޢުލްއާޚިރު', + 'ޖުމާދަލްއޫލާ', + 'ޖުމާދަލްއާޚިރު', + 'ރަޖަބު', + 'ޝަޢުބާން', + 'ރަމަޞާން', + 'ޝައްވާލް', + 'ޛުލްޤައިދާ', + 'ޛުލްޙިއްޖާ', + ], +}; diff --git a/src/locales/dv/date/weekday.ts b/src/locales/dv/date/weekday.ts new file mode 100644 index 00000000000..b74cb637516 --- /dev/null +++ b/src/locales/dv/date/weekday.ts @@ -0,0 +1,20 @@ +export default { + wide: [ + 'އާދީއްތަ', + 'ހޯމަ', + 'އަންގާރަ', + 'ބުދަ', + 'ބުރާސްފަތި', + 'ހުކުރު', + 'ހޮނިހިރު', + ], + abbr: [ + 'އާދީއްތަ', + 'ހޯމަ', + 'އަންގާރަ', + 'ބުދަ', + 'ބުރާސްފަތި', + 'ހުކުރު', + 'ހޮނިހިރު', + ], +}; diff --git a/src/locales/dv/index.ts b/src/locales/dv/index.ts new file mode 100644 index 00000000000..9ba28b8a4c4 --- /dev/null +++ b/src/locales/dv/index.ts @@ -0,0 +1,27 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LocaleDefinition } from '../..'; +import cell_phone from './cell_phone'; +import color from './color'; +import company from './company'; +import date from './date'; +import location from './location'; +import lorem from './lorem'; +import person from './person'; +import phone_number from './phone_number'; + +const dv: LocaleDefinition = { + title: 'Dhivehi', + cell_phone, + color, + company, + date, + location, + lorem, + person, + phone_number, +}; + +export default dv; diff --git a/src/locales/dv/location/city.ts b/src/locales/dv/location/city.ts new file mode 100644 index 00000000000..b41f5317cee --- /dev/null +++ b/src/locales/dv/location/city.ts @@ -0,0 +1,8 @@ +export default [ + '{{location.city_prefix}} {{company.noun}}{{location.city_suffix}}', + '{{company.adjective}}{{company.noun}}{{location.city_suffix}}', + '{{location.city_prefix}} {{person.first_name}}', + '{{person.first_name}}{{location.city_suffix}}', + '{{person.last_name}}{{location.city_suffix}}', + '{{location.city_name}}', +]; diff --git a/src/locales/dv/location/city_name.ts b/src/locales/dv/location/city_name.ts new file mode 100644 index 00000000000..5b2f9616060 --- /dev/null +++ b/src/locales/dv/location/city_name.ts @@ -0,0 +1,21 @@ +export default [ + 'ރަސްގެ', + 'ބުޅާ', + 'ކާށި', + 'ކުރުނބާ', + 'މަޑި', + 'ކޯވަިމަސް', + 'ބޮޑުމަސް', + 'ކަނު', + 'ބޮޑު', + 'ވައި', + 'އަލަނާސި', + 'އަނބު', + 'ކަރާ', + 'ބަށި', + 'ޗިޗަންޑާ', + 'ބޯށި', + 'ތޮޅި', + 'ދޫނި', + 'ކެކުރި', +]; diff --git a/src/locales/dv/location/city_prefix.ts b/src/locales/dv/location/city_prefix.ts new file mode 100644 index 00000000000..70a89e51d9e --- /dev/null +++ b/src/locales/dv/location/city_prefix.ts @@ -0,0 +1 @@ +export default ['އިރުމަތި', 'ހުޅަނގު', 'ދެކުނު', 'އުތުރު', 'ދެ']; diff --git a/src/locales/dv/location/city_suffix.ts b/src/locales/dv/location/city_suffix.ts new file mode 100644 index 00000000000..4fbed461c31 --- /dev/null +++ b/src/locales/dv/location/city_suffix.ts @@ -0,0 +1 @@ +export default ['ފުށި', 'ދޫ', 'ފަރު', 'ރަށް', 'ކޮޑި']; diff --git a/src/locales/dv/location/default_country.ts b/src/locales/dv/location/default_country.ts new file mode 100644 index 00000000000..dea3d3e721f --- /dev/null +++ b/src/locales/dv/location/default_country.ts @@ -0,0 +1 @@ +export default ['ދިވެހިރާއްޖެ']; diff --git a/src/locales/dv/location/index.ts b/src/locales/dv/location/index.ts new file mode 100644 index 00000000000..d022fc52ee8 --- /dev/null +++ b/src/locales/dv/location/index.ts @@ -0,0 +1,26 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LocationDefinitions } from '../../..'; +import city from './city'; +import city_name from './city_name'; +import city_prefix from './city_prefix'; +import city_suffix from './city_suffix'; +import default_country from './default_country'; +import postcode from './postcode'; +import street from './street'; +import street_suffix from './street_suffix'; + +const location: LocationDefinitions = { + city, + city_name, + city_prefix, + city_suffix, + default_country, + postcode, + street, + street_suffix, +}; + +export default location; diff --git a/src/locales/dv/location/postcode.ts b/src/locales/dv/location/postcode.ts new file mode 100644 index 00000000000..db2bcfedae5 --- /dev/null +++ b/src/locales/dv/location/postcode.ts @@ -0,0 +1 @@ +export default ['#####']; diff --git a/src/locales/dv/location/street.ts b/src/locales/dv/location/street.ts new file mode 100644 index 00000000000..e9f1bcf2362 --- /dev/null +++ b/src/locales/dv/location/street.ts @@ -0,0 +1,5 @@ +export default [ + '{{person.first_name}} {{location.street_suffix}}', + '{{person.last_name}} {{location.street_suffix}}', + '{{company.adjective}} {{company.noun}} {{location.street_suffix}}', +]; diff --git a/src/locales/dv/location/street_suffix.ts b/src/locales/dv/location/street_suffix.ts new file mode 100644 index 00000000000..c3fff1dabf4 --- /dev/null +++ b/src/locales/dv/location/street_suffix.ts @@ -0,0 +1 @@ +export default ['ހިނގުން', 'މަގު', 'ގޯޅި']; diff --git a/src/locales/dv/lorem/index.ts b/src/locales/dv/lorem/index.ts new file mode 100644 index 00000000000..b72a2355c69 --- /dev/null +++ b/src/locales/dv/lorem/index.ts @@ -0,0 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; +import supplemental from './supplemental'; +import words from './words'; + +const lorem: LoremDefinitions = { + supplemental, + words, +}; + +export default lorem; diff --git a/src/locales/dv/lorem/supplemental.ts b/src/locales/dv/lorem/supplemental.ts new file mode 100644 index 00000000000..3c69e3f6e74 --- /dev/null +++ b/src/locales/dv/lorem/supplemental.ts @@ -0,0 +1,43 @@ +export default [ + 'ޓޫރިޒަމް', + 'ދާއިރާ', + 'ބޮޑު', + 'އިންގިލާބެއް', + 'ގޮތުގައި', + 'ތަރައްގީ', + 'ކުރާ', + 'ވިދާޅުވެއްޖެ', + 'އެއްގޮތަށް', + 'ރިސޯޓުތަކާ', + 'މުޅިން', + 'ފެންވަރުގެ', + 'ކުންފުންޏާއި', + 'ނާގޯށި', + 'ޕަސެންޓެވެ', + 'ޖޮއިންޓް', + 'ވެންޗާއެއްގެ', + 'ފުރަތަމަ', + 'މިލިއަން', + 'ފަހުރުވެރިވާ', + 'އެހެނިހެން', + 'ކަންކަން', + 'ޖަލާލުއްދީން', + 'ސިޓީ', + 'ޕްރިންސިޕަލް', + 'ތަކެތި', + 'ކުޑަކުދިންނަށް', + 'އަހައްމިޔަތު', + 'މުސްތަގުބަލަށް', + 'ވަސީލަތްތަކާއި', + 'ވެރިކަން', + 'ގެއްލުންނުވާ', + 'ފުރުސަތު', + 'ކަންބޮޑުވުން', + 'އެންމެ', + 'ތަންފުކެއް', + 'އިމުގެ', + 'މިކަންކުރަން', + 'ފޯޅަވަހީ', + 'ބައުންޑަރީ', + 'އިނގިރޭސިވިލާތް', +]; diff --git a/src/locales/dv/lorem/words.ts b/src/locales/dv/lorem/words.ts new file mode 100644 index 00000000000..3c69e3f6e74 --- /dev/null +++ b/src/locales/dv/lorem/words.ts @@ -0,0 +1,43 @@ +export default [ + 'ޓޫރިޒަމް', + 'ދާއިރާ', + 'ބޮޑު', + 'އިންގިލާބެއް', + 'ގޮތުގައި', + 'ތަރައްގީ', + 'ކުރާ', + 'ވިދާޅުވެއްޖެ', + 'އެއްގޮތަށް', + 'ރިސޯޓުތަކާ', + 'މުޅިން', + 'ފެންވަރުގެ', + 'ކުންފުންޏާއި', + 'ނާގޯށި', + 'ޕަސެންޓެވެ', + 'ޖޮއިންޓް', + 'ވެންޗާއެއްގެ', + 'ފުރަތަމަ', + 'މިލިއަން', + 'ފަހުރުވެރިވާ', + 'އެހެނިހެން', + 'ކަންކަން', + 'ޖަލާލުއްދީން', + 'ސިޓީ', + 'ޕްރިންސިޕަލް', + 'ތަކެތި', + 'ކުޑަކުދިންނަށް', + 'އަހައްމިޔަތު', + 'މުސްތަގުބަލަށް', + 'ވަސީލަތްތަކާއި', + 'ވެރިކަން', + 'ގެއްލުންނުވާ', + 'ފުރުސަތު', + 'ކަންބޮޑުވުން', + 'އެންމެ', + 'ތަންފުކެއް', + 'އިމުގެ', + 'މިކަންކުރަން', + 'ފޯޅަވަހީ', + 'ބައުންޑަރީ', + 'އިނގިރޭސިވިލާތް', +]; diff --git a/src/locales/dv/person/female_first_name.ts b/src/locales/dv/person/female_first_name.ts new file mode 100644 index 00000000000..9ea2a4a2946 --- /dev/null +++ b/src/locales/dv/person/female_first_name.ts @@ -0,0 +1,51 @@ +export default [ + 'ރަމްލާ', + 'ހިންދު', + 'ޙަފްޞާ', + 'ޚަދީޖާ', + 'ޒައިނަބު', + 'ޞަފިއްޔާ', + 'ޢާއިޝާ', + 'މައިމޫނާ', + 'ޖުވައިރިއްޔާ', + 'ސައުދާ', + 'މާރިޔާ', + 'ރުޤައްޔާ', + 'ފާޠިމާ', + 'އުއްމުކުލްޘޫމޮ', + 'ޙައްވާ', + 'ސާރާ', + 'ހާޖަރު', + 'މަރްޔަމޮ', + 'ޒުލައިޚާ', + 'އާސިޔާ', + 'ބަލްޤީސް', + 'އާމިނަތު', + 'އަސްމާއު', + 'އުމާމާ', + 'ބަރްކާ', + 'ޖަމީލާ', + 'ޙަސްނާއު', + 'ޙަލީމާ', + 'ޚަވްލާ', + 'ޚައިރާ', + 'ރުމައިޞާއު', + 'ރުފައިދާ', + 'ރަޤީޤާ', + 'ސަޢާދު', + 'ސަލްމާ', + 'ސުލައިމް', + 'ސުމައްޔާ', + 'ޝަހީދާ', + 'ޝިފާ', + 'ޢާތިކާ', + 'ޤައިލާ', + 'ލަޔާލީ', + 'ކުލްޘޫމް', + 'މުސްލިމާ', + 'ނަސީބާ', + 'ނަފީސާ', + 'ނަވާރު', + 'ހާނީ', + 'ހުނައިދާ', +]; diff --git a/src/locales/dv/person/female_last_name.ts b/src/locales/dv/person/female_last_name.ts new file mode 100644 index 00000000000..ec6a775eb74 --- /dev/null +++ b/src/locales/dv/person/female_last_name.ts @@ -0,0 +1,250 @@ +export default [ + 'އިބާ', + 'އަޘްމާރު', + 'އަޘީލާ', + 'އިރާދާ', + 'އިރުތިޖާޢު', + 'އަރުވާ', + 'އުމުނިއްޔާ', + 'އަންބާ', + 'އަންޖަލް', + 'އުމަރާ', + 'ބަދުރިއްޔާ', + 'ބަރުޒާ', + 'ބަޝޫޝޤް', + 'ބަތްނާ', + 'ބަޝާޝާ', + 'ބާޛިލާ', + 'ބަތޫލް', + 'ބަރުޢުމް', + 'ބަޠްޙާއު', + 'ބަހިއްޔު', + 'ތާއްމާ', + 'ތަބައްރުޢު', + 'ތަޙައްޝުމު', + 'ތަޛްހީބު', + 'ތަޒައްޔުން', + 'ތަޣްރީދު', + 'ތިމްރާޙަތު', + 'ޘަބްރާ', + 'ޘަރާ', + 'ޘުރައްޔާ', + 'ޘަވާ', + 'ޘާނީ', + 'ޖާސިމާ', + 'ޖިދާ', + 'ޖަސާރާ', + 'ޖަލްވާ', + 'ޖުމްލާނާ', + 'ޖުނައިނާ', + 'ޖައިދާނާ', + 'ޖުމާއު', + 'ޙާރިސާ', + 'ޙިބާއު', + 'ޙަބީބާ', + 'ޙަދްވާ', + 'ޙަޝްމާ', + 'ޙަޞްނާ', + 'ޙަމްރާއު', + 'ޙިންނާ', + 'ޙަނާން', + 'ޚާލިޞާ', + 'ޚަދްރާ', + 'ޚުލަސާ', + 'ޚަވްޟާ', + 'ޚަވްލީ', + 'ޚަވްދު', + 'ދާއިޙާ', + 'ދާޖިނާ', + 'ދައުމާއު', + 'ދުއްރުން', + 'ދަރްޤާ', + 'ދަފީނާ', + 'ދަލޫފް', + 'ދާނިޔާ', + 'ޛާބިރާ', + 'ޛަބާރާ', + 'ޛަރާ', + 'ޛިކްރާ', + 'ޛަމާމަތު', + 'ރުއުޔާ', + 'ރާބިޙާ', + 'ރާސިޙާ', + 'ރާފިޢާ', + 'ރާމާ', + 'ރަބާބާ', + 'ރަޖާ', + 'ރަޙޫލް', + 'ރައްސާމާ', + 'ރުޝްދިއްޔާ', + 'ރަފާހިއްޔާ', + 'ރުފައިދާ', + 'ރައުޙިއްޔާ', + 'ރަވްނަޤް', + 'ޒާޚިރާ', + 'ޒާހް', + 'ޒަބަރުޖަދް', + 'ޒަޖާ', + 'ޒުރްޤުމް', + 'ޒަރްނަޤާ', + 'ޒުމުއްރުދާ', + 'ޒާޚިޒުންބުޤާރާ', + 'ޒުންބުޤާ', + 'ޒައިޒަފޫން', + 'ޒިދުނީ', + 'ރާޖިޔާ', + 'ރަޖާޙާ', + 'ރިދާފާ', + 'ރިޢާ', + 'ރަކީނާ', + 'ރުމައިޒާ', + 'ރަހީނާ', + 'ޒާރާ', + 'ޒުބައިދާ', + 'ޒަރްކަޝާ', + 'ޒަޢުފަރާނާ', + 'ސުއުދާ', + 'ސާބިޤާ', + 'ސާމިޤާ', + 'ސުބުޙާތު', + 'ސަޙަރު', + 'ސަޢުދިއްޔާ', + 'ސަލްސަބީލް', + 'ސުމައިޙާ', + 'ސުންދުސް', + 'ސަނަމް', + 'ޝާއިޤާ', + 'ޝާރިޔާ', + 'ޝަބާބު', + 'ޝަޖިއްޔާ', + 'ޝަރްސާއު', + 'ޝަރްޤިއްޔާ', + 'ޝުޢާޢު', + 'ޝަފްޝާފް', + 'ޝަލަބިއްޔާ', + 'ޝަމަރުދަލް', + 'ޝަމްސާ', + 'ޝިންޝިނާ', + 'ޞާއިބާ', + 'ޞާފީނާޒް', + 'ޞަބިއްޔާ', + 'ޞުބައިޙާ', + 'ޞިއްދީޤާ', + 'ޞިންވާން', + 'ޟާޙިޔާ', + 'ޟާމިނަތު', + 'ޟުޙާ', + 'ޟިފާފް', + 'ޟިޔާ', + 'ތާއިޢާ', + 'ޠާހިރާ', + 'ޠަރޫބު', + 'ޠުލްސާ', + 'ޠުމޫޙާ', + 'ޠައްޔިބާ', + 'ޡާފިރާ', + 'ޡަމްޔާ', + 'ޡުއްލާ', + 'ޡަހީރާ', + 'ޢާއިދާ', + 'ޢާޖިލާ', + 'ޢާޤިބާ', + 'ޢާލިޔާ', + 'ޢަބީރު', + 'ޢުތުބާ', + 'ޢަދުލިއްޔާ', + 'ޢަޛްރާ', + 'ޢަރޫޝާ', + 'ޢައްޒާ', + 'ޢަޠާޔާ', + 'ޢަފާފާ', + 'ޢަލާނިޔާ', + 'ޢަންނާބު', + 'ޢަންބަރާ', + 'ޢަންދަލީބު', + 'ޢަލާނާ', + 'ޣާދާ', + 'ޣާނީ', + 'ޣާޔާ', + 'ޣިނާ', + 'ޣީދު', + 'ޣީރާ', + 'ފާއިޒާ', + 'ފާރީހާން', + 'ފަތުޙިއްޔާ', + 'ފަރާއިދު', + 'ފިރްޔާލް', + 'ފުރައިސާ', + 'ފިޠްރިއްޔާ', + 'ފުނޫން', + 'ފުހައިދާ', + 'ފައްވާޙާ', + 'ފައުޤިއްޔާ', + 'ފައިނާން', + 'ޤާނިތު', + 'ޤަބްސާ', + 'ޤުޘަމް', + 'ޤުދުވާ', + 'ޤިޠާފް', + 'ޤުމްރިއްޔާ', + 'ޤަމީން', + 'ކާއިނާ', + 'ކާސިބާ', + 'ކާޙިލާ', + 'ކާފިޔާ', + 'ކަބީރާ', + 'ކަރާއިމް', + 'ކުރައިމާން', + 'ކިފާޔާ', + 'ކުލްޘޫމް', + 'ކިނާނާ', + 'ކަންޒު', + 'ލުއުލުއު', + 'ލުބާބާ', + 'ލުއްޖާ', + 'ލަސަން', + 'ލުބާ', + 'ލިޔާނާ', + 'މުއުމިނާ', + 'މުއުނިސާ', + 'މާހާ', + 'މާހީ', + 'މާސާ', + 'މާޝީ', + 'މާވީ', + 'މަދާ', + 'މަރްހޫބާ', + 'މުސްކާ', + 'މަލަދު', + 'މުނާ', + 'މީފާ', + 'ނާއިފާ', + 'ނާލާ', + 'ނާހީ', + 'ނާވީ', + 'ނުބްހާ', + 'ނަޖާ', + 'ނަޖްމާ', + 'ނުޚްބާ', + 'ނަރްޖިސް', + 'ނޫރުލްހުދާ', + 'ވާޙާ', + 'ވިޖްދާން', + 'ވުސްޢާ', + 'ވަޝީކު', + 'ވަޞްފާ', + 'ވަހިއްޔާ', + 'ހާދިއާ', + 'ހާނީ', + 'ހިބާ', + 'ހުދާ', + 'ހަނާ', + 'ހިންދާމް', + 'ހޫނާ', + 'ހައިނަމާ', + 'ޔާސިރާ', + 'ޔާޤޫތު', + 'ޔަޤްޡާ', + 'ޔަމްނާ', + 'ޔަޝްމް', +]; diff --git a/src/locales/dv/person/first_name.ts b/src/locales/dv/person/first_name.ts new file mode 100644 index 00000000000..6926a090728 --- /dev/null +++ b/src/locales/dv/person/first_name.ts @@ -0,0 +1,4 @@ +import female_first_name from './female_first_name'; +import male_first_name from './male_first_name'; + +export default [...new Set([...female_first_name, ...male_first_name])]; diff --git a/src/locales/dv/person/index.ts b/src/locales/dv/person/index.ts new file mode 100644 index 00000000000..81661b02408 --- /dev/null +++ b/src/locales/dv/person/index.ts @@ -0,0 +1,28 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PersonDefinitions } from '../../..'; +import female_first_name from './female_first_name'; +import female_last_name from './female_last_name'; +import first_name from './first_name'; +import last_name from './last_name'; +import male_first_name from './male_first_name'; +import male_last_name from './male_last_name'; +import name_ from './name'; +import prefix from './prefix'; +import sex from './sex'; + +const person: PersonDefinitions = { + female_first_name, + female_last_name, + first_name, + last_name, + male_first_name, + male_last_name, + name: name_, + prefix, + sex, +}; + +export default person; diff --git a/src/locales/dv/person/last_name.ts b/src/locales/dv/person/last_name.ts new file mode 100644 index 00000000000..0ce6d456740 --- /dev/null +++ b/src/locales/dv/person/last_name.ts @@ -0,0 +1,4 @@ +import female_last_name from './female_last_name'; +import male_last_name from './male_last_name'; + +export default [...new Set([...female_last_name, ...male_last_name])]; diff --git a/src/locales/dv/person/male_first_name.ts b/src/locales/dv/person/male_first_name.ts new file mode 100644 index 00000000000..ec1214a88c7 --- /dev/null +++ b/src/locales/dv/person/male_first_name.ts @@ -0,0 +1,16 @@ +export default [ + 'އާދަމް', + 'އިބްރާހީމް', + 'އިލްޔާސް', + 'އިސްމާޢީލް', + 'ޢީސާ', + 'އަބޫބަކްރު', + 'އަލީ', + 'އުސާމާ', + 'ދާއޫދު', + 'ޢަޠާ', + 'ޤުދާސް', + 'މުޙައްމަދު', + 'މޫސާ', + 'ޔޫސުފް', +]; diff --git a/src/locales/dv/person/male_last_name.ts b/src/locales/dv/person/male_last_name.ts new file mode 100644 index 00000000000..9bf5f935eeb --- /dev/null +++ b/src/locales/dv/person/male_last_name.ts @@ -0,0 +1,114 @@ +export default [ + 'އަކްޙަލް', + 'އަޘްހަރު', + 'ބުރްހާން', + 'ބާޤީ', + 'ބުހްލޫލް', + 'ބަޝޫޝް', + 'ތަރަފް', + 'ތައްމާމް', + 'ތުކްލާން', + 'ޘަވިއްޔު', + 'ޘާޣިމް', + 'ޘަރިއްޔު', + 'ޖާބިރު', + 'ޖާސިމް', + 'ޖަޛަލް', + 'ޖުސުމް', + 'ޖުންދު', + 'ޙާބިސް', + 'ޙާފިދު', + 'ޙަބީބު', + 'ޙަޘީޘް', + 'ޙުސްނީ', + 'ޚާބިސް', + 'ޚާފިޤާނި', + 'ޚިތާމް', + 'ޚައިރީ', + 'ދާރިބު', + 'ދައްރާކު', + 'ދިރްފިސް', + 'ދީވާން', + 'ޛަހަބު', + 'ޛުއްނޫރު', + 'ޛަކީ', + 'ރާބިޙް', + 'ރައުބު', + 'ރަޙޫމް', + 'ރޫދު', + 'ޒިބްރިޖު', + 'ޒިރުޔާބު', + 'ޒޯފިޝާން', + 'ސާޤީ', + 'ސިބުޠު', + 'ސަރުމަދު', + 'ސާޖީ', + 'ޝާމިސް', + 'ޝަބާބު', + 'ޝުބޫލް', + 'ޝަފްޝާފް', + 'ޝަލޫލް', + 'ޞަބޫރު', + 'ޞަދޫޙު', + 'ޞަފިއްޔު', + 'ޞުރޫޙު', + 'ޠާޙީ', + 'ޠާލިބު', + 'ޠިބާބު', + 'ޡަފަރު', + 'ޡިލާލް', + 'ޡުހޫރު', + 'ޢާބިދީން', + 'ޢަބްޤަރީ', + 'ޢިއްޒަތު', + 'ޢައްމާރު', + 'ޢަންބަރު', + 'ޢަންދަލީބު', + 'ޣާދިފު', + 'ޣައްރާފް', + 'ޣައްސާން', + 'ޣުމޫމް', + 'ޣަންދޫރު', + 'ޣަޔްދަން', + 'ފާއިޤު', + 'ފަތޫޙް', + 'ފަހުމާން', + 'ފައިލަޤު', + 'ޤާބޫސް', + 'ޤިންދީލް', + 'ޤިންޠާރް', + 'ޤަވާމް', + 'ކަލަޖް', + 'ކައުޘަރު', + 'ކައިސޫމް', + 'ލުބަދު', + 'ލަބިޤު', + 'ލަސަން', + 'ލުޠުފީ', + 'ލުޤުމާން', + 'މައުރަބު', + 'މައުމަލް', + 'މައާބު', + 'މަބްޞަރު', + 'މުތަނާސިޤް', + 'މުދުރިކަތު', + 'ނުޖުދު', + 'ނުސައިބު', + 'ނުޢައިމް', + 'ނައްބާރު', + 'ނުހައިލް', + 'ވާބިޞް', + 'ވަދީސް', + 'ވާފިރު', + 'ވައްޟާޙް', + 'ވަހްބު', + 'ހާދީ', + 'ހިދާޔަތް', + 'ހުޛުލޫލް', + 'ހައްފާފް', + 'ހިންދިސް', + 'ޔާޤޫތު', + 'ޔަލްމަޢި', + 'ޔޫޝަޢު', + 'ޔަގްޡާން', +]; diff --git a/src/locales/dv/person/name.ts b/src/locales/dv/person/name.ts new file mode 100644 index 00000000000..66884dd81fd --- /dev/null +++ b/src/locales/dv/person/name.ts @@ -0,0 +1,5 @@ +export default [ + '{{person.first_name}} {{person.last_name}}', + '{{person.male_first_name}} {{person.male_last_name}}', + '{{person.female_first_name}} {{person.female_last_name}}', +]; diff --git a/src/locales/dv/person/prefix.ts b/src/locales/dv/person/prefix.ts new file mode 100644 index 00000000000..1afa1c4c0d7 --- /dev/null +++ b/src/locales/dv/person/prefix.ts @@ -0,0 +1 @@ +export default ['އަމީރު', 'އަމީރާ', 'ބަނޑޭރި', 'ބޮޑު']; diff --git a/src/locales/dv/person/sex.ts b/src/locales/dv/person/sex.ts new file mode 100644 index 00000000000..64493300785 --- /dev/null +++ b/src/locales/dv/person/sex.ts @@ -0,0 +1 @@ +export default ['އަންހެން', 'ފިރިހެން']; diff --git a/src/locales/dv/phone_number/formats.ts b/src/locales/dv/phone_number/formats.ts new file mode 100644 index 00000000000..748699b4e09 --- /dev/null +++ b/src/locales/dv/phone_number/formats.ts @@ -0,0 +1,44 @@ +export default [ + '3######', + '4######', + '5######', + '6######', + '7######', + '8######', + '9######', + '3## ####', + '4## ####', + '5## ####', + '6## ####', + '7## ####', + '8## ####', + '9## ####', + '+9603######', + '+9604######', + '+9605######', + '+9606######', + '+9607######', + '+9608######', + '+9609######', + '+960 3## ####', + '+960 4## ####', + '+960 5## ####', + '+960 6## ####', + '+960 7## ####', + '+960 8## ####', + '+960 9## ####', + '+960-3######', + '+960-4######', + '+960-5######', + '+960-6######', + '+960-7######', + '+960-8######', + '+960-9######', + '+960-3##-####', + '+960-4##-####', + '+960-5##-####', + '+960-6##-####', + '+960-7##-####', + '+960-8##-####', + '+960-9##-####', +]; diff --git a/src/locales/dv/phone_number/index.ts b/src/locales/dv/phone_number/index.ts new file mode 100644 index 00000000000..bf48a8b5d05 --- /dev/null +++ b/src/locales/dv/phone_number/index.ts @@ -0,0 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; +import formats from './formats'; + +const phone_number: PhoneNumberDefinitions = { + formats, +}; + +export default phone_number; diff --git a/src/locales/index.ts b/src/locales/index.ts index 6c8ad8d8776..85cb540d7f6 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -11,6 +11,7 @@ import cz from './cz'; import de from './de'; import de_AT from './de_AT'; import de_CH from './de_CH'; +import dv from './dv'; import el from './el'; import en from './en'; import en_AU from './en_AU'; @@ -70,6 +71,7 @@ export type KnownLocale = | 'de' | 'de_AT' | 'de_CH' + | 'dv' | 'el' | 'en' | 'en_AU' @@ -131,6 +133,7 @@ const locales: KnownLocales = { de, de_AT, de_CH, + dv, el, en, en_AU, diff --git a/test/__snapshots__/random.spec.ts.snap b/test/__snapshots__/random.spec.ts.snap index a55a07747c1..ade199df877 100644 --- a/test/__snapshots__/random.spec.ts.snap +++ b/test/__snapshots__/random.spec.ts.snap @@ -8,7 +8,7 @@ exports[`random > 42 > alphaNumeric > noArgs 1`] = `"n"`; exports[`random > 42 > alphaNumeric > withLength 1`] = `"nNWbJ"`; -exports[`random > 42 > locale 1`] = `"es_MX"`; +exports[`random > 42 > locale 1`] = `"es"`; exports[`random > 42 > numeric > noArgs 1`] = `"4"`;