update SIMP_CHINESE translations (#386)

* update SIMP_CHINESE translations

* Update zh.lang
This commit is contained in:
xjsxjs197 2020-03-12 22:43:09 +08:00 committed by GitHub
parent de7e5bebf3
commit dc600052fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 450 additions and 300 deletions

BIN
fonts/zh.ttf Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -134,7 +134,8 @@ void ChangeLanguage() {
return;
}
if(GCSettings.language == LANG_JAPANESE || GCSettings.language == LANG_KOREAN) {
if(GCSettings.language == LANG_JAPANESE || GCSettings.language == LANG_KOREAN
|| GCSettings.language == LANG_SIMP_CHINESE) {
#ifdef HW_RVL
char filepath[MAXPATHLEN];
@ -145,6 +146,9 @@ void ChangeLanguage() {
case LANG_JAPANESE:
sprintf(filepath, "%s/jp.ttf", appPath);
break;
case LANG_SIMP_CHINESE:
sprintf(filepath, "%s/zh.ttf", appPath);
break;
}
size_t fontSize = LoadFont(filepath);
@ -3797,7 +3801,7 @@ static int MenuSettingsMenu()
GCSettings.language = LANG_JAPANESE;
if(GCSettings.language == LANG_SIMP_CHINESE)
GCSettings.language = LANG_KOREAN;
GCSettings.language = LANG_SIMP_CHINESE;
break;
case 6:
GCSettings.PreviewImage++;

View File

@ -673,7 +673,6 @@ DefaultSettings ()
GCSettings.language = CONF_GetLanguage();
if(GCSettings.language == LANG_JAPANESE ||
GCSettings.language == LANG_SIMP_CHINESE ||
GCSettings.language == LANG_TRAD_CHINESE ||
GCSettings.language == LANG_KOREAN)
GCSettings.language = LANG_ENGLISH;