Ticket #8703: spaceless_strings.patch

File spaceless_strings.patch, 4.3 KB (added by jvprat, 17 years ago)
  • gui/options.cpp

     
    502502        int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW");
    503503
    504504        // The GFX mode popup
    505         _gfxPopUp = new PopUpWidget(boss, prefix + "grModePopup", "Graphics mode: ", labelWidth);
     505        _gfxPopUp = new PopUpWidget(boss, prefix + "grModePopup", "Graphics mode:", labelWidth);
    506506
    507507        _gfxPopUp->appendEntry("<default>");
    508508        _gfxPopUp->appendEntry("");
     
    512512        }
    513513
    514514        // RenderMode popup
    515         _renderModePopUp = new PopUpWidget(boss, prefix + "grRenderPopup", "Render mode: ", labelWidth);
     515        _renderModePopUp = new PopUpWidget(boss, prefix + "grRenderPopup", "Render mode:", labelWidth);
    516516        _renderModePopUp->appendEntry("<default>", Common::kRenderDefault);
    517517        _renderModePopUp->appendEntry("");
    518518        const Common::RenderModeDescription *rm = Common::g_renderModes;
     
    539539        int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW");
    540540
    541541        // The MIDI mode popup & a label
    542         _midiPopUp = new PopUpWidget(boss, prefix + "auMidiPopup", "Music driver: ", labelWidth);
     542        _midiPopUp = new PopUpWidget(boss, prefix + "auMidiPopup", "Music driver:", labelWidth);
    543543
    544544        // Populate it
    545545        const MidiDriverDescription *md = MidiDriver::getAvailableMidiDrivers();
     
    549549        }
    550550
    551551        // Sample rate settings
    552         _outputRatePopUp = new PopUpWidget(boss, prefix + "auSampleRatePopup", "Output rate: ", labelWidth);
     552        _outputRatePopUp = new PopUpWidget(boss, prefix + "auSampleRatePopup", "Output rate:", labelWidth);
    553553
    554554        for (int i = 0; outputRateLabels[i]; i++) {
    555555                _outputRatePopUp->appendEntry(outputRateLabels[i], outputRateValues[i]);
     
    719719
    720720        int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW");
    721721
    722         _autosavePeriodPopUp = new PopUpWidget(tab, "globaloptions_autosaveperiod", "Autosave: ", labelWidth);
     722        _autosavePeriodPopUp = new PopUpWidget(tab, "globaloptions_autosaveperiod", "Autosave:", labelWidth);
    723723
    724724        for (int i = 0; savePeriodLabels[i]; i++) {
    725725                _autosavePeriodPopUp->appendEntry(savePeriodLabels[i], savePeriodValues[i]);
  • gui/launcher.cpp

     
    171171        tab->addTab("Game");
    172172
    173173        // GUI:  Label & edit widget for the game ID
    174         new StaticTextWidget(tab, "gameoptions_id", "ID: ");
     174        new StaticTextWidget(tab, "gameoptions_id", "ID:");
    175175        _domainWidget = new DomainEditTextWidget(tab, "gameoptions_domain", _domain);
    176176
    177177        // GUI:  Label & edit widget for the description
    178         new StaticTextWidget(tab, "gameoptions_name", "Name: ");
     178        new StaticTextWidget(tab, "gameoptions_name", "Name:");
    179179        _descriptionWidget = new EditTextWidget(tab, "gameoptions_desc", description);
    180180
    181181        // Language popup
    182         _langPopUp = new PopUpWidget(tab, "gameoptions_lang", "Language: ", labelWidth);
     182        _langPopUp = new PopUpWidget(tab, "gameoptions_lang", "Language:", labelWidth);
    183183        _langPopUp->appendEntry("<default>");
    184184        _langPopUp->appendEntry("");
    185185        const Common::LanguageDescription *l = Common::g_languages;
     
    188188        }
    189189
    190190        // Platform popup
    191         _platformPopUp = new PopUpWidget(tab, "gameoptions_platform", "Platform: ", labelWidth);
     191        _platformPopUp = new PopUpWidget(tab, "gameoptions_platform", "Platform:", labelWidth);
    192192        _platformPopUp->appendEntry("<default>");
    193193        _platformPopUp->appendEntry("");
    194194        const Common::PlatformDescription *p = Common::g_platforms;
     
    242242        // in the small version of the GUI.
    243243
    244244        // GUI:  Button + Label for the game path
    245         new ButtonWidget(tab, "gameoptions_gamepath", "Game Path: ", kCmdGameBrowser, 0);
     245        new ButtonWidget(tab, "gameoptions_gamepath", "Game Path:", kCmdGameBrowser, 0);
    246246        _gamePathWidget = new StaticTextWidget(tab, "gameoptions_gamepathText", gamePath);
    247247
    248248        // GUI:  Button + Label for the additional path
     
    253253        }
    254254
    255255        // GUI:  Button + Label for the save path
    256         new ButtonWidget(tab, "gameoptions_savepath", "Save Path: ", kCmdSaveBrowser, 0);
     256        new ButtonWidget(tab, "gameoptions_savepath", "Save Path:", kCmdSaveBrowser, 0);
    257257        _savePathWidget = new StaticTextWidget(tab, "gameoptions_savepathText", savePath);
    258258        if (savePath.empty() || !ConfMan.hasKey("savepath", _domain)) {
    259259                _savePathWidget->setLabel("Default");