From d3cdbfb9312bcdcb18ef7b9bbbc1dc08220135f2 Mon Sep 17 00:00:00 2001 From: Sunner Sun Date: Thu, 22 Jun 2023 22:53:19 +0800 Subject: [PATCH] feat: use system as auto in language setting --- src/components/SettingsModal.vue | 2 +- src/i18n/locales/de.json | 1 - src/i18n/locales/en.json | 1 - src/i18n/locales/es.json | 1 - src/i18n/locales/fr.json | 1 - src/i18n/locales/it.json | 1 - src/i18n/locales/ja.json | 1 - src/i18n/locales/ko.json | 1 - src/i18n/locales/ru.json | 1 - src/i18n/locales/vi.json | 1 - src/i18n/locales/zh.json | 1 - 11 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/components/SettingsModal.vue b/src/components/SettingsModal.vue index bd797c4bba..83807d1447 100644 --- a/src/components/SettingsModal.vue +++ b/src/components/SettingsModal.vue @@ -99,7 +99,7 @@ const settings = [ ]; const languages = computed(() => [ - { name: $t("settings.auto"), code: "auto" }, + { name: $t("settings.system"), code: "auto" }, { name: "Deutsch", code: "de" }, { name: "English", code: "en" }, { name: "Español", code: "es" }, diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json index be814638d1..2942cab5b2 100644 --- a/src/i18n/locales/de.json +++ b/src/i18n/locales/de.json @@ -4,7 +4,6 @@ "forExample": "zum Bsp. { example }", "title": "Einstellungen", "general": "Allgemein", - "auto": "Automatisch", "language": "Sprache", "languagePrompt": "Starten Sie die Anwendung neu, um die neue Sprache anzuwenden", "loginOrOut": "Einloggen/Ausloggen", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 135456e263..34efcd36b6 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -4,7 +4,6 @@ "forExample": "E.g. { example }", "title": "Settings", "general": "General", - "auto": "Automatic", "language": "Language", "languagePrompt": "Relaunch the app to apply the new language", "loginOrOut": "Login/Logout", diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index b53781ff76..065123a101 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -4,7 +4,6 @@ "forExample": "Por ejemplo, { ejemplo }", "title": "Configuración", "general": "General", - "auto": "Automático", "language": "Idioma", "languagePrompt": "Reinicie la aplicación para aplicar el nuevo idioma", "loginOrOut": "Iniciar sesión/Cerrar sesión", diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json index 13c1780499..36538b5696 100644 --- a/src/i18n/locales/fr.json +++ b/src/i18n/locales/fr.json @@ -4,7 +4,6 @@ "forExample": "Exemple :", "title": "Paramètres", "general": "Général", - "auto": "Automatique", "language": "Langue", "languagePrompt": "Relancez l'application pour appliquer la nouvelle langue", "loginOrOut": "Connexion/Déconnexion", diff --git a/src/i18n/locales/it.json b/src/i18n/locales/it.json index 8605e1fae3..b1cc6fd4b2 100644 --- a/src/i18n/locales/it.json +++ b/src/i18n/locales/it.json @@ -4,7 +4,6 @@ "forExample": "Ad esempio { esempio }", "title": "Impostazioni", "general": "Generali", - "auto": "Automatico", "language": "Lingua", "languagePrompt": "Riavvia l'applicazione per applicare la nuova lingua", "loginOrOut": "Accedi/Esci", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 689eda4ef7..899bf438cd 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -4,7 +4,6 @@ "forExample": "例: { example }", "title": "設定", "general": "一般", - "auto": "自動", "language": "言語", "languagePrompt": "新しい言語を適用するためにアプリを再起動してください。", "loginOrOut": "ログイン/ログアウト", diff --git a/src/i18n/locales/ko.json b/src/i18n/locales/ko.json index 249799e79c..d6bc587f77 100644 --- a/src/i18n/locales/ko.json +++ b/src/i18n/locales/ko.json @@ -4,7 +4,6 @@ "forExample": "예: { example }", "title": "설정", "general": "일반", - "auto": "자동", "language": "언어", "languagePrompt": "새 언어를 적용하기 위해 앱을 다시 시작", "loginOrOut": "로그인/로그아웃", diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index af1db47548..359a843ddb 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -4,7 +4,6 @@ "forExample": "Например { example }", "title": "Настройки", "general": "Главная", - "auto": "Автоматический", "language": "Язык", "languagePrompt": "Перезапустите приложение, чтобы применить новый язык", "loginOrOut": "Вход/выход", diff --git a/src/i18n/locales/vi.json b/src/i18n/locales/vi.json index 95eef71788..93808f3364 100644 --- a/src/i18n/locales/vi.json +++ b/src/i18n/locales/vi.json @@ -4,7 +4,6 @@ "forExample": "Ví dụ. { example }", "title": "Cài đặt", "general": "Chung", - "auto": "Tự động", "language": "Ngôn ngữ", "languagePrompt": "Khởi động lại ứng dụng để cập nhập ngôn ngữ mới", "loginOrOut": "Đăng nhập/Đăng xuất", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 4d38cf729a..b13439428e 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -4,7 +4,6 @@ "forExample": "例如:{ example }", "title": "设置", "general": "通用", - "auto": "自动", "language": "语言", "languagePrompt": "新语言将在程序重新启动后生效", "loginOrOut": "登入/登出",