mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 21:38:44 +08:00
feat(i18n): i18n Localization and translations for Farsi (fa) 🇮🇷 (#9533)
Co-authored-by: Mahyar Riazati <mr.riazati1999@gmail.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -19,7 +19,8 @@ export type Language =
|
|||||||
| 'ur'
|
| 'ur'
|
||||||
| 'ar'
|
| 'ar'
|
||||||
| 'ko'
|
| 'ko'
|
||||||
| 'pt-BR';
|
| 'pt-BR'
|
||||||
|
| 'fa';
|
||||||
|
|
||||||
export type LanguageResource = typeof en;
|
export type LanguageResource = typeof en;
|
||||||
export const SUPPORTED_LANGUAGES: Record<
|
export const SUPPORTED_LANGUAGES: Record<
|
||||||
@@ -150,4 +151,10 @@ export const SUPPORTED_LANGUAGES: Record<
|
|||||||
flagEmoji: '🇸🇦',
|
flagEmoji: '🇸🇦',
|
||||||
resource: () => /* webpackChunkName "i18n-ar" */ import('./ar.json'),
|
resource: () => /* webpackChunkName "i18n-ar" */ import('./ar.json'),
|
||||||
},
|
},
|
||||||
|
fa: {
|
||||||
|
name: 'Persian',
|
||||||
|
originalName: 'فارسی',
|
||||||
|
flagEmoji: '🇮🇷',
|
||||||
|
resource: () => /* webpackChunkName "i18n-ar" */ import('./fa.json'),
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user