Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(locale): extend Uzbek locale for date and color #2724

Merged
merged 11 commits into from
Mar 15, 2024
29 changes: 29 additions & 0 deletions src/locales/uz_UZ_latin/color/human.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
export default [
'qizil',
Mirazyzz marked this conversation as resolved.
Show resolved Hide resolved
'yashil',
"ko'k",
'sariq',
'buniq',
'oq',
'qora',
"to'q sariq",
'pushti',
'kulrang',
'qizil-kulrang',
'binofsha',
'firuz',
'sariq-kulrang',
'osmon rang',
"qizg'ish to'q sariq",
'zaytun rang',
'siyoh binofsha',
'limon rang',
'krem rang',
"ko'k-binofsha rang",
'oltin rang',
'qizil-siyoh binofsha',
'moviy',
'fayruz rang',
'siyoh binofsha rang',
'kumush rang',
];
12 changes: 12 additions & 0 deletions src/locales/uz_UZ_latin/color/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* This file is automatically generated.
* Run 'pnpm run generate:locales' to update.
*/
import type { ColorDefinition } from '../../..';
import human from './human';

const color: ColorDefinition = {
human,
};

export default color;
14 changes: 14 additions & 0 deletions src/locales/uz_UZ_latin/date/index.ts
Original file line number Diff line number Diff line change
@@ -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;
30 changes: 30 additions & 0 deletions src/locales/uz_UZ_latin/date/month.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
export default {
wide: [
'Yanvar',
'Fevral',
'Mart',
'Aprel',
'May',
'Iyun',
'Iyul',
'Avgust',
'Sentyabr',
'Oktyabr',
'Noyabr',
'Dekabr',
],
abbr: [
'Yan.',
'Fev.',
'Mar',
'Apr.',
'May',
'Iyn',
'Iyl',
ST-DDT marked this conversation as resolved.
Show resolved Hide resolved
'Avg.',
'Sen.',
'Okt.',
'Noy.',
'Dek.',
],
};
22 changes: 22 additions & 0 deletions src/locales/uz_UZ_latin/date/weekday.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
export default {
wide: [
'Yakshanba',
'Dushanba',
'Seshanba',
'Chorshanba',
'Payshanba',
'Juma',
'Shanba',
],
wide_context: [
Mirazyzz marked this conversation as resolved.
Show resolved Hide resolved
'Yakshanba',
'Dushanba',
'Seshanba',
'Chorshanba',
'Payshanba',
'Juma',
'Shanba',
],
abbr: ['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh'],
abbr_context: ['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh'],
Mirazyzz marked this conversation as resolved.
Show resolved Hide resolved
};
6 changes: 6 additions & 0 deletions src/locales/uz_UZ_latin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocaleDefinition } from '../..';
import color from './color';
import date from './date';
import metadata from './metadata';
import person from './person';
import phone_number from './phone_number';

const uz_UZ_latin: LocaleDefinition = {
color,
date,
metadata,
person,
phone_number,
};

export default uz_UZ_latin;
1 change: 1 addition & 0 deletions src/locales/uz_UZ_latin/phone_number/formats.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default ['(998)## ###-##-##'];
12 changes: 12 additions & 0 deletions src/locales/uz_UZ_latin/phone_number/index.ts
ST-DDT marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -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;