service: ns: Map ZH_TW and ZH_CN to Traditional/Simplified Chinese
This commit is contained in:
parent
d6c799494c
commit
d7cd316a6c
|
@ -344,8 +344,10 @@ std::optional<ApplicationLanguage> ConvertToApplicationLanguage(
|
||||||
return ApplicationLanguage::Russian;
|
return ApplicationLanguage::Russian;
|
||||||
case Set::LanguageCode::KO:
|
case Set::LanguageCode::KO:
|
||||||
return ApplicationLanguage::Korean;
|
return ApplicationLanguage::Korean;
|
||||||
|
case Set::LanguageCode::ZH_TW:
|
||||||
case Set::LanguageCode::ZH_HANT:
|
case Set::LanguageCode::ZH_HANT:
|
||||||
return ApplicationLanguage::TraditionalChinese;
|
return ApplicationLanguage::TraditionalChinese;
|
||||||
|
case Set::LanguageCode::ZH_CN:
|
||||||
case Set::LanguageCode::ZH_HANS:
|
case Set::LanguageCode::ZH_HANS:
|
||||||
return ApplicationLanguage::SimplifiedChinese;
|
return ApplicationLanguage::SimplifiedChinese;
|
||||||
default:
|
default:
|
||||||
|
|
Reference in New Issue