Fix system language determination for zh-CN (#96)

This commit is contained in:
Soar Qin 2020-08-09 07:59:43 +08:00 committed by GitHub
parent e5fbcd999b
commit d24e777e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ namespace Language {
languagePath = "romfs:/lang/es.json";
break;
case 6:
case 15:
languagePath = "romfs:/lang/zh-CN.json";
// the default font will miss some chinese character, so use a chinese font (simplified)
pu::ui::render::SetDefaultFontFromShared(pu::ui::render::SharedFont::ChineseSimplified);