diff --git a/apps/renderer/src/@types/constants.ts b/apps/renderer/src/@types/constants.ts index b80a4332a4..4bea07a58e 100644 --- a/apps/renderer/src/@types/constants.ts +++ b/apps/renderer/src/@types/constants.ts @@ -1,4 +1,18 @@ -const langs = ["ja", "zh-CN", "zh-TW", "pt", "fr", "ar-DZ", "ar-SA", "ar-MA", "zh-HK","fi","it","ru","es"] +const langs = [ + "ja", + "zh-CN", + "zh-TW", + "pt", + "fr", + "ar-DZ", + "ar-SA", + "ar-MA", + "zh-HK", + "fi", + "it", + "ru", + "es", +] export const currentSupportedLanguages = ["en", ...langs.sort()] export const dayjsLocaleImportMap = { en: ["en", () => import("dayjs/locale/en")], diff --git a/locales/lang/ar-dz.json b/locales/lang/ar-dz.json deleted file mode 100644 index 5de2332c3c..0000000000 --- a/locales/lang/ar-dz.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "langs.ar-DZ": "العربية (الجزائر)", - "langs.ar-MA": "العربية (المغرب)", - "langs.ar-SA": "العربية (السعودية)", - "langs.en": "English", - "langs.es": "Español", - "langs.fr": "Français", - "langs.ja": "日本語", - "langs.pt": "Português", - "langs.zh-CN": "简体中文", - "langs.zh-HK": "繁體中文(香港)", - "langs.zh-TW": "繁體中文(台灣)", - "name": "العربية (الجزائر)" -} diff --git a/locales/lang/ar-sa.json b/locales/lang/ar-sa.json deleted file mode 100644 index fd3a995244..0000000000 --- a/locales/lang/ar-sa.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "langs.ar-DZ": "العربية (الجزائر)", - "langs.ar-MA": "العربية (المغرب)", - "langs.ar-SA": "العربية (السعودية)", - "langs.en": "English", - "langs.es": "Español", - "langs.fr": "Français", - "langs.ja": "日本語", - "langs.pt": "Português", - "langs.zh-CN": "简体中文", - "langs.zh-HK": "繁體中文(香港)", - "langs.zh-TW": "繁體中文(台灣)", - "name": "العربية (السعودية)" -}