Updated some localization strings

This commit is contained in:
Leon Styhre 2024-07-19 10:40:04 +02:00
parent 38d232769c
commit 611b8bfdd7
4 changed files with 12 additions and 12 deletions

View file

@ -33,7 +33,7 @@ namespace
{"genre", MD_STRING, "unknown", false, "GENRE", "ENTER GENRE", true},
{"players", MD_STRING, "unknown", false, "PLAYERS", "ENTER NUMBER OF PLAYERS", true},
{"favorite", MD_BOOL, "false", false, "FAVORITE", "ENTER FAVORITE OFF/ON", false},
{"completed", MD_BOOL, "false", false, "COMPLETED", "ENTER COMPLETED OFF/ON", false},
{"completed", MD_BOOL, "false", false, "COMPLETED [metadata]", "ENTER COMPLETED OFF/ON", false},
{"kidgame", MD_BOOL, "false", false, "KIDGAME", "ENTER KIDGAME OFF/ON", false},
{"hidden", MD_BOOL, "false", false, "HIDDEN", "ENTER HIDDEN OFF/ON", false},
{"broken", MD_BOOL, "false", false, "BROKEN/NOT WORKING", "ENTER BROKEN OFF/ON", false},
@ -57,7 +57,7 @@ namespace
{"genre", MD_STRING, "unknown", false, "GENRE", "ENTER GENRE", true},
{"players", MD_STRING, "unknown", false, "PLAYERS", "ENTER NUMBER OF PLAYERS", true},
{"favorite", MD_BOOL, "false", false, "FAVORITE", "ENTER FAVORITE OFF/ON", false},
{"completed", MD_BOOL, "false", false, "COMPLETED", "ENTER COMPLETED OFF/ON", false},
{"completed", MD_BOOL, "false", false, "COMPLETED [metadata]", "ENTER COMPLETED OFF/ON", false},
{"kidgame", MD_BOOL, "false", false, "KIDGAME (ONLY AFFECTS BADGES)", "ENTER KIDGAME OFF/ON", false},
{"hidden", MD_BOOL, "false", false, "HIDDEN", "ENTER HIDDEN OFF/ON", false},
{"broken", MD_BOOL, "false", false, "BROKEN/NOT WORKING", "ENTER BROKEN OFF/ON", false},
@ -209,7 +209,7 @@ void gettextMessageCatalogEntries()
_("PLAYERS");
_("ENTER NUMBER OF PLAYERS");
_("FAVORITE");
_("COMPLETED");
_("COMPLETED [metadata]");
_("KIDGAME");
_("KIDGAME (ONLY AFFECTS BADGES)");
_("HIDDEN");

View file

