From 65b34ab685c5e4d0a3d8f077ed4144c40910f943 Mon Sep 17 00:00:00 2001 From: Larsluph <22910497+Larsluph@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:36:00 +0100 Subject: [PATCH] chore(localization): Remove ES locale --- src/locales/en.json | 5 +++-- src/locales/es.json | 2 -- src/locales/fr.json | 5 +++-- src/locales/index.ts | 4 ---- src/locales/ru.json | 5 +++-- src/locales/zh-Hans.json | 5 +++-- src/locales/zh-Hant.json | 5 +++-- 7 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 src/locales/es.json diff --git a/src/locales/en.json b/src/locales/en.json index 5ccc3de6..022ac082 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1,2 +1,3 @@ -// Generated by Tolgee app -{} \ No newline at end of file +{ + "_comments": "Generated by Tolgee app" +} \ No newline at end of file diff --git a/src/locales/es.json b/src/locales/es.json deleted file mode 100644 index 5ccc3de6..00000000 --- a/src/locales/es.json +++ /dev/null @@ -1,2 +0,0 @@ -// Generated by Tolgee app -{} \ No newline at end of file diff --git a/src/locales/fr.json b/src/locales/fr.json index 5ccc3de6..022ac082 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -1,2 +1,3 @@ -// Generated by Tolgee app -{} \ No newline at end of file +{ + "_comments": "Generated by Tolgee app" +} \ No newline at end of file diff --git a/src/locales/index.ts b/src/locales/index.ts index d4dd9da3..4f9508f7 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -1,5 +1,4 @@ import en from './en.json' -import es from './es.json' import fr from './fr.json' import ru from './ru.json' import zh_hans from './zh-Hans.json' @@ -12,7 +11,6 @@ type LocaleDef = { export enum Locales { EN = 'en', - ES = 'es', FR = 'fr', RU = 'ru', ZH_HANS = 'zh-Hans', @@ -21,7 +19,6 @@ export enum Locales { export const LOCALES: LocaleDef[] = [ { title: 'English', value: Locales.EN }, - { title: 'Español', value: Locales.ES }, { title: 'Français', value: Locales.FR }, { title: 'Русский', value: Locales.RU }, { title: '简体中文', value: Locales.ZH_HANS }, @@ -30,7 +27,6 @@ export const LOCALES: LocaleDef[] = [ export const messages: Record = { [Locales.EN]: en, - [Locales.ES]: es, [Locales.FR]: fr, [Locales.RU]: ru, [Locales.ZH_HANS]: zh_hans, diff --git a/src/locales/ru.json b/src/locales/ru.json index 5ccc3de6..022ac082 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -1,2 +1,3 @@ -// Generated by Tolgee app -{} \ No newline at end of file +{ + "_comments": "Generated by Tolgee app" +} \ No newline at end of file diff --git a/src/locales/zh-Hans.json b/src/locales/zh-Hans.json index 5ccc3de6..022ac082 100644 --- a/src/locales/zh-Hans.json +++ b/src/locales/zh-Hans.json @@ -1,2 +1,3 @@ -// Generated by Tolgee app -{} \ No newline at end of file +{ + "_comments": "Generated by Tolgee app" +} \ No newline at end of file diff --git a/src/locales/zh-Hant.json b/src/locales/zh-Hant.json index 5ccc3de6..022ac082 100644 --- a/src/locales/zh-Hant.json +++ b/src/locales/zh-Hant.json @@ -1,2 +1,3 @@ -// Generated by Tolgee app -{} \ No newline at end of file +{ + "_comments": "Generated by Tolgee app" +} \ No newline at end of file