chore(i18n): fix arabic on top to avoid changing contributing guide (#1088)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
parent
81e24440e7
commit
f227ad6e2f
2 changed files with 13 additions and 13 deletions
|
@ -20,6 +20,16 @@ const locales: LocaleObjectData[] = [
|
|||
file: 'en-GB.json',
|
||||
name: 'English (UK)',
|
||||
},
|
||||
({
|
||||
code: 'ar-EG',
|
||||
file: 'ar-EG.json',
|
||||
name: 'العربية',
|
||||
dir: 'rtl',
|
||||
pluralRule: (choice: number) => {
|
||||
const name = new Intl.PluralRules('ar-EG').select(choice)
|
||||
return { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 }[name]
|
||||
},
|
||||
} satisfies LocaleObjectData),
|
||||
{
|
||||
code: 'de-DE',
|
||||
file: 'de-DE.json',
|
||||
|
@ -72,16 +82,6 @@ const locales: LocaleObjectData[] = [
|
|||
file: 'cs-CZ.json',
|
||||
name: 'Česky',
|
||||
},
|
||||
({
|
||||
code: 'ar-EG',
|
||||
file: 'ar-EG.json',
|
||||
name: 'العربية',
|
||||
dir: 'rtl',
|
||||
pluralRule: (choice: number) => {
|
||||
const name = new Intl.PluralRules('ar-EG').select(choice)
|
||||
return { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 }[name]
|
||||
},
|
||||
} satisfies LocaleObjectData),
|
||||
{
|
||||
code: 'tr-TR',
|
||||
file: 'tr-TR.json',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue