From d66d2f1d5a641ca172df239300b3e345611c1a27 Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Fri, 18 Apr 2025 21:39:43 -0300 Subject: [PATCH] :globe_with_meridians: ags(i18n): move 'ask_popup.accept' and 'ask_popup.cancel' keys to root structure --- ags/i18n/lang/en_US.ts | 10 +++++----- ags/i18n/lang/pt_BR.ts | 10 +++++----- ags/i18n/struct.ts | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ags/i18n/lang/en_US.ts b/ags/i18n/lang/en_US.ts index 2cb93e7..7b2a674 100644 --- a/ags/i18n/lang/en_US.ts +++ b/ags/i18n/lang/en_US.ts @@ -2,6 +2,10 @@ import { i18nStruct } from "../struct"; export default { language: "English (United States)", + + cancel: "Cancel", + accept: "Ok", + bar: { apps: { tooltip: "Applications" @@ -37,10 +41,6 @@ export default { } }, ask_popup: { - title: "Question", - options: { - cancel: "Cancel", - accept: "Ok" - } + title: "Question" } } as i18nStruct; diff --git a/ags/i18n/lang/pt_BR.ts b/ags/i18n/lang/pt_BR.ts index ec5899d..359a463 100644 --- a/ags/i18n/lang/pt_BR.ts +++ b/ags/i18n/lang/pt_BR.ts @@ -2,6 +2,10 @@ import { i18nStruct } from "../struct"; export default { language: "Português (Brasil)", + + cancel: "Cancelar", + accept: "Ok", + bar: { apps: { tooltip: "Aplicativos" @@ -37,10 +41,6 @@ export default { } }, ask_popup: { - title: "Pergunta", - options: { - cancel: "Cancelar", - accept: "Ok" - } + title: "Pergunta" } } as i18nStruct; diff --git a/ags/i18n/struct.ts b/ags/i18n/struct.ts index 33b9e0d..20903de 100644 --- a/ags/i18n/struct.ts +++ b/ags/i18n/struct.ts @@ -1,5 +1,9 @@ export type i18nStruct = { language: string, + + cancel: string, + accept: string + bar: { apps: { tooltip: string @@ -35,10 +39,6 @@ export type i18nStruct = { } }, ask_popup: { - title: string, - options: { - cancel: string, - accept: string - } + title: string } };