From 611b8bfdd7da82d86c2505123a3d93873c01a49c Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 19 Jul 2024 10:40:04 +0200 Subject: [PATCH] Updated some localization strings --- es-app/src/MetaData.cpp | 6 +++--- es-app/src/guis/GuiMenu.cpp | 8 ++++---- es-app/src/guis/GuiOfflineGenerator.cpp | 2 +- es-app/src/guis/GuiScraperMenu.cpp | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/es-app/src/MetaData.cpp b/es-app/src/MetaData.cpp index 24c37fd33..cd48c4ca0 100644 --- a/es-app/src/MetaData.cpp +++ b/es-app/src/MetaData.cpp @@ -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"); diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp index f14b29cd0..ca79d922f 100644 --- a/es-app/src/guis/GuiMenu.cpp +++ b/es-app/src/guis/GuiMenu.cpp @@ -594,7 +594,7 @@ void GuiMenu::openUIOptions() // Default gamelist sort order. std::string sortOrder; auto defaultSortOrder = std::make_shared>( - getHelpStyle(), _("GAMES DEFAULT SORT ORDER [SHORT]"), false); + getHelpStyle(), _("GAMES DEFAULT SORT ORDER [short]"), false); // Exclude the System sort options. unsigned int numSortTypes {static_cast(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>( - 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() diff --git a/es-app/src/guis/GuiOfflineGenerator.cpp b/es-app/src/guis/GuiOfflineGenerator.cpp index 56917db51..be83f8c05 100644 --- a/es-app/src/guis/GuiOfflineGenerator.cpp +++ b/es-app/src/guis/GuiOfflineGenerator.cpp @@ -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")); diff --git a/es-app/src/guis/GuiScraperMenu.cpp b/es-app/src/guis/GuiScraperMenu.cpp index f4ad8372e..5d47ce29a 100644 --- a/es-app/src/guis/GuiScraperMenu.cpp +++ b/es-app/src/guis/GuiScraperMenu.cpp @@ -480,7 +480,7 @@ void GuiScraperMenu::openMiximageOptions() // Horizontally oriented screenshots fit. auto miximageHorizontalFit = std::make_shared>( - 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>( - 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>( - 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>( - 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");