mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Added support for the ko_KR locale
This commit is contained in:
parent
c4ef9e2e7f
commit
52966534d4
|
@ -575,6 +575,7 @@ void GuiMenu::openUIOptions()
|
|||
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");
|
||||
// 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)
|
||||
|
|
|
@ -115,7 +115,8 @@ std::vector<std::pair<std::string, std::string>> ThemeData::sSupportedLanguages
|
|||
{"ru_RU", "РУССКИЙ"},
|
||||
{"sv_SE", "SVENSKA"},
|
||||
{"ja_JP", "日本語"},
|
||||
{"zh_CN", "简体中文"}};
|
||||
{"zh_CN", "简体中文"},
|
||||
{"ko_KR", "한국어"}};
|
||||
|
||||
std::map<std::string, std::map<std::string, std::string>> ThemeData::sPropertyAttributeMap
|
||||
// The data type is defined by the parent property.
|
||||
|
|
|
@ -40,7 +40,8 @@ namespace Utils
|
|||
{{"ru"}, {"RU"}},
|
||||
{{"sv"}, {"SE"}},
|
||||
{{"ja"}, {"JP"}},
|
||||
{{"zh"}, {"CN"}}};
|
||||
{{"zh"}, {"CN"}},
|
||||
{{"ko"}, {"KR"}}};
|
||||
// clang-format on
|
||||
|
||||
std::string sCurrentLocale {"en_US"};
|
||||
|
@ -204,6 +205,8 @@ namespace Utils
|
|||
sMenuTitleScaleFactor = 0.94f;
|
||||
else if (localePair.first == "zh")
|
||||
sMenuTitleScaleFactor = 0.94f;
|
||||
else if (localePair.first == "ko")
|
||||
sMenuTitleScaleFactor = 0.96f;
|
||||
|
||||
std::string localePath;
|
||||
localePath.append("/")
|
||||
|
|
|
@ -10,3 +10,4 @@ ro_RO
|
|||
ru_RU
|
||||
sv_SE
|
||||
zh_CN
|
||||
ko_KR
|
||||
|
|
2834
locale/po/ko_KR.po
Normal file
2834
locale/po/ko_KR.po
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue