From 071ce9ef29ac4e6850694b2e76f81df0a7e579ca Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 26 Mar 2023 18:02:02 +0200 Subject: [PATCH] GUI: Add I18N comments to the launcher buttons --- gui/launcher.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gui/launcher.cpp b/gui/launcher.cpp index ab7b83c00e4..5a9447ece87 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -244,21 +244,29 @@ void LauncherDialog::build() { #endif new StaticTextWidget(this, _title + ".Version", Common::U32String(gScummVMFullVersion)); - if (!g_system->hasFeature(OSystem::kFeatureNoQuit)) + if (!g_system->hasFeature(OSystem::kFeatureNoQuit)) { + // I18N: Button Quit ScummVM program. Q is the shortcut, Ctrl+Q, put it in parens for non-latin (~Q~) new ButtonWidget(this, _title + ".QuitButton", _("~Q~uit"), _("Quit ScummVM"), kQuitCmd); + } + // I18N: Button About ScummVM program. b is the shortcut, Ctrl+b, put it in parens for non-latin (~b~) new ButtonWidget(this, _title + ".AboutButton", _("A~b~out"), _("About ScummVM"), kAboutCmd); + // I18N: Button caption. O is the shortcut, Ctrl+O, put it in parens for non-latin (~O~) new ButtonWidget(this, _title + ".OptionsButton", _("Global ~O~ptions..."), _("Change global ScummVM options"), kOptionsCmd, 0, _c("Global ~O~pts...", "lowres")); // Above the lowest button rows: two more buttons (directly below the list box) DropdownButtonWidget *addButton = + // I18N: Button caption. A is the shortcut, Ctrl+A, put it in parens for non-latin (~A~) new DropdownButtonWidget(this, _title + ".AddGameButton", _("~A~dd Game..."), _("Add games to the list"), kAddGameCmd, 0, _c("~A~dd Game...", "lowres")); _addButton = addButton; _removeButton = + // I18N: Button caption. R is the shortcut, Ctrl+R, put it in parens for non-latin (~R~) new ButtonWidget(this, _title + ".RemoveGameButton", _("~R~emove Game"), _("Remove game from the list. The game data files stay intact"), kRemoveGameCmd, 0, _c("~R~emove Game", "lowres")); if (g_system->getOverlayWidth() > 320) { + // I18N: Button caption. Mass add games addButton->appendEntry(_("Mass Add..."), kMassAddGameCmd); } else { + // I18N: Button caption for lower resolution GUI. Mass add games addButton->appendEntry(_c("Mass Add...", "lowres"), kMassAddGameCmd); }