From 788b85828e43f3e70e5e559269598a05615287e9 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 3 May 2026 15:15:22 +0300 Subject: [PATCH] Add "Press Alt+Z to open the GPU Screen Recorder UI" translation and clean up some things --- src/main.cpp | 2 +- translations/es.txt | 2 ++ translations/fr.txt | 5 ++--- translations/hu.txt | 5 +---- translations/ja.txt | 5 +---- translations/ru.txt | 2 ++ translations/template.txt | 2 ++ translations/uk.txt | 2 ++ 8 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 7c09383..c862de0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -303,7 +303,7 @@ int main(int argc, char **argv) { if(launch_action == LaunchAction::LAUNCH_SHOW) overlay->show(); else if(launch_action == LaunchAction::LAUNCH_HIDE_ANNOUNCE) - overlay->show_notification("Press Alt+Z to open the GPU Screen Recorder UI", 5.0, mgl::Color(255, 255, 255), gsr::get_color_theme().tint_color, gsr::NotificationType::NOTICE, nullptr, gsr::NotificationLevel::ERROR); + overlay->show_notification(TR("Press Alt+Z to open the GPU Screen Recorder UI"), 5.0, mgl::Color(255, 255, 255), gsr::get_color_theme().tint_color, gsr::NotificationType::NOTICE, nullptr, gsr::NotificationLevel::ERROR); rpc_add_commands(rpc.get(), overlay.get()); diff --git a/translations/es.txt b/translations/es.txt index 6a9b353..42df42a 100644 --- a/translations/es.txt +++ b/translations/es.txt @@ -1,5 +1,7 @@ # GPU Screen Recorder UI - Spanish translation +Press Alt+Z to open the GPU Screen Recorder UI=Presiona Alt+Z para abrir la interfaz de GPU Screen Recorder + # General UI Record=Grabar Instant Replay=Repetición Instantánea diff --git a/translations/fr.txt b/translations/fr.txt index dbefb2b..8c0a44e 100644 --- a/translations/fr.txt +++ b/translations/fr.txt @@ -1,7 +1,6 @@ -# GPU Screen Recorder UI - translation template +# GPU Screen Recorder UI - French translation -# Important warning: we f'ed up a little bit and used %s for both strings and numbers in some places, such as time durations (they're fixed by the moment). -# When translating, be careful to use the %d format specifier for numbers in those places. +Press Alt+Z to open the GPU Screen Recorder UI=Appuyez sur Alt+Z pour ouvrir l’interface GPU Screen Recorder # General UI Record=Enregistrer diff --git a/translations/hu.txt b/translations/hu.txt index 7380d55..160d1e6 100644 --- a/translations/hu.txt +++ b/translations/hu.txt @@ -1,9 +1,6 @@ # GPU Screen Recorder UI - Hungarian translation -# Important warning: we f'ed up a little bit and used %s for both strings and numbers in some places, such as time durations (they're fixed by the moment). -# When translating, be careful to use the %d format specifier for numbers in those places. -# Note that all translation strings should be on one line in these translation files. Some translations need to be on multiple lines and the newline character -# should be replaced with \n. +Press Alt+Z to open the GPU Screen Recorder UI=Nyomd meg az Alt+Z-t a GPU Screen Recorder UI megnyitásához # General UI Record=Felvétel diff --git a/translations/ja.txt b/translations/ja.txt index 69f5847..b2ab2db 100644 --- a/translations/ja.txt +++ b/translations/ja.txt @@ -1,9 +1,6 @@ # GPU Screen Recorder UI - Japanese translation -# Important warning: we f'ed up a little bit and used %s for both strings and numbers in some places, such as time durations (they're fixed by the moment). -# When translating, be careful to use the %d format specifier for numbers in those places. -# Note that all translation strings should be on one line in these translation files. Some translations need to be on multiple lines and the newline character -# should be replaced with \n. +Press Alt+Z to open the GPU Screen Recorder UI=Alt+Z を押して GPU Screen Recorder UI を開いてください # General UI Record=録画 diff --git a/translations/ru.txt b/translations/ru.txt index a74e2a2..8c9e8f7 100644 --- a/translations/ru.txt +++ b/translations/ru.txt @@ -1,5 +1,7 @@ # GPU Screen Recorder UI - Russian Translation +Press Alt+Z to open the GPU Screen Recorder UI=Нажмите Alt+Z, чтобы открыть интерфейс GPU Screen Recorder + # General UI Record=Запись Instant Replay=Мгновенный повтор diff --git a/translations/template.txt b/translations/template.txt index aedf4d2..b393dbc 100644 --- a/translations/template.txt +++ b/translations/template.txt @@ -5,6 +5,8 @@ # Note that all translation strings should be on one line in these translation files. Some translations need to be on multiple lines and the newline character # should be replaced with \n. +Press Alt+Z to open the GPU Screen Recorder UI= + # General UI Record= Instant Replay= diff --git a/translations/uk.txt b/translations/uk.txt index 184b467..c8737e6 100644 --- a/translations/uk.txt +++ b/translations/uk.txt @@ -1,5 +1,7 @@ # GPU Screen Recorder UI - Ukrainian Translation +Press Alt+Z to open the GPU Screen Recorder UI=Натисніть Alt+Z, щоб відкрити інтерфейс GPU Screen Recorder + # General UI Record=Запис Instant Replay=Миттєвий повтор