Update fullscreen_ui.cpp

Make "version" in Big picture translatable
This commit is contained in:
xujibbs 2024-08-18 09:02:22 +08:00 committed by GitHub
parent 681fab5da3
commit 3133cb5b32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -7054,7 +7054,7 @@ void FullscreenUI::DrawAboutWindow()
FSUI_CSTR("DuckStation is a free and open-source simulator/emulator of the Sony PlayStation(TM) " FSUI_CSTR("DuckStation is a free and open-source simulator/emulator of the Sony PlayStation(TM) "
"console, focusing on playability, speed, and long-term maintainability.")); "console, focusing on playability, speed, and long-term maintainability."));
ImGui::NewLine(); ImGui::NewLine();
ImGui::TextWrapped("Version: %s", g_scm_tag_str); ImGui::TextWrapped(FSUI_CSTR("Version: %s"), g_scm_tag_str);
ImGui::NewLine(); ImGui::NewLine();
ImGui::TextWrapped( ImGui::TextWrapped(
"%s", FSUI_CSTR("Duck icon by icons8 (https://icons8.com/icon/74847/platforms.undefined.short-title)")); "%s", FSUI_CSTR("Duck icon by icons8 (https://icons8.com/icon/74847/platforms.undefined.short-title)"));
@ -7855,5 +7855,6 @@ TRANSLATE_NOOP("FullscreenUI", "{} Frames");
TRANSLATE_NOOP("FullscreenUI", "{} deleted."); TRANSLATE_NOOP("FullscreenUI", "{} deleted.");
TRANSLATE_NOOP("FullscreenUI", "{} does not exist."); TRANSLATE_NOOP("FullscreenUI", "{} does not exist.");
TRANSLATE_NOOP("FullscreenUI", "{} is not a valid disc image."); TRANSLATE_NOOP("FullscreenUI", "{} is not a valid disc image.");
TRANSLATE_NOOP("FullscreenUI", "Version: %s");
// TRANSLATION-STRING-AREA-END // TRANSLATION-STRING-AREA-END
#endif #endif