mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Added support for the zh_TW locale
This commit is contained in:
parent
3b028195eb
commit
cd1fc5f37c
|
|
@ -579,6 +579,7 @@ void GuiMenu::openUIOptions()
|
|||
applicationLanguage->add("日本語", "ja_JP", selectedApplicationLanguage == "ja_JP");
|
||||
applicationLanguage->add("한국어", "ko_KR", selectedApplicationLanguage == "ko_KR");
|
||||
applicationLanguage->add("简体中文", "zh_CN", selectedApplicationLanguage == "zh_CN");
|
||||
applicationLanguage->add("繁體中文", "zh_TW", selectedApplicationLanguage == "zh_TW");
|
||||
// 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)
|
||||
|
|
|
|||
|
|
@ -119,7 +119,8 @@ std::vector<std::pair<std::string, std::string>> ThemeData::sSupportedLanguages
|
|||
{"sv_SE", "SVENSKA"},
|
||||
{"ja_JP", "日本語"},
|
||||
{"ko_KR", "한국어"},
|
||||
{"zh_CN", "简体中文"}};
|
||||
{"zh_CN", "简体中文"},
|
||||
{"zh_TW", "繁體中文"}};
|
||||
|
||||
std::map<std::string, std::map<std::string, std::string>> ThemeData::sPropertyAttributeMap
|
||||
// The data type is defined by the parent property.
|
||||
|
|
|
|||
|
|
@ -44,7 +44,8 @@ namespace Utils
|
|||
{{"sv"}, {"SE"}},
|
||||
{{"ja"}, {"JP"}},
|
||||
{{"ko"}, {"KR"}},
|
||||
{{"zh"}, {"CN"}}};
|
||||
{{"zh"}, {"CN"}},
|
||||
{{"zh"}, {"TW"}}};
|
||||
// clang-format on
|
||||
|
||||
std::string sCurrentLocale {"en_US"};
|
||||
|
|
|
|||
|
|
@ -14,3 +14,4 @@ sv_SE
|
|||
ja_JP
|
||||
ko_KR
|
||||
zh_CN
|
||||
zh_TW
|
||||
|
|
|
|||
2809
locale/po/zh_TW.po
Normal file
2809
locale/po/zh_TW.po
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue