Skip to content

Commit c1fb6f1

Browse files
authored
Merge branch 'next' into chore/update-since-tags-for-person-location
2 parents 84247db + 0b9989f commit c1fb6f1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+999
-1
lines changed

docs/guide/localization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ All locales together are around 5 MB in size.
4343
| de | German |
4444
| de_AT | German (Austria) |
4545
| de_CH | German (Switzerland) |
46+
| dv | Dhivehi |
4647
| el | Greek |
4748
| en | English |
4849
| en_AU | English (Australia) |

src/locale/dv.ts

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

src/locales/dv/cell_phone/formats.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default [
2+
'7######',
3+
'9######',
4+
'+9607######',
5+
'+9609######',
6+
'+960 7######',
7+
'+960 9######',
8+
];

src/locales/dv/cell_phone/index.ts

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

src/locales/dv/color/human.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
export default [
2+
'ރަތް',
3+
'ފެހިކުލަ',
4+
'ނޫ',
5+
'ރީނދޫކުލަ',
6+
'ނާރިނގުކުލަ',
7+
'ދަނބުކުލަ',
8+
'މަޑުފެހި',
9+
'ވިލުނޫ',
10+
'ހުދު',
11+
'ކަޅު',
12+
'އަޅިކުލަ',
13+
'ފިޔާތޮށިކުލަ',
14+
'މުށިކުލަ',
15+
'ރަންކުލަ',
16+
'ރިހިކުލަ',
17+
];

src/locales/dv/color/index.ts

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

src/locales/dv/company/adjective.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
export default [
2+
'ބޮޑު',
3+
'ކުޑަ',
4+
'ހަޑި',
5+
'ރީތި',
6+
'ހޫނު',
7+
'ފިނި',
8+
'މަޖާ',
9+
'ފޫހި',
10+
'ހުތުރު',
11+
'އަލި',
12+
'އަނދިރި',
13+
'ހިރަފުސް',
14+
'ސާފު',
15+
'މޮޅު',
16+
'ދަށް',
17+
'ހުށިޔާރު',
18+
'ނުރައްކާ',
19+
'ސަމާލު',
20+
'ގޮތްކުޑަ',
21+
'ފުރިހަމަ',
22+
'އެއްވަނަ',
23+
'ދެވަނަ',
24+
'ތިންވަނަ',
25+
'ނުފެންނަ',
26+
];

src/locales/dv/company/index.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { CompanyDefinitions } from '../../..';
6+
import adjective from './adjective';
7+
import name_patterns from './name_patterns';
8+
import noun from './noun';
9+
import suffix from './suffix';
10+
11+
const company: CompanyDefinitions = {
12+
adjective,
13+
name_patterns,
14+
noun,
15+
suffix,
16+
};
17+
18+
export default company;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export default [
2+
'{{person.first_name}} {{company.suffix}}',
3+
'{{person.last_name}} {{company.suffix}}',
4+
'{{person.last_name}} & {{person.last_name}} {{company.noun}} {{company.suffix}}',
5+
'{{company.adjective}} {{company.noun}} {{company.suffix}}',
6+
'{{company.adjective}} {{person.last_name}} {{person.last_name}} {{company.suffix}}',
7+
];

