diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/terminal.cpp | 6 | ||||
-rw-r--r-- | gui/theme/common/languages/pl.xml | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gui/terminal.cpp b/gui/terminal.cpp index 29b0e8469..2b2671c0f 100644 --- a/gui/terminal.cpp +++ b/gui/terminal.cpp @@ -896,6 +896,10 @@ void GUITerminal::InitAndResize() void GUITerminal::SetPageFocus(int inFocus) { - if (inFocus && isConditionTrue()) + if (inFocus && isConditionTrue()) { + // TODO: grab focus correctly, this hack grabs focus and insists that the terminal be the focus regardless of other elements + // It's highly unlikely that there will be any other visible input elements on the page anyway... + SetInputFocus(1); InitAndResize(); + } } diff --git a/gui/theme/common/languages/pl.xml b/gui/theme/common/languages/pl.xml index 75bcb0ac9..b28a488b2 100644 --- a/gui/theme/common/languages/pl.xml +++ b/gui/theme/common/languages/pl.xml @@ -82,6 +82,7 @@ <string name="file">Plik:</string> <string name="zip_sig_chk">Weryfikacja sygnatury pliku zip</string> <string name="inject_twrp_chk">Zaszczep TWRP po instalacji</string> + <string name="install_reboot_chk">Uruchom ponownie po instalacji</string> <string name="options_hdr">Opcje</string> <string name="confirm_flash_hdr">Potwierdź instalację</string> <string name="zip_queue">Kolejka:</string> @@ -666,5 +667,6 @@ <string name="change_fs_err">Niepowodzenie zmiany systemu plików.</string> <string name="theme_ver_err">Wersja niestandardowego motywu nie zgadza się z wersją TWRP. Użyto domyślnego motywu.</string> <string name="up_a_level">(Cofnij)</string> + <string name="install_reboot">Ponowne uruchomienie za 5 sekund</string> </resources> </language>
\ No newline at end of file |