From 74e49b244b674b8fdfc7449932805a82b36cded1 Mon Sep 17 00:00:00 2001 From: Ei <59531041+Mewtwo2387@users.noreply.github.com> Date: Tue, 18 Jun 2024 05:33:00 +0100 Subject: [PATCH] [Localization] Separated the translations for the two 'back's in settings (#2365) --- src/locales/de/settings.ts | 3 ++- src/locales/en/settings.ts | 3 ++- src/locales/es/settings.ts | 3 ++- src/locales/fr/settings.ts | 3 ++- src/locales/it/settings.ts | 3 ++- src/locales/ko/settings.ts | 3 ++- src/locales/pt_BR/settings.ts | 3 ++- src/locales/zh_CN/settings.ts | 5 +++-- src/locales/zh_TW/settings.ts | 3 ++- src/system/settings/settings.ts | 2 +- 10 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/locales/de/settings.ts b/src/locales/de/settings.ts index 9e4a34fc579..ba040e91810 100644 --- a/src/locales/de/settings.ts +++ b/src/locales/de/settings.ts @@ -53,7 +53,7 @@ export const settings: SimpleTranslationEntries = { "showTimeOfDayWidget": "Zeige Tageszeit Widget", "timeOfDayAnimation": "Tageszeit Animation", "bounce": "Springen", - "back": "Zurück", + "timeOfDay_back": "Zurück", "spriteSet": "Sprite Satz", "consistent": "Konistent", "mixedAnimated": "Gemischt animiert", @@ -71,6 +71,7 @@ export const settings: SimpleTranslationEntries = { "reset": "Zurücksetzen", "requireReload": "Neuladen benötigt", "action": "Aktion", + "back": "Zurück", "pressToBind": "Zum Zuweisen drücken", "pressButton": "Eine Taste drücken...", "buttonUp": "Hoch", diff --git a/src/locales/en/settings.ts b/src/locales/en/settings.ts index db63534348a..20624defd92 100644 --- a/src/locales/en/settings.ts +++ b/src/locales/en/settings.ts @@ -53,7 +53,7 @@ export const settings: SimpleTranslationEntries = { "showTimeOfDayWidget": "Show Time of Day Widget", "timeOfDayAnimation": "Time of Day Animation", "bounce": "Bounce", - "back": "Back", + "timeOfDay_back": "Back", "spriteSet": "Sprite Set", "consistent": "Consistent", "mixedAnimated": "Mixed Animated", @@ -71,6 +71,7 @@ export const settings: SimpleTranslationEntries = { "reset": "Reset", "requireReload": "Reload Required", "action": "Action", + "back": "Back", "pressToBind": "Press to Bind", "pressButton": "Press a Button...", "buttonUp": "Up", diff --git a/src/locales/es/settings.ts b/src/locales/es/settings.ts index b5b6f9d23c7..bf4c22707a9 100644 --- a/src/locales/es/settings.ts +++ b/src/locales/es/settings.ts @@ -53,7 +53,7 @@ export const settings: SimpleTranslationEntries = { "showTimeOfDayWidget": "Show Time of Day Widget", "timeOfDayAnimation": "Time of Day Animation", "bounce": "Bounce", - "back": "Back", + "timeOfDay_back": "Back", "spriteSet": "Sprite Set", "consistent": "Consistent", "mixedAnimated": "Mixed Animated", @@ -71,6 +71,7 @@ export const settings: SimpleTranslationEntries = { "reset": "Reset", "requireReload": "Reload Required", "action": "Action", + "back": "Back", "pressToBind": "Press to Bind", "pressButton": "Press a Button...", "buttonUp": "Up", diff --git a/src/locales/fr/settings.ts b/src/locales/fr/settings.ts index 8a101ffc66d..59de6c82d32 100644 --- a/src/locales/fr/settings.ts +++ b/src/locales/fr/settings.ts @@ -53,7 +53,7 @@ export const settings: SimpleTranslationEntries = { "showTimeOfDayWidget": "Widget de l’heure", "timeOfDayAnimation": "Animation de l’heure", "bounce": "Sauter", - "back": "Retour", + "timeOfDay_back": "Retour", "spriteSet": "Ensemble de sprites", "consistent": "Consistant", "mixedAnimated": "Mixte", @@ -71,6 +71,7 @@ export const settings: SimpleTranslationEntries = { "reset": "Réinitialiser", "requireReload": "Redémarrage requis", "action": "Action", + "back": "Retour", "pressToBind": "Sélectionnez pour assigner", "pressButton": "Appuyez sur un bouton…", "buttonUp": "Haut", diff --git a/src/locales/it/settings.ts b/src/locales/it/settings.ts index c72a2afe536..ea70c2ec94b 100644 --- a/src/locales/it/settings.ts +++ b/src/locales/it/settings.ts @@ -53,7 +53,7 @@ export const settings: SimpleTranslationEntries = { "showTimeOfDayWidget": "Show Time of Day Widget", "timeOfDayAnimation": "Time of Day Animation", "bounce": "Bounce", - "back": "Back", + "timeOfDay_back": "Back", "spriteSet": "Sprite Set", "consistent": "Consistent", "mixedAnimated": "Mixed Animated", @@ -71,6 +71,7 @@ export const settings: SimpleTranslationEntries = { "reset": "Reset", "requireReload": "Reload Required", "action": "Action", + "back": "Back", "pressToBind": "Press to Bind", "pressButton": "Press a Button...", "buttonUp": "Up", diff --git a/src/locales/ko/settings.ts b/src/locales/ko/settings.ts index 0435ef49a08..08f0c635199 100644 --- a/src/locales/ko/settings.ts +++ b/src/locales/ko/settings.ts @@ -53,7 +53,7 @@ export const settings: SimpleTranslationEntries = { "showTimeOfDayWidget": "시간 위젯", "timeOfDayAnimation": "시간 애니메이션", "bounce": "흔들림", - "back": "고정", + "timeOfDay_back": "고정", "spriteSet": "스프라이트 표시", "consistent": "기본", "mixedAnimated": "믹스", @@ -71,6 +71,7 @@ export const settings: SimpleTranslationEntries = { "reset": "리셋", "requireReload": "새로고침 필요", "action": "액션", + "back": "고정", "pressToBind": "할당을 위해 입력하세요", "pressButton": "버튼을 입력하세요", "buttonUp": "위", diff --git a/src/locales/pt_BR/settings.ts b/src/locales/pt_BR/settings.ts index 97ac7e4476d..873d4ffd4a8 100644 --- a/src/locales/pt_BR/settings.ts +++ b/src/locales/pt_BR/settings.ts @@ -53,7 +53,7 @@ export const settings: SimpleTranslationEntries = { "showTimeOfDayWidget": "Show Time of Day Widget", "timeOfDayAnimation": "Time of Day Animation", "bounce": "Bounce", - "back": "Back", + "timeOfDay_back": "Back", "spriteSet": "Sprite Set", "consistent": "Consistent", "mixedAnimated": "Mixed Animated", @@ -71,6 +71,7 @@ export const settings: SimpleTranslationEntries = { "reset": "Reset", "requireReload": "Reload Required", "action": "Action", + "back": "Back", "pressToBind": "Press to Bind", "pressButton": "Press a Button...", "buttonUp": "Up", diff --git a/src/locales/zh_CN/settings.ts b/src/locales/zh_CN/settings.ts index 9f51adab7b2..04df61d7dbe 100644 --- a/src/locales/zh_CN/settings.ts +++ b/src/locales/zh_CN/settings.ts @@ -52,8 +52,8 @@ export const settings: SimpleTranslationEntries = { "showArenaFlyout": "显示战场弹窗", "showTimeOfDayWidget": "显示时间指示器", "timeOfDayAnimation": "时间指示器动画", - "bounce": "弹跳", - "back": "返回", + "bounce": "彈一下", + "timeOfDay_back": "不彈", "spriteSet": "宝可梦动画", "consistent": "默认", "mixedAnimated": "全部动画", @@ -71,6 +71,7 @@ export const settings: SimpleTranslationEntries = { "reset": "重置", "requireReload": "需要重新加载", "action": "操作", + "back": "返回", "pressToBind": "按下以绑定", "pressButton": "请按键……", "buttonUp": "上", diff --git a/src/locales/zh_TW/settings.ts b/src/locales/zh_TW/settings.ts index 761b3609068..d6f406d7e1c 100644 --- a/src/locales/zh_TW/settings.ts +++ b/src/locales/zh_TW/settings.ts @@ -53,7 +53,7 @@ export const settings: SimpleTranslationEntries = { "showTimeOfDayWidget": "Show Time of Day Widget", "timeOfDayAnimation": "Time of Day Animation", "bounce": "Bounce", - "back": "Back", + "timeOfDay_back": "Back", "spriteSet": "Sprite Set", "consistent": "Consistent", "mixedAnimated": "Mixed Animated", @@ -71,6 +71,7 @@ export const settings: SimpleTranslationEntries = { "reset": "Reset", "requireReload": "Reload Required", "action": "Action", + "back": "Back", "pressToBind": "Press to Bind", "pressButton": "Press a Button...", "buttonUp": "Up", diff --git a/src/system/settings/settings.ts b/src/system/settings/settings.ts index 359895de6d8..1cc525b0bac 100644 --- a/src/system/settings/settings.ts +++ b/src/system/settings/settings.ts @@ -435,7 +435,7 @@ export const Setting: Array = [ }, { value: "Back", - label: i18next.t("settings:back") + label: i18next.t("settings:timeOfDay_back") } ], default: 0,