src/locales/dv/company/noun.ts

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
export default [
2+
'ވަޑައިންގެ',
3+
'ހަރުގެ',
4+
'ގުދަން',
5+
'ގަރާޖު',
6+
'ކޮންޓެއިނަރު',
7+
'ބޮއްކުރާ',
8+
'ދޯނި',
9+
'ބައްރެލި',
10+
'މަނަވަރު',
11+
'މަތިންދާބޯޓު',
12+
'ހެލިކޮޕްޓަރު',
13+
'ރޮކެޓު',
14+
'ކަރުދާސް',
15+
'ފުޅި',
16+
'ބިއްލޫރި',
17+
'ހޮޅުއަށި',
18+
'ޕުލާސްޓިކު',
19+
'ފޮތި',
20+
'ދަގަނޑު',
21+
'ލަކުޑި',
22+
'ގޮނޑު',
23+
'ގޮނޑުދޮށް',
24+
'ރުއް',
25+
'ގަސް',
26+
'މޫ',
27+
'ބުޅާ',
28+
'ކަނބިލި',
29+
'މާކަނާ',
30+
'އިރުވާހުދު',
31+
'ރަތަފަ',
32+
'މާރަނގަ',
33+
'ހަރުފަ',
34+
'މަކުނު',
35+
'ކާޅު',
36+
'ކުކުޅު',
37+
'މަސް',
38+
'ގެރި',
39+
'ބަކަރި',
40+
'ފަރުމަސް',
41+
'ކަނޑުމަސް',
42+
'ބޮޑުމަސް',
43+
'ކުޑަމަސް',
44+
'ގޯތި',
45+
'މޫދު',
46+
'ކަނޑު',
47+
'ވިލު',
48+
'ފަޅު',
49+
'ގިރި',
50+
'ފެން',
51+
'ގަނޑުފެން',
52+
'މުރަނގަ',
53+
'ހިރުނދު',
54+
'ދިއްގާ',
55+
'ނިކަ',
56+
'މަގޫ',
57+
'އަތަ',
58+
'މޭވާ',
59+
'ތަރުކާރި',
60+
];

src/locales/dv/company/suffix.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default [
2+
'ޕުރައިވެޓް ލިމިޓެޑް',
3+
'.ޕވޓ. ލޓޑ',
4+
'ޕަބްލިކް ލިމިޓެޑް',
5+
'.ޕބލކ. ލޓޑ',
6+
'ގުރޫޕް',
7+
'އޮފީސް',
8+
];

src/locales/dv/date/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 { DateDefinitions } from '../../..';
6+
import month from './month';
7+
import weekday from './weekday';
8+
9+
const date: DateDefinitions = {
10+
month,
11+
weekday,
12+
};
13+
14+
export default date;

src/locales/dv/date/month.ts

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
export default {
2+
wide: [
3+
'ޖަނަވަރީ',
4+
'ފެބުރުވަރީ',
5+
'މާރިޗު',
6+
'އެޕްރީލް',
7+
'މޭ',
8+
'ޖޫން',
9+
'ޖުލައި',
10+
'އޮގަސްޓު',
11+
'ސެޕްޓެންބަރު',
12+
'އޮކްޓޫބަރު',
13+
'ނޮވެންބަރެ',
14+
'ޑިސެންބަރު',
15+
'މުޙައްރަމް',
16+
'ޞަފަރު',
17+
'ރަބީޢުލްއައްވަލް',
18+
'ރަބީޢުލްއާޚިރު',
19+
'ޖުމާދަލްއޫލާ',
20+
'ޖުމާދަލްއާޚިރު',
21+
'ރަޖަބު',
22+
'ޝަޢުބާން',
23+
'ރަމަޞާން',
24+
'ޝައްވާލް',
25+
'ޛުލްޤައިދާ',
26+
'ޛުލްޙިއްޖާ',
27+
],
28+
abbr: [
29+
'ޖަނަވަރީ',
30+
'ފެބުރުވަރީ',
31+
'މާރިޗު',
32+
'އެޕްރީލް',
33+
'މޭ',
34+
'ޖޫން',
35+
'ޖުލައި',
36+
'އޮގަސްޓު',
37+
'ސެޕްޓެންބަރު',
38+
'އޮކްޓޫބަރު',
39+
'ނޮވެންބަރެ',
40+
'ޑިސެންބަރު',
41+
'މުޙައްރަމް',
42+
'ޞަފަރު',
43+
'ރަބީޢުލްއައްވަލް',
44+
'ރަބީޢުލްއާޚިރު',
45+
'ޖުމާދަލްއޫލާ',
46+
'ޖުމާދަލްއާޚިރު',
47+
'ރަޖަބު',
48+
'ޝަޢުބާން',
49+
'ރަމަޞާން',
50+
'ޝައްވާލް',
51+
'ޛުލްޤައިދާ',
52+
'ޛުލްޙިއްޖާ',
53+
],
54+
};

