mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 00:36:25 +00:00
[Localization] Localized "Consent Preferences" in menu-ui-handler.ts (#3513)
* [Localization] Localized "Consent Preferences" in menu-ui-handler.ts * Update src/locales/fr/menu-ui-handler.ts Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> * 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' <adrien.grivel@hotmail.fr> * Update src/locales/es/menu-ui-handler.ts Co-authored-by: Asdar <asdargmng@gmail.com> * Update src/locales/zh_CN/menu-ui-handler.ts Co-authored-by: RimKnight <rimknight852@gmail.com> * Update src/locales/zh_TW/menu-ui-handler.ts Co-authored-by: RimKnight <rimknight852@gmail.com> * Update src/locales/ko/menu-ui-handler.ts Co-authored-by: Enoch <enoch.jwsong@gmail.com> --------- Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> 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 <asdargmng@gmail.com> Co-authored-by: RimKnight <rimknight852@gmail.com> Co-authored-by: Enoch <enoch.jwsong@gmail.com>
This commit is contained in:
parent
05fdac39ec
commit
1180fd0122
@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"exportSlotSelect": "Select a slot to export from.",
|
"exportSlotSelect": "Select a slot to export from.",
|
||||||
"importData": "Import Data",
|
"importData": "Import Data",
|
||||||
"exportData": "Export Data",
|
"exportData": "Export Data",
|
||||||
|
"consentPreferences": "Consent Preferences",
|
||||||
"linkDiscord": "Link Discord",
|
"linkDiscord": "Link Discord",
|
||||||
"unlinkDiscord": "Unlink Discord",
|
"unlinkDiscord": "Unlink Discord",
|
||||||
"linkGoogle": "Link Google",
|
"linkGoogle": "Link Google",
|
||||||
|
@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"exportSlotSelect": "Wähle einen Slot zum Exportieren.",
|
"exportSlotSelect": "Wähle einen Slot zum Exportieren.",
|
||||||
"importData": "Daten importieren",
|
"importData": "Daten importieren",
|
||||||
"exportData": "Daten exportieren",
|
"exportData": "Daten exportieren",
|
||||||
|
"consentPreferences": "Einwilligungspräferenzen",
|
||||||
"linkDiscord": "Discord verbinden",
|
"linkDiscord": "Discord verbinden",
|
||||||
"unlinkDiscord": "Discord trennen",
|
"unlinkDiscord": "Discord trennen",
|
||||||
"linkGoogle": "Google verbinden",
|
"linkGoogle": "Google verbinden",
|
||||||
|
@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"exportSlotSelect": "Select a slot to export from.",
|
"exportSlotSelect": "Select a slot to export from.",
|
||||||
"importData": "Import Data",
|
"importData": "Import Data",
|
||||||
"exportData": "Export Data",
|
"exportData": "Export Data",
|
||||||
|
"consentPreferences": "Consent Preferences",
|
||||||
"linkDiscord": "Link Discord",
|
"linkDiscord": "Link Discord",
|
||||||
"unlinkDiscord": "Unlink Discord",
|
"unlinkDiscord": "Unlink Discord",
|
||||||
"linkGoogle": "Link Google",
|
"linkGoogle": "Link Google",
|
||||||
|
@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"exportSlotSelect": "Selecciona una ranura para exportar.",
|
"exportSlotSelect": "Selecciona una ranura para exportar.",
|
||||||
"importData": "Importar Datos",
|
"importData": "Importar Datos",
|
||||||
"exportData": "Exportar Datos",
|
"exportData": "Exportar Datos",
|
||||||
|
"consentPreferences": "Consentimiento de datos",
|
||||||
"linkDiscord": "Conectar Discord",
|
"linkDiscord": "Conectar Discord",
|
||||||
"unlinkDiscord": "Desconectar Discord",
|
"unlinkDiscord": "Desconectar Discord",
|
||||||
"linkGoogle": "Conectar Google",
|
"linkGoogle": "Conectar Google",
|
||||||
|
@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"exportSlotSelect": "Sélectionnez l’emplacement depuis lequel exporter les données.",
|
"exportSlotSelect": "Sélectionnez l’emplacement depuis lequel exporter les données.",
|
||||||
"importData": "Importer données",
|
"importData": "Importer données",
|
||||||
"exportData": "Exporter données",
|
"exportData": "Exporter données",
|
||||||
|
"consentPreferences": "Gérer les cookies",
|
||||||
"linkDiscord": "Lier à Discord",
|
"linkDiscord": "Lier à Discord",
|
||||||
"unlinkDiscord": "Délier Discord",
|
"unlinkDiscord": "Délier Discord",
|
||||||
"linkGoogle": "Lier à Google",
|
"linkGoogle": "Lier à Google",
|
||||||
|
@ -16,12 +16,13 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"importSlotSelect": "Seleziona uno slot in cui importare.",
|
"importSlotSelect": "Seleziona uno slot in cui importare.",
|
||||||
"exportSession": "Esporta sessione",
|
"exportSession": "Esporta sessione",
|
||||||
"exportSlotSelect": "Seleziona uno slot da cui esportare.",
|
"exportSlotSelect": "Seleziona uno slot da cui esportare.",
|
||||||
"linkDiscord": "Link Discord",
|
|
||||||
"unlinkDiscord": "Unlink Discord",
|
|
||||||
"linkGoogle": "Link Google",
|
|
||||||
"unlinkGoogle": "Unlink Google",
|
|
||||||
"importData": "Importa dati",
|
"importData": "Importa dati",
|
||||||
"exportData": "Esporta dati",
|
"exportData": "Esporta dati",
|
||||||
|
"consentPreferences": "Consenti preferenze",
|
||||||
|
"linkDiscord": "Collega Discord",
|
||||||
|
"unlinkDiscord": "Scollega Discord",
|
||||||
|
"linkGoogle": "Collega Google",
|
||||||
|
"unlinkGoogle": "Scollega Google",
|
||||||
"cancel": "Annulla",
|
"cancel": "Annulla",
|
||||||
"losingProgressionWarning": "Perderai tutti i progressi dall'inizio della battaglia. Confermi?",
|
"losingProgressionWarning": "Perderai tutti i progressi dall'inizio della battaglia. Confermi?",
|
||||||
"noEggs": "You are not hatching\nany eggs at the moment!"
|
"noEggs": "You are not hatching\nany eggs at the moment!"
|
||||||
|
@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"exportSlotSelect": "Select a slot to export from.",
|
"exportSlotSelect": "Select a slot to export from.",
|
||||||
"importData": "データのインポート",
|
"importData": "データのインポート",
|
||||||
"exportData": "データのエクスポート",
|
"exportData": "データのエクスポート",
|
||||||
|
"consentPreferences": "Consent Preferences",
|
||||||
"linkDiscord": "Link Discord",
|
"linkDiscord": "Link Discord",
|
||||||
"unlinkDiscord": "Unlink Discord",
|
"unlinkDiscord": "Unlink Discord",
|
||||||
"linkGoogle": "Link Google",
|
"linkGoogle": "Link Google",
|
||||||
|
@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"exportSlotSelect": "내보낼 슬롯을 골라주세요.",
|
"exportSlotSelect": "내보낼 슬롯을 골라주세요.",
|
||||||
"importData": "데이터 불러오기",
|
"importData": "데이터 불러오기",
|
||||||
"exportData": "데이터 내보내기",
|
"exportData": "데이터 내보내기",
|
||||||
|
"consentPreferences": "쿠키 설정 동의",
|
||||||
"linkDiscord": "디스코드 연동",
|
"linkDiscord": "디스코드 연동",
|
||||||
"unlinkDiscord": "디스코드 연동해제",
|
"unlinkDiscord": "디스코드 연동해제",
|
||||||
"linkGoogle": "구글 연동",
|
"linkGoogle": "구글 연동",
|
||||||
|
@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"exportSlotSelect": "Selecione um slot para exportar.",
|
"exportSlotSelect": "Selecione um slot para exportar.",
|
||||||
"importData": "Importar dados",
|
"importData": "Importar dados",
|
||||||
"exportData": "Exportar dados",
|
"exportData": "Exportar dados",
|
||||||
|
"consentPreferences": "Opções de Privacidade",
|
||||||
"linkDiscord": "Conectar Discord",
|
"linkDiscord": "Conectar Discord",
|
||||||
"unlinkDiscord": "Desconectar Discord",
|
"unlinkDiscord": "Desconectar Discord",
|
||||||
"linkGoogle": "Conectar Google",
|
"linkGoogle": "Conectar Google",
|
||||||
|
@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"exportSlotSelect": "选择要导出的存档位。",
|
"exportSlotSelect": "选择要导出的存档位。",
|
||||||
"importData": "导入数据",
|
"importData": "导入数据",
|
||||||
"exportData": "导出数据",
|
"exportData": "导出数据",
|
||||||
|
"consentPreferences": "同意偏好",
|
||||||
"linkDiscord": "关联Discord",
|
"linkDiscord": "关联Discord",
|
||||||
"unlinkDiscord": "解除关联Discord",
|
"unlinkDiscord": "解除关联Discord",
|
||||||
"linkGoogle": "关联Google",
|
"linkGoogle": "关联Google",
|
||||||
|
@ -18,6 +18,7 @@ export const menuUiHandler: SimpleTranslationEntries = {
|
|||||||
"exportSlotSelect": "選擇要導出的存檔位。",
|
"exportSlotSelect": "選擇要導出的存檔位。",
|
||||||
"importData": "導入數據",
|
"importData": "導入數據",
|
||||||
"exportData": "導出數據",
|
"exportData": "導出數據",
|
||||||
|
"consentPreferences": "同意偏好",
|
||||||
"linkDiscord": "Link Discord",
|
"linkDiscord": "Link Discord",
|
||||||
"unlinkDiscord": "Unlink Discord",
|
"unlinkDiscord": "Unlink Discord",
|
||||||
"linkGoogle": "Link Google",
|
"linkGoogle": "Link Google",
|
||||||
|
@ -228,7 +228,7 @@ export default class MenuUiHandler extends MessageUiHandler {
|
|||||||
keepOpen: true
|
keepOpen: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Consent Preferences",
|
label: i18next.t("menuUiHandler:consentPreferences"),
|
||||||
handler: () => {
|
handler: () => {
|
||||||
const consentLink = document.querySelector(".termly-display-preferences") as HTMLInputElement;
|
const consentLink = document.querySelector(".termly-display-preferences") as HTMLInputElement;
|
||||||
const clickEvent = new MouseEvent("click", {
|
const clickEvent = new MouseEvent("click", {
|
||||||
|
Loading…
Reference in New Issue
Block a user