Changed the position of the ko_KR language

This commit is contained in:
Leon Styhre 2024-09-15 21:53:43 +02:00
parent 670acfca07
commit 738d2a39c3
5 changed files with 9 additions and 9 deletions

View file

@ -574,8 +574,8 @@ void GuiMenu::openUIOptions()
applicationLanguage->add("РУССКИЙ", "ru_RU", selectedApplicationLanguage == "ru_RU");
applicationLanguage->add("SVENSKA", "sv_SE", selectedApplicationLanguage == "sv_SE");
applicationLanguage->add("日本語", "ja_JP", selectedApplicationLanguage == "ja_JP");
applicationLanguage->add("简体中文", "zh_CN", selectedApplicationLanguage == "zh_CN");
applicationLanguage->add("한국어", "ko_KR", selectedApplicationLanguage == "ko_KR");
applicationLanguage->add("简体中文", "zh_CN", selectedApplicationLanguage == "zh_CN");
// If there are no objects returned, then there must be a manually modified entry in the
// configuration file. Simply set the application langauge to "automatic" in this case.
if (applicationLanguage->getSelectedObjects().size() == 0)

View file

@ -860,8 +860,8 @@ void GuiScraperMenu::openOtherOptions()
scraperLanguage->add("SVENSKA", "sv", selectedScraperLanguage == "sv");
scraperLanguage->add("TÜRKÇE", "tr", selectedScraperLanguage == "tr");
scraperLanguage->add("日本語", "ja", selectedScraperLanguage == "ja");
scraperLanguage->add("简体中文", "zh", selectedScraperLanguage == "zh");
scraperLanguage->add("한국어", "ko", selectedScraperLanguage == "ko");
scraperLanguage->add("简体中文", "zh", selectedScraperLanguage == "zh");
// clang-format on
// If there are no objects returned, then there must be a manually modified entry in the
// configuration file. Simply set the language to "English" in this case.

View file

@ -115,8 +115,8 @@ std::vector<std::pair<std::string, std::string>> ThemeData::sSupportedLanguages
{"ru_RU", "РУССКИЙ"},
{"sv_SE", "SVENSKA"},
{"ja_JP", "日本語"},
{"zh_CN", "简体中文"},
{"ko_KR", "한국어"}};
{"ko_KR", "한국어"},
{"zh_CN", "简体中文"}};
std::map<std::string, std::map<std::string, std::string>> ThemeData::sPropertyAttributeMap
// The data type is defined by the parent property.

View file

@ -40,8 +40,8 @@ namespace Utils
{{"ru"}, {"RU"}},
{{"sv"}, {"SE"}},
{{"ja"}, {"JP"}},
{{"zh"}, {"CN"}},
{{"ko"}, {"KR"}}};
{{"ko"}, {"KR"}},
{{"zh"}, {"CN"}}};
// clang-format on
std::string sCurrentLocale {"en_US"};
@ -203,10 +203,10 @@ namespace Utils
sMenuTitleScaleFactor = 0.87f;
else if (localePair.first == "ja")
sMenuTitleScaleFactor = 0.94f;
else if (localePair.first == "zh")
sMenuTitleScaleFactor = 0.94f;
else if (localePair.first == "ko")
sMenuTitleScaleFactor = 0.96f;
else if (localePair.first == "zh")
sMenuTitleScaleFactor = 0.94f;
std::string localePath;
localePath.append("/")

View file

@ -9,5 +9,5 @@ pt_BR
ro_RO
ru_RU
sv_SE
zh_CN
ko_KR
zh_CN