3
0
Fork 0
forked from suyu/suyu

service: ns: Map ZH_TW and ZH_CN to Traditional/Simplified Chinese

This commit is contained in:
Morph 2021-07-27 08:54:41 -04:00
parent d6c799494c
commit d7cd316a6c

View file

@ -344,8 +344,10 @@ std::optional<ApplicationLanguage> ConvertToApplicationLanguage(
return ApplicationLanguage::Russian;
case Set::LanguageCode::KO:
return ApplicationLanguage::Korean;
case Set::LanguageCode::ZH_TW:
case Set::LanguageCode::ZH_HANT:
return ApplicationLanguage::TraditionalChinese;
case Set::LanguageCode::ZH_CN:
case Set::LanguageCode::ZH_HANS:
return ApplicationLanguage::SimplifiedChinese;
default: