diff options
author | Eugene Sandulenko | 2007-06-27 09:28:09 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-06-27 09:28:09 +0000 |
commit | 3165e380c50d792a6850a9da25e2c0503a201ecd (patch) | |
tree | d76b952b6e2351cba2ea6a664b8fcd8e6a7eabe2 /gui | |
parent | b939c15f9d217597c21733667ce94f885c248dc8 (diff) | |
download | scummvm-rg350-3165e380c50d792a6850a9da25e2c0503a201ecd.tar.gz scummvm-rg350-3165e380c50d792a6850a9da25e2c0503a201ecd.tar.bz2 scummvm-rg350-3165e380c50d792a6850a9da25e2c0503a201ecd.zip |
Patch #1743196: "GUI: Remove trailing spaces in some strings"
svn-id: r27741
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 12 | ||||
-rw-r--r-- | gui/options.cpp | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 705665dc2a..a32f3b305b 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -171,15 +171,15 @@ EditGameDialog::EditGameDialog(const String &domain, const String &desc) tab->addTab("Game"); // GUI: Label & edit widget for the game ID - new StaticTextWidget(tab, "gameoptions_id", "ID: "); + new StaticTextWidget(tab, "gameoptions_id", "ID:"); _domainWidget = new DomainEditTextWidget(tab, "gameoptions_domain", _domain); // GUI: Label & edit widget for the description - new StaticTextWidget(tab, "gameoptions_name", "Name: "); + new StaticTextWidget(tab, "gameoptions_name", "Name:"); _descriptionWidget = new EditTextWidget(tab, "gameoptions_desc", description); // Language popup - _langPopUp = new PopUpWidget(tab, "gameoptions_lang", "Language: ", labelWidth); + _langPopUp = new PopUpWidget(tab, "gameoptions_lang", "Language:", labelWidth); _langPopUp->appendEntry("<default>"); _langPopUp->appendEntry(""); const Common::LanguageDescription *l = Common::g_languages; @@ -188,7 +188,7 @@ EditGameDialog::EditGameDialog(const String &domain, const String &desc) } // Platform popup - _platformPopUp = new PopUpWidget(tab, "gameoptions_platform", "Platform: ", labelWidth); + _platformPopUp = new PopUpWidget(tab, "gameoptions_platform", "Platform:", labelWidth); _platformPopUp->appendEntry("<default>"); _platformPopUp->appendEntry(""); const Common::PlatformDescription *p = Common::g_platforms; @@ -242,7 +242,7 @@ EditGameDialog::EditGameDialog(const String &domain, const String &desc) // in the small version of the GUI. // GUI: Button + Label for the game path - new ButtonWidget(tab, "gameoptions_gamepath", "Game Path: ", kCmdGameBrowser, 0); + new ButtonWidget(tab, "gameoptions_gamepath", "Game Path:", kCmdGameBrowser, 0); _gamePathWidget = new StaticTextWidget(tab, "gameoptions_gamepathText", gamePath); // GUI: Button + Label for the additional path @@ -253,7 +253,7 @@ EditGameDialog::EditGameDialog(const String &domain, const String &desc) } // GUI: Button + Label for the save path - new ButtonWidget(tab, "gameoptions_savepath", "Save Path: ", kCmdSaveBrowser, 0); + new ButtonWidget(tab, "gameoptions_savepath", "Save Path:", kCmdSaveBrowser, 0); _savePathWidget = new StaticTextWidget(tab, "gameoptions_savepathText", savePath); if (savePath.empty() || !ConfMan.hasKey("savepath", _domain)) { _savePathWidget->setLabel("Default"); diff --git a/gui/options.cpp b/gui/options.cpp index 8e38a20b94..c14677f007 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -502,7 +502,7 @@ void OptionsDialog::addGraphicControls(GuiObject *boss, const String &prefix) { int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW"); // The GFX mode popup - _gfxPopUp = new PopUpWidget(boss, prefix + "grModePopup", "Graphics mode: ", labelWidth); + _gfxPopUp = new PopUpWidget(boss, prefix + "grModePopup", "Graphics mode:", labelWidth); _gfxPopUp->appendEntry("<default>"); _gfxPopUp->appendEntry(""); @@ -512,7 +512,7 @@ void OptionsDialog::addGraphicControls(GuiObject *boss, const String &prefix) { } // RenderMode popup - _renderModePopUp = new PopUpWidget(boss, prefix + "grRenderPopup", "Render mode: ", labelWidth); + _renderModePopUp = new PopUpWidget(boss, prefix + "grRenderPopup", "Render mode:", labelWidth); _renderModePopUp->appendEntry("<default>", Common::kRenderDefault); _renderModePopUp->appendEntry(""); const Common::RenderModeDescription *rm = Common::g_renderModes; @@ -539,7 +539,7 @@ void OptionsDialog::addAudioControls(GuiObject *boss, const String &prefix) { int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW"); // The MIDI mode popup & a label - _midiPopUp = new PopUpWidget(boss, prefix + "auMidiPopup", "Music driver: ", labelWidth); + _midiPopUp = new PopUpWidget(boss, prefix + "auMidiPopup", "Music driver:", labelWidth); // Populate it const MidiDriverDescription *md = MidiDriver::getAvailableMidiDrivers(); @@ -549,7 +549,7 @@ void OptionsDialog::addAudioControls(GuiObject *boss, const String &prefix) { } // Sample rate settings - _outputRatePopUp = new PopUpWidget(boss, prefix + "auSampleRatePopup", "Output rate: ", labelWidth); + _outputRatePopUp = new PopUpWidget(boss, prefix + "auSampleRatePopup", "Output rate:", labelWidth); for (int i = 0; outputRateLabels[i]; i++) { _outputRatePopUp->appendEntry(outputRateLabels[i], outputRateValues[i]); @@ -719,7 +719,7 @@ GlobalOptionsDialog::GlobalOptionsDialog() int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW"); - _autosavePeriodPopUp = new PopUpWidget(tab, "globaloptions_autosaveperiod", "Autosave: ", labelWidth); + _autosavePeriodPopUp = new PopUpWidget(tab, "globaloptions_autosaveperiod", "Autosave:", labelWidth); for (int i = 0; savePeriodLabels[i]; i++) { _autosavePeriodPopUp->appendEntry(savePeriodLabels[i], savePeriodValues[i]); |