From c18c2267b0455d33b13f87c92bde35462c6aa9d4 Mon Sep 17 00:00:00 2001 From: rift <117926989+Riftriot@users.noreply.github.com> Date: Wed, 3 Jan 2024 17:35:09 -0600 Subject: [PATCH] De-localize language settings --- src/locales/en.json | 5 +---- src/locales/es.json | 5 +---- src/locales/ja.json | 5 +---- src/pages/Settings/Misc.tsx | 6 +++--- 4 files changed, 6 insertions(+), 15 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 86a9228..125ab5e 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -32,10 +32,7 @@ }, "languages": { "title": "Language", - "subtitle": "Choose your preferred language", - "japanese": "Japanese", - "english": "English", - "spanish": "Spanish" + "subtitle": "Choose your preferred language" }, "proxymodes": { "title": "Open in", diff --git a/src/locales/es.json b/src/locales/es.json index 83a8aea..a50f39a 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -32,10 +32,7 @@ }, "languages": { "title": "Idioma", - "subtitle": "Elige tu idioma preferido", - "japanese": "Japonés", - "english": "Inglés", - "spanish": "Español" + "subtitle": "Elige tu idioma preferido" }, "proxymodes": { "title": "Abrir en", diff --git a/src/locales/ja.json b/src/locales/ja.json index c6def28..8e286e5 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -32,10 +32,7 @@ }, "languages": { "title": "言語", - "subtitle": "好きな言語を選んでください", - "japanese": "日本語", - "english": "英語", - "spanish": "スペイン語" + "subtitle": "好きな言語を選んでください" }, "proxymodes": { "title": "開く", diff --git a/src/pages/Settings/Misc.tsx b/src/pages/Settings/Misc.tsx index 441915d..150767f 100644 --- a/src/pages/Settings/Misc.tsx +++ b/src/pages/Settings/Misc.tsx @@ -7,9 +7,9 @@ const Misc = ({ id, active }) => { const { t } = useTranslation(); const languages = [ - { id: "en-US", label: t("settings.languages.english") }, - { id: "es", label: t("settings.languages.spanish") }, - { id: "ja", label: t("settings.languages.japanese") } + { id: "en-US", label: "English" }, + { id: "es", label: "Español" }, + { id: "ja", label: "日本語" } ]; return (