[Scummvm-git-logs] scummvm master -> 071ce9ef29ac4e6850694b2e76f81df0a7e579ca

sev- noreply at scummvm.org
Sun Mar 26 16:02:34 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
071ce9ef29 GUI: Add I18N comments to the launcher buttons


Commit: 071ce9ef29ac4e6850694b2e76f81df0a7e579ca
    https://github.com/scummvm/scummvm/commit/071ce9ef29ac4e6850694b2e76f81df0a7e579ca
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-03-26T18:02:27+02:00

Commit Message:
GUI: Add I18N comments to the launcher buttons

Changed paths:
    gui/launcher.cpp


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);
 	}
 




More information about the Scummvm-git-logs mailing list