src/locales/dv/date/weekday.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
export default {
2+
wide: [
3+
'އާދީއްތަ',
4+
'ހޯމަ',
5+
'އަންގާރަ',
6+
'ބުދަ',
7+
'ބުރާސްފަތި',
8+
'ހުކުރު',
9+
'ހޮނިހިރު',
10+
],
11+
abbr: [
12+
'އާދީއްތަ',
13+
'ހޯމަ',
14+
'އަންގާރަ',
15+
'ބުދަ',
16+
'ބުރާސްފަތި',
17+
'ހުކުރު',
18+
'ހޮނިހިރު',
19+
],
20+
};

src/locales/dv/index.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { LocaleDefinition } from '../..';
6+
import cell_phone from './cell_phone';
7+
import color from './color';
8+
import company from './company';
9+
import date from './date';
10+
import location from './location';
11+
import lorem from './lorem';
12+
import person from './person';
13+
import phone_number from './phone_number';
14+
15+
const dv: LocaleDefinition = {
16+
title: 'Dhivehi',
17+
cell_phone,
18+
color,
19+
company,
20+
date,
21+
location,
22+
lorem,
23+
person,
24+
phone_number,
25+
};
26+
27+
export default dv;

src/locales/dv/location/city.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default [
2+
'{{location.city_prefix}} {{company.noun}}{{location.city_suffix}}',
3+
'{{company.adjective}}{{company.noun}}{{location.city_suffix}}',
4+
'{{location.city_prefix}} {{person.first_name}}',
5+
'{{person.first_name}}{{location.city_suffix}}',
6+
'{{person.last_name}}{{location.city_suffix}}',
7+
'{{location.city_name}}',
8+
];

src/locales/dv/location/city_name.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
export default [
2+
'ރަސްގެ',
3+
'ބުޅާ',
4+
'ކާށި',
5+
'ކުރުނބާ',
6+
'މަޑި',
7+
'ކޯވަިމަސް',
8+
'ބޮޑުމަސް',
9+
'ކަނު',
10+
'ބޮޑު',
11+
'ވައި',
12+
'އަލަނާސި',
13+
'އަނބު',
14+
'ކަރާ',
15+
'ބަށި',
16+
'ޗިޗަންޑާ',
17+
'ބޯށި',
18+
'ތޮޅި',
19+
'ދޫނި',
20+
'ކެކުރި',
21+
];
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['އިރުމަތި', 'ހުޅަނގު', 'ދެކުނު', 'އުތުރު', 'ދެ'];
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['ފުށި', 'ދޫ', 'ފަރު', 'ރަށް', 'ކޮޑި'];
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['ދިވެހިރާއްޖެ'];

src/locales/dv/location/index.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { LocationDefinitions } from '../../..';
6+
import city from './city';
7+
import city_name from './city_name';
8+
import city_prefix from './city_prefix';
9+
import city_suffix from './city_suffix';
10+
import default_country from './default_country';
11+
import postcode from './postcode';
12+
import street from './street';
13+
import street_suffix from './street_suffix';
14+
15+
const location: LocationDefinitions = {
16+
city,
17+
city_name,
18+
city_prefix,
19+
city_suffix,
20+
default_country,
21+
postcode,
22+
street,
23+
street_suffix,
24+
};
25+
26+
export default location;

src/locales/dv/location/postcode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['#####'];

src/locales/dv/location/street.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export default [
2+
'{{person.first_name}} {{location.street_suffix}}',
3+
'{{person.last_name}} {{location.street_suffix}}',
4+
'{{company.adjective}} {{company.noun}} {{location.street_suffix}}',
5+
];
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['ހިނގުން', 'މަގު', 'ގޯޅި'];

0 commit comments

Comments
 (0)