@ -594,7 +594,7 @@ void GuiMenu::openUIOptions()
// Default gamelist sort order.
std::string sortOrder;
auto defaultSortOrder = std::make_shared<OptionListComponent<const FileData::SortType*>>(
getHelpStyle(), _("GAMES DEFAULT SORT ORDER [SHORT]"), false);
getHelpStyle(), _("GAMES DEFAULT SORT ORDER [short]"), false);
// Exclude the System sort options.
unsigned int numSortTypes {static_cast<unsigned int>(FileSorts::SortTypes.size() - 2)};
for (unsigned int i {0}; i < numSortTypes; ++i) {
@ -1610,7 +1610,7 @@ void GuiMenu::openOtherOptions()
// When to save game metadata.
auto saveGamelistsMode = std::make_shared<OptionListComponent<std::string>>(
getHelpStyle(), _("WHEN TO SAVE GAME METADATA [SHORT]"), false);
getHelpStyle(), _("WHEN TO SAVE GAME METADATA [short]"), false);
saveGamelistsMode->add(_("ALWAYS"), "always",
Settings::getInstance()->getString("SaveGamelistsMode") == "always");
saveGamelistsMode->add(_("ON EXIT"), "on exit",
@ -2206,12 +2206,12 @@ void GuiMenu::openThemeDownloader(GuiSettings* settings)
void GuiMenu::openMediaViewerOptions()
{
mWindow->pushGui(new GuiMediaViewerOptions(_("MEDIA VIEWER SETTINGS [SHORT]")));
mWindow->pushGui(new GuiMediaViewerOptions(_("MEDIA VIEWER SETTINGS [short]")));
}
void GuiMenu::openScreensaverOptions()
{
mWindow->pushGui(new GuiScreensaverOptions(_("SCREENSAVER SETTINGS [SHORT]")));
mWindow->pushGui(new GuiScreensaverOptions(_("SCREENSAVER SETTINGS [short]")));
}
void GuiMenu::openCollectionSystemOptions()

View file

@ -332,7 +332,7 @@ void GuiOfflineGenerator::update(int deltaTime)
mOverwrittenVal->setText(std::to_string(mImagesOverwritten));
if (mGamesProcessed == mTotalGames) {
mStatus->setText(_("COMPLETED [MIXIMAGE GENERATOR]"));
mStatus->setText(_("COMPLETED"));
mStartPauseButton->setText(_("DONE"), _("done (close)"));
mStartPauseButton->setPressedFunc([this]() { delete this; });
mCloseButton->setText(_("CLOSE"), _("close"));

View file

@ -480,7 +480,7 @@ void GuiScraperMenu::openMiximageOptions()
// Horizontally oriented screenshots fit.
auto miximageHorizontalFit = std::make_shared<OptionListComponent<std::string>>(
getHelpStyle(), _("HORIZONTAL SCREENSHOT FIT [SHORT]"), false);
getHelpStyle(), _("HORIZONTAL SCREENSHOT FIT [short]"), false);
const std::string selectedHorizontalFit {
Settings::getInstance()->getString("MiximageScreenshotHorizontalFit")};
miximageHorizontalFit->add(_("CONTAIN"), "contain", selectedHorizontalFit == "contain");
@ -502,7 +502,7 @@ void GuiScraperMenu::openMiximageOptions()
// Vertically oriented screenshots fit.
auto miximageVerticalFit = std::make_shared<OptionListComponent<std::string>>(
getHelpStyle(), _("VERTICAL SCREENSHOT FIT [SHORT]"), false);
getHelpStyle(), _("VERTICAL SCREENSHOT FIT [short]"), false);
const std::string selectedVerticalFit {
Settings::getInstance()->getString("MiximageScreenshotVerticalFit")};
miximageVerticalFit->add(_("CONTAIN"), "contain", selectedVerticalFit == "contain");
@ -524,7 +524,7 @@ void GuiScraperMenu::openMiximageOptions()
// Screenshots aspect ratio threshold.
auto miximageAspectThreshold = std::make_shared<OptionListComponent<std::string>>(
getHelpStyle(), _("SCREENSHOT ASPECT RATIO THRESHOLD [SHORT]"), false);
getHelpStyle(), _("SCREENSHOT ASPECT RATIO THRESHOLD [short]"), false);
const std::string selectedAspectThreshold {
Settings::getInstance()->getString("MiximageScreenshotAspectThreshold")};
miximageAspectThreshold->add(_("HIGH"), "high", selectedAspectThreshold == "high");
@ -566,7 +566,7 @@ void GuiScraperMenu::openMiximageOptions()
// Screenshot scaling method.
auto miximageScaling = std::make_shared<OptionListComponent<std::string>>(
getHelpStyle(), _("SCREENSHOT SCALING METHOD [SHORT]"), false);
getHelpStyle(), _("SCREENSHOT SCALING METHOD [short]"), false);
std::string selectedScaling {Settings::getInstance()->getString("MiximageScreenshotScaling")};
miximageScaling->add(_("SHARP"), "sharp", selectedScaling == "sharp");
miximageScaling->add(_("SMOOTH"), "smooth", selectedScaling == "smooth");