From 1180fd01225b4040fe755325bcb8ee09b862cf37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Ricardo=20Fleury=20Oliveira?= Date: Tue, 13 Aug 2024 18:22:01 -0300 Subject: [PATCH] [Localization] Localized "Consent Preferences" in menu-ui-handler.ts (#3513) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [Localization] Localized "Consent Preferences" in menu-ui-handler.ts * Update src/locales/fr/menu-ui-handler.ts Co-authored-by: Lugiad' * Update src/locales/de/menu-ui-handler.ts Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com> * Update src/locales/it/menu-ui-handler.ts Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com> * Update src/locales/fr/menu-ui-handler.ts Co-authored-by: Lugiad' * Update src/locales/es/menu-ui-handler.ts Co-authored-by: Asdar * Update src/locales/zh_CN/menu-ui-handler.ts Co-authored-by: RimKnight * Update src/locales/zh_TW/menu-ui-handler.ts Co-authored-by: RimKnight * Update src/locales/ko/menu-ui-handler.ts Co-authored-by: Enoch --------- Co-authored-by: Lugiad' Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com> Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com> Co-authored-by: Asdar Co-authored-by: RimKnight Co-authored-by: Enoch --- src/locales/ca_ES/menu-ui-handler.ts | 1 + src/locales/de/menu-ui-handler.ts | 1 + src/locales/en/menu-ui-handler.ts | 1 + src/locales/es/menu-ui-handler.ts | 1 + src/locales/fr/menu-ui-handler.ts | 1 + src/locales/it/menu-ui-handler.ts | 9 +++++---- src/locales/ja/menu-ui-handler.ts | 1 + src/locales/ko/menu-ui-handler.ts | 1 + src/locales/pt_BR/menu-ui-handler.ts | 1 + src/locales/zh_CN/menu-ui-handler.ts | 1 + src/locales/zh_TW/menu-ui-handler.ts | 1 + src/ui/menu-ui-handler.ts | 2 +- 12 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/locales/ca_ES/menu-ui-handler.ts b/src/locales/ca_ES/menu-ui-handler.ts index 6eb680544ed..1014c161f84 100644 --- a/src/locales/ca_ES/menu-ui-handler.ts +++ b/src/locales/ca_ES/menu-ui-handler.ts @@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = { "exportSlotSelect": "Select a slot to export from.", "importData": "Import Data", "exportData": "Export Data", + "consentPreferences": "Consent Preferences", "linkDiscord": "Link Discord", "unlinkDiscord": "Unlink Discord", "linkGoogle": "Link Google", diff --git a/src/locales/de/menu-ui-handler.ts b/src/locales/de/menu-ui-handler.ts index 6d461d286af..67d70e9a418 100644 --- a/src/locales/de/menu-ui-handler.ts +++ b/src/locales/de/menu-ui-handler.ts @@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = { "exportSlotSelect": "Wähle einen Slot zum Exportieren.", "importData": "Daten importieren", "exportData": "Daten exportieren", + "consentPreferences": "Einwilligungspräferenzen", "linkDiscord": "Discord verbinden", "unlinkDiscord": "Discord trennen", "linkGoogle": "Google verbinden", diff --git a/src/locales/en/menu-ui-handler.ts b/src/locales/en/menu-ui-handler.ts index 6eb680544ed..1014c161f84 100644 --- a/src/locales/en/menu-ui-handler.ts +++ b/src/locales/en/menu-ui-handler.ts @@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = { "exportSlotSelect": "Select a slot to export from.", "importData": "Import Data", "exportData": "Export Data", + "consentPreferences": "Consent Preferences", "linkDiscord": "Link Discord", "unlinkDiscord": "Unlink Discord", "linkGoogle": "Link Google", diff --git a/src/locales/es/menu-ui-handler.ts b/src/locales/es/menu-ui-handler.ts index e38ac4eab3d..3f3b3703166 100644 --- a/src/locales/es/menu-ui-handler.ts +++ b/src/locales/es/menu-ui-handler.ts @@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = { "exportSlotSelect": "Selecciona una ranura para exportar.", "importData": "Importar Datos", "exportData": "Exportar Datos", + "consentPreferences": "Consentimiento de datos", "linkDiscord": "Conectar Discord", "unlinkDiscord": "Desconectar Discord", "linkGoogle": "Conectar Google", diff --git a/src/locales/fr/menu-ui-handler.ts b/src/locales/fr/menu-ui-handler.ts index 1270ce6d361..823001f9e94 100644 --- a/src/locales/fr/menu-ui-handler.ts +++ b/src/locales/fr/menu-ui-handler.ts @@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = { "exportSlotSelect": "Sélectionnez l’emplacement depuis lequel exporter les données.", "importData": "Importer données", "exportData": "Exporter données", + "consentPreferences": "Gérer les cookies", "linkDiscord": "Lier à Discord", "unlinkDiscord": "Délier Discord", "linkGoogle": "Lier à Google", diff --git a/src/locales/it/menu-ui-handler.ts b/src/locales/it/menu-ui-handler.ts index 58e48574476..0cfea8d67b7 100644 --- a/src/locales/it/menu-ui-handler.ts +++ b/src/locales/it/menu-ui-handler.ts @@ -16,12 +16,13 @@ export const menuUiHandler: SimpleTranslationEntries = { "importSlotSelect": "Seleziona uno slot in cui importare.", "exportSession": "Esporta sessione", "exportSlotSelect": "Seleziona uno slot da cui esportare.", - "linkDiscord": "Link Discord", - "unlinkDiscord": "Unlink Discord", - "linkGoogle": "Link Google", - "unlinkGoogle": "Unlink Google", "importData": "Importa dati", "exportData": "Esporta dati", + "consentPreferences": "Consenti preferenze", + "linkDiscord": "Collega Discord", + "unlinkDiscord": "Scollega Discord", + "linkGoogle": "Collega Google", + "unlinkGoogle": "Scollega Google", "cancel": "Annulla", "losingProgressionWarning": "Perderai tutti i progressi dall'inizio della battaglia. Confermi?", "noEggs": "You are not hatching\nany eggs at the moment!" diff --git a/src/locales/ja/menu-ui-handler.ts b/src/locales/ja/menu-ui-handler.ts index b3dae131f7b..5923052cb62 100644 --- a/src/locales/ja/menu-ui-handler.ts +++ b/src/locales/ja/menu-ui-handler.ts @@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = { "exportSlotSelect": "Select a slot to export from.", "importData": "データのインポート", "exportData": "データのエクスポート", + "consentPreferences": "Consent Preferences", "linkDiscord": "Link Discord", "unlinkDiscord": "Unlink Discord", "linkGoogle": "Link Google", diff --git a/src/locales/ko/menu-ui-handler.ts b/src/locales/ko/menu-ui-handler.ts index 2e036f49b4d..f6d8244f6e3 100644 --- a/src/locales/ko/menu-ui-handler.ts +++ b/src/locales/ko/menu-ui-handler.ts @@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = { "exportSlotSelect": "내보낼 슬롯을 골라주세요.", "importData": "데이터 불러오기", "exportData": "데이터 내보내기", + "consentPreferences": "쿠키 설정 동의", "linkDiscord": "디스코드 연동", "unlinkDiscord": "디스코드 연동해제", "linkGoogle": "구글 연동", diff --git a/src/locales/pt_BR/menu-ui-handler.ts b/src/locales/pt_BR/menu-ui-handler.ts index b874df7e23b..431bb64310e 100644 --- a/src/locales/pt_BR/menu-ui-handler.ts +++ b/src/locales/pt_BR/menu-ui-handler.ts @@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = { "exportSlotSelect": "Selecione um slot para exportar.", "importData": "Importar dados", "exportData": "Exportar dados", + "consentPreferences": "Opções de Privacidade", "linkDiscord": "Conectar Discord", "unlinkDiscord": "Desconectar Discord", "linkGoogle": "Conectar Google", diff --git a/src/locales/zh_CN/menu-ui-handler.ts b/src/locales/zh_CN/menu-ui-handler.ts index e5ca6d977df..467099ddbed 100644 --- a/src/locales/zh_CN/menu-ui-handler.ts +++ b/src/locales/zh_CN/menu-ui-handler.ts @@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = { "exportSlotSelect": "选择要导出的存档位。", "importData": "导入数据", "exportData": "导出数据", + "consentPreferences": "同意偏好", "linkDiscord": "关联Discord", "unlinkDiscord": "解除关联Discord", "linkGoogle": "关联Google", diff --git a/src/locales/zh_TW/menu-ui-handler.ts b/src/locales/zh_TW/menu-ui-handler.ts index e3675b0571e..ab70fd9af33 100644 --- a/src/locales/zh_TW/menu-ui-handler.ts +++ b/src/locales/zh_TW/menu-ui-handler.ts @@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = { "exportSlotSelect": "選擇要導出的存檔位。", "importData": "導入數據", "exportData": "導出數據", + "consentPreferences": "同意偏好", "linkDiscord": "Link Discord", "unlinkDiscord": "Unlink Discord", "linkGoogle": "Link Google", diff --git a/src/ui/menu-ui-handler.ts b/src/ui/menu-ui-handler.ts index 39ef98ab072..02e883b727c 100644 --- a/src/ui/menu-ui-handler.ts +++ b/src/ui/menu-ui-handler.ts @@ -228,7 +228,7 @@ export default class MenuUiHandler extends MessageUiHandler { keepOpen: true }, { - label: "Consent Preferences", + label: i18next.t("menuUiHandler:consentPreferences"), handler: () => { const consentLink = document.querySelector(".termly-display-preferences") as HTMLInputElement; const clickEvent = new MouseEvent("click", {