aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Crozat2018-07-22 21:28:12 +0100
committerThierry Crozat2018-07-22 21:28:12 +0100
commit0b6ef93b855660b36ce8641dc5cd36e5d465142b (patch)
tree016d03e87611710c1dfe146d4ae2b6f889298690
parent1832dd0babb0b477a59d77f15c3a8d376b37018b (diff)
downloadscummvm-rg350-0b6ef93b855660b36ce8641dc5cd36e5d465142b.tar.gz
scummvm-rg350-0b6ef93b855660b36ce8641dc5cd36e5d465142b.tar.bz2
scummvm-rg350-0b6ef93b855660b36ce8641dc5cd36e5d465142b.zip
GUI: Use consistent capitalization for options
As discussed on the mailing list we should use title capitalization only for push buttons and tabs and use sentence capitalization for everything else.
-rw-r--r--audio/adlib.cpp2
-rw-r--r--audio/mods/paula.cpp2
-rw-r--r--audio/softsynth/appleiigs.cpp2
-rw-r--r--audio/softsynth/cms.cpp2
-rw-r--r--audio/softsynth/mt32.cpp2
-rw-r--r--audio/softsynth/pcspk.cpp4
-rw-r--r--audio/softsynth/sid.cpp2
-rw-r--r--gui/ThemeEngine.cpp4
-rw-r--r--gui/options.cpp20
9 files changed, 20 insertions, 20 deletions
diff --git a/audio/adlib.cpp b/audio/adlib.cpp
index fd21eb1537..9ea3b88cbe 100644
--- a/audio/adlib.cpp
+++ b/audio/adlib.cpp
@@ -2287,7 +2287,7 @@ void MidiDriver_ADLIB::adlibNoteOnEx(int chan, byte note, int mod) {
class AdLibEmuMusicPlugin : public MusicPluginObject {
public:
const char *getName() const {
- return _s("AdLib Emulator");
+ return _s("AdLib emulator");
}
const char *getId() const {
diff --git a/audio/mods/paula.cpp b/audio/mods/paula.cpp
index 896a272ee9..0ebf3bc32a 100644
--- a/audio/mods/paula.cpp
+++ b/audio/mods/paula.cpp
@@ -193,7 +193,7 @@ int Paula::readBufferIntern(int16 *buffer, const int numSamples) {
class AmigaMusicPlugin : public NullMusicPlugin {
public:
const char *getName() const {
- return _s("Amiga Audio Emulator");
+ return _s("Amiga Audio emulator");
}
const char *getId() const {
diff --git a/audio/softsynth/appleiigs.cpp b/audio/softsynth/appleiigs.cpp
index e07e282de6..49e31b0e7b 100644
--- a/audio/softsynth/appleiigs.cpp
+++ b/audio/softsynth/appleiigs.cpp
@@ -30,7 +30,7 @@
class AppleIIGSMusicPlugin : public NullMusicPlugin {
public:
const char *getName() const {
- return _s("Apple II GS Emulator (NOT IMPLEMENTED)");
+ return _s("Apple II GS emulator (NOT IMPLEMENTED)");
}
const char *getId() const {
diff --git a/audio/softsynth/cms.cpp b/audio/softsynth/cms.cpp
index 206bd36d2d..ce058b515b 100644
--- a/audio/softsynth/cms.cpp
+++ b/audio/softsynth/cms.cpp
@@ -347,7 +347,7 @@ void CMSEmulator::portWriteIntern(int chip, int offset, int data) {
class CMSMusicPlugin : public NullMusicPlugin {
public:
const char *getName() const {
- return _s("Creative Music System Emulator");
+ return _s("Creative Music System emulator");
}
const char *getId() const {
diff --git a/audio/softsynth/mt32.cpp b/audio/softsynth/mt32.cpp
index 38978b8edf..09a8083f7b 100644
--- a/audio/softsynth/mt32.cpp
+++ b/audio/softsynth/mt32.cpp
@@ -434,7 +434,7 @@ void MidiDriver_ThreadedMT32::onTimer() {
class MT32EmuMusicPlugin : public MusicPluginObject {
public:
const char *getName() const {
- return _s("MT-32 Emulator");
+ return _s("MT-32 emulator");
}
const char *getId() const {
diff --git a/audio/softsynth/pcspk.cpp b/audio/softsynth/pcspk.cpp
index 72f33a4761..e490583749 100644
--- a/audio/softsynth/pcspk.cpp
+++ b/audio/softsynth/pcspk.cpp
@@ -136,7 +136,7 @@ int8 PCSpeaker::generateTriangle(uint32 x, uint32 oscLength) {
class PCSpeakerMusicPlugin : public NullMusicPlugin {
public:
const char *getName() const {
- return _s("PC Speaker Emulator");
+ return _s("PC Speaker emulator");
}
const char *getId() const {
@@ -155,7 +155,7 @@ MusicDevices PCSpeakerMusicPlugin::getDevices() const {
class PCjrMusicPlugin : public NullMusicPlugin {
public:
const char *getName() const {
- return _s("IBM PCjr Emulator");
+ return _s("IBM PCjr emulator");
}
const char *getId() const {
diff --git a/audio/softsynth/sid.cpp b/audio/softsynth/sid.cpp
index bafbd4ab53..ac26922514 100644
--- a/audio/softsynth/sid.cpp
+++ b/audio/softsynth/sid.cpp
@@ -1427,7 +1427,7 @@ int SID::updateClock(cycle_count& delta_t, short* buf, int n, int interleave) {
class C64MusicPlugin : public NullMusicPlugin {
public:
const char *getName() const {
- return _s("C64 Audio Emulator");
+ return _s("C64 Audio emulator");
}
const char *getId() const {
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 2dc4c063ab..d38a03fb82 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -254,9 +254,9 @@ ThemeEngine::~ThemeEngine() {
*********************************************************/
const ThemeEngine::Renderer ThemeEngine::_rendererModes[] = {
{ _s("Disabled GFX"), _sc("Disabled GFX", "lowres"), "none", kGfxDisabled },
- { _s("Standard Renderer"), _s("Standard"), "normal", kGfxStandard },
+ { _s("Standard renderer"), _s("Standard"), "normal", kGfxStandard },
#ifndef DISABLE_FANCY_THEMES
- { _s("Antialiased Renderer"), _s("Antialiased"), "antialias", kGfxAntialias }
+ { _s("Antialiased renderer"), _s("Antialiased"), "antialias", kGfxAntialias }
#endif
};
diff --git a/gui/options.cpp b/gui/options.cpp
index 3c5abeada7..d6ee02b823 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -119,7 +119,7 @@ enum {
kApplyCmd = 'appl'
};
-static const char *savePeriodLabels[] = { _s("Never"), _s("every 5 mins"), _s("every 10 mins"), _s("every 15 mins"), _s("every 30 mins"), 0 };
+static const char *savePeriodLabels[] = { _s("Never"), _s("Every 5 mins"), _s("Every 10 mins"), _s("Every 15 mins"), _s("Every 30 mins"), 0 };
static const int savePeriodValues[] = { 0, 5 * 60, 10 * 60, 15 * 60, 30 * 60, -1 };
// The keyboard mouse speed values range from 0 to 7 and correspond to speeds shown in the label
// "10" (value 3) is the default speed corresponding to the speed before introduction of this control
@@ -1100,9 +1100,9 @@ void OptionsDialog::addGraphicControls(GuiObject *boss, const Common::String &pr
void OptionsDialog::addAudioControls(GuiObject *boss, const Common::String &prefix) {
// The MIDI mode popup & a label
if (g_system->getOverlayWidth() > 320)
- _midiPopUpDesc = new StaticTextWidget(boss, prefix + "auMidiPopupDesc", _domain == Common::ConfigManager::kApplicationDomain ? _("Preferred Device:") : _("Music Device:"), _domain == Common::ConfigManager::kApplicationDomain ? _("Specifies preferred sound device or sound card emulator") : _("Specifies output sound device or sound card emulator"));
+ _midiPopUpDesc = new StaticTextWidget(boss, prefix + "auMidiPopupDesc", _domain == Common::ConfigManager::kApplicationDomain ? _("Preferred device:") : _("Music device:"), _domain == Common::ConfigManager::kApplicationDomain ? _("Specifies preferred sound device or sound card emulator") : _("Specifies output sound device or sound card emulator"));
else
- _midiPopUpDesc = new StaticTextWidget(boss, prefix + "auMidiPopupDesc", _domain == Common::ConfigManager::kApplicationDomain ? _c("Preferred Dev.:", "lowres") : _c("Music Device:", "lowres"), _domain == Common::ConfigManager::kApplicationDomain ? _("Specifies preferred sound device or sound card emulator") : _("Specifies output sound device or sound card emulator"));
+ _midiPopUpDesc = new StaticTextWidget(boss, prefix + "auMidiPopupDesc", _domain == Common::ConfigManager::kApplicationDomain ? _c("Preferred dev.:", "lowres") : _c("Music device:", "lowres"), _domain == Common::ConfigManager::kApplicationDomain ? _("Specifies preferred sound device or sound card emulator") : _("Specifies output sound device or sound card emulator"));
_midiPopUp = new PopUpWidget(boss, prefix + "auMidiPopup", _("Specifies output sound device or sound card emulator"));
// Populate it
@@ -1143,7 +1143,7 @@ void OptionsDialog::addAudioControls(GuiObject *boss, const Common::String &pref
}
void OptionsDialog::addMIDIControls(GuiObject *boss, const Common::String &prefix) {
- _gmDevicePopUpDesc = new StaticTextWidget(boss, prefix + "auPrefGmPopupDesc", _("GM Device:"), _("Specifies default sound device for General MIDI output"));
+ _gmDevicePopUpDesc = new StaticTextWidget(boss, prefix + "auPrefGmPopupDesc", _("GM device:"), _("Specifies default sound device for General MIDI output"));
_gmDevicePopUp = new PopUpWidget(boss, prefix + "auPrefGmPopup");
// Populate
@@ -1208,7 +1208,7 @@ void OptionsDialog::addMT32Controls(GuiObject *boss, const Common::String &prefi
_mt32Checkbox = new CheckboxWidget(boss, prefix + "mcMt32Checkbox", _c("True Roland MT-32 (no GM emulation)", "lowres"), _("Check if you want to use your real hardware Roland-compatible sound device connected to your computer"));
// GS Extensions setting
- _enableGSCheckbox = new CheckboxWidget(boss, prefix + "mcGSCheckbox", _("Roland GS Device (enable MT-32 mappings)"), _("Check if you want to enable patch mappings to emulate an MT-32 on a Roland GS device"));
+ _enableGSCheckbox = new CheckboxWidget(boss, prefix + "mcGSCheckbox", _("Roland GS device (enable MT-32 mappings)"), _("Check if you want to enable patch mappings to emulate an MT-32 on a Roland GS device"));
const PluginList p = MusicMan.getPlugins();
// Make sure the null device is the first one in the list to avoid undesired
@@ -1244,7 +1244,7 @@ void OptionsDialog::addMT32Controls(GuiObject *boss, const Common::String &prefi
void OptionsDialog::addSubtitleControls(GuiObject *boss, const Common::String &prefix, int maxSliderVal) {
if (g_system->getOverlayWidth() > 320) {
- _subToggleDesc = new StaticTextWidget(boss, prefix + "subToggleDesc", _("Text and Speech:"));
+ _subToggleDesc = new StaticTextWidget(boss, prefix + "subToggleDesc", _("Text and speech:"));
_subToggleGroup = new RadiobuttonGroup(boss, kSubtitleToggle);
@@ -1254,7 +1254,7 @@ void OptionsDialog::addSubtitleControls(GuiObject *boss, const Common::String &p
_subSpeedDesc = new StaticTextWidget(boss, prefix + "subSubtitleSpeedDesc", _("Subtitle speed:"));
} else {
- _subToggleDesc = new StaticTextWidget(boss, prefix + "subToggleDesc", _c("Text and Speech:", "lowres"));
+ _subToggleDesc = new StaticTextWidget(boss, prefix + "subToggleDesc", _c("Text and speech:", "lowres"));
_subToggleGroup = new RadiobuttonGroup(boss, kSubtitleToggle);
@@ -1287,7 +1287,7 @@ void OptionsDialog::addVolumeControls(GuiObject *boss, const Common::String &pre
_musicVolumeSlider->setMaxValue(Audio::Mixer::kMaxMixerVolume);
_musicVolumeLabel->setFlags(WIDGET_CLEARBG);
- _muteCheckbox = new CheckboxWidget(boss, prefix + "vcMuteCheckbox", _("Mute All"), 0, kMuteAllChanged);
+ _muteCheckbox = new CheckboxWidget(boss, prefix + "vcMuteCheckbox", _("Mute all"), 0, kMuteAllChanged);
if (g_system->getOverlayWidth() > 320)
_sfxVolumeDesc = new StaticTextWidget(boss, prefix + "vcSfxText", _("SFX volume:"), _("Special sound effects volume"));
@@ -1626,7 +1626,7 @@ void GlobalOptionsDialog::build() {
_curTheme = new StaticTextWidget(tab, "GlobalOptions_Misc.CurTheme", g_gui.theme()->getThemeName());
- _rendererPopUpDesc = new StaticTextWidget(tab, "GlobalOptions_Misc.RendererPopupDesc", _("GUI Renderer:"));
+ _rendererPopUpDesc = new StaticTextWidget(tab, "GlobalOptions_Misc.RendererPopupDesc", _("GUI renderer:"));
_rendererPopUp = new PopUpWidget(tab, "GlobalOptions_Misc.RendererPopup");
if (g_system->getOverlayWidth() > 320) {
@@ -1655,7 +1655,7 @@ void GlobalOptionsDialog::build() {
#ifdef USE_TRANSLATION
- _guiLanguagePopUpDesc = new StaticTextWidget(tab, "GlobalOptions_Misc.GuiLanguagePopupDesc", _("GUI Language:"), _("Language of ScummVM GUI"));
+ _guiLanguagePopUpDesc = new StaticTextWidget(tab, "GlobalOptions_Misc.GuiLanguagePopupDesc", _("GUI language:"), _("Language of ScummVM GUI"));
_guiLanguagePopUp = new PopUpWidget(tab, "GlobalOptions_Misc.GuiLanguagePopup");
#ifdef USE_DETECTLANG
_guiLanguagePopUp->appendEntry(_("<default>"), Common::kTranslationAutodetectId);