From 632d8de0b29a4189bfa86061b68a24ee0e538615 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Sun, 26 Nov 2023 22:30:24 -0500 Subject: [PATCH] Translate "R Button - Options" --- lang/Czech.ini | 1 + lang/Dutch.ini | 1 + lang/English.ini | 1 + lang/French.ini | 1 + lang/German.ini | 1 + lang/Italian.ini | 1 + lang/Polish.ini | 1 + lang/Portuguese.ini | 1 + lang/Russian.ini | 1 + lang/SpanishES.ini | 1 + lang/SpanishUS.ini | 1 + src/pc/djui/djui.c | 3 +-- 12 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lang/Czech.ini b/lang/Czech.ini index 6cf052b3..2eec2c31 100644 --- a/lang/Czech.ini +++ b/lang/Czech.ini @@ -257,6 +257,7 @@ INFORMATION = "Informace" DEBUG = "Debug" LANGUAGE = "Jazyk" COOP_COMPATIBILITY = "Povolit kompatibilitu sm64ex-coop" +R_BUTTON = "Tlačítko R - Možnosti" [INFORMATION] INFORMATION_TITLE = "INFORMACE" diff --git a/lang/Dutch.ini b/lang/Dutch.ini index cdd2f5ca..a8849421 100644 --- a/lang/Dutch.ini +++ b/lang/Dutch.ini @@ -257,6 +257,7 @@ INFORMATION = "Informatie" DEBUG = "Debug" LANGUAGE = "Taal" COOP_COMPATIBILITY = "Schakel sm64ex-coop compatibiliteit in" +R_BUTTON = "R-knop - Opties" [INFORMATION] INFORMATION_TITLE = "INFORMATIE" diff --git a/lang/English.ini b/lang/English.ini index a2ff3194..e2913d9f 100644 --- a/lang/English.ini +++ b/lang/English.ini @@ -257,6 +257,7 @@ INFORMATION = "Info" DEBUG = "Debug" LANGUAGE = "Language" COOP_COMPATIBILITY = "Enable sm64ex-coop Compatibility" +R_BUTTON = "R Button - Options" [INFORMATION] INFORMATION_TITLE = "INFO" diff --git a/lang/French.ini b/lang/French.ini index 162f4ec9..c64d25d2 100644 --- a/lang/French.ini +++ b/lang/French.ini @@ -257,6 +257,7 @@ INFORMATION = "Information" DEBUG = "Débogage" LANGUAGE = "Langue" COOP_COMPATIBILITY = "Activer la compatibilité sm64ex-coop" +R_BUTTON = "Bouton R - Options" [INFORMATION] INFORMATION_TITLE = "INFORMATION" diff --git a/lang/German.ini b/lang/German.ini index f395dea9..0991c11a 100644 --- a/lang/German.ini +++ b/lang/German.ini @@ -257,6 +257,7 @@ INFORMATION = "Information" DEBUG = "Debug" LANGUAGE = "Sprache" COOP_COMPATIBILITY = "Aktiviere sm64ex-coop-Kompatibilität" +R_BUTTON = "R-Taste - Optionen" [INFORMATION] INFORMATION_TITLE = "INFORMATION" diff --git a/lang/Italian.ini b/lang/Italian.ini index 41aac729..f4c7171e 100644 --- a/lang/Italian.ini +++ b/lang/Italian.ini @@ -255,6 +255,7 @@ INFORMATION = "Informazione" DEBUG = "Debug" LANGUAGE = "Lingua" COOP_COMPATIBILITY = "Abilita la compatibilità sm64ex-coop" +R_BUTTON = "Pulsante R - Opzioni" [INFORMATION] INFORMATION_TITLE = "INFORMAZIONE" diff --git a/lang/Polish.ini b/lang/Polish.ini index d89fba98..bc87d619 100644 --- a/lang/Polish.ini +++ b/lang/Polish.ini @@ -257,6 +257,7 @@ INFORMATION = "Info" DEBUG = "Debugowanie" LANGUAGE = "Jezyk" COOP_COMPATIBILITY = "Włącz kompatybilność sm64ex-coop" +R_BUTTON = "Przycisk R - Opcje" [INFORMATION] INFORMATION_TITLE = "INFO" diff --git a/lang/Portuguese.ini b/lang/Portuguese.ini index b98c42c8..1270ef0d 100644 --- a/lang/Portuguese.ini +++ b/lang/Portuguese.ini @@ -257,6 +257,7 @@ INFORMATION = "Informação" DEBUG = "Debug" LANGUAGE = "Idioma" COOP_COMPATIBILITY = "Ativar a compatibilidade sm64ex-coop" +R_BUTTON = "Botão R - Opções" [INFORMATION] INFORMATION_TITLE = "INFORMAÇÃO" diff --git a/lang/Russian.ini b/lang/Russian.ini index 531e6a31..240cc42b 100644 --- a/lang/Russian.ini +++ b/lang/Russian.ini @@ -256,6 +256,7 @@ INFORMATION = "Информация" DEBUG = "Отладка" LANGUAGE = "Язык" COOP_COMPATIBILITY = "Включить совместимость sm64ex-coop" +R_BUTTON = "Кнопка R - Опции" [INFORMATION] INFORMATION_TITLE = "INFORMATION" diff --git a/lang/SpanishES.ini b/lang/SpanishES.ini index d1004ac7..2d5617bf 100644 --- a/lang/SpanishES.ini +++ b/lang/SpanishES.ini @@ -257,6 +257,7 @@ INFORMATION = "Información" DEBUG = "Depuración" LANGUAGE = "Idioma" COOP_COMPATIBILITY = "Habilitar la compatibilidad de sm64ex-coop" +R_BUTTON = "Botón R - Opciones" [INFORMATION] INFORMATION_TITLE = "INFORMACIÓN" diff --git a/lang/SpanishUS.ini b/lang/SpanishUS.ini index 0196dc25..9f4c131e 100644 --- a/lang/SpanishUS.ini +++ b/lang/SpanishUS.ini @@ -257,6 +257,7 @@ INFORMATION = "Información" DEBUG = "Depuración" LANGUAGE = "Idioma" COOP_COMPATIBILITY = "Habilitar la compatibilidad de sm64ex-coop" +R_BUTTON = "Botón R - Opciones" [INFORMATION] INFORMATION_TITLE = "INFORMACIÓN" diff --git a/src/pc/djui/djui.c b/src/pc/djui/djui.c index 5090eea7..9b8b9473 100644 --- a/src/pc/djui/djui.c +++ b/src/pc/djui/djui.c @@ -62,11 +62,10 @@ void patch_djui_interpolated(UNUSED f32 delta) { void djui_init(void) { gDjuiRoot = djui_root_create(); - sDjuiPauseOptions = djui_text_create(&gDjuiRoot->base, "R Button - Options"); + sDjuiPauseOptions = djui_text_create(&gDjuiRoot->base, DLANG(MISC, R_BUTTON)); djui_base_set_size_type(&sDjuiPauseOptions->base, DJUI_SVT_RELATIVE, DJUI_SVT_ABSOLUTE); djui_base_set_size(&sDjuiPauseOptions->base, 1.0f, 32); djui_base_set_location(&sDjuiPauseOptions->base, 0, 16); - djui_text_set_drop_shadow(sDjuiPauseOptions, 0, 0, 0, 255); djui_text_set_alignment(sDjuiPauseOptions, DJUI_HALIGN_CENTER, DJUI_VALIGN_CENTER); djui_base_set_visible(&sDjuiPauseOptions->base, false);