update SIMP_CHINESE translations (#911)

* update SIMP_CHINESE translations

* update SIMP_CHINESE translations

* Update zh.lang
This commit is contained in:
xjsxjs197 2020-03-14 03:25:21 +08:00 committed by GitHub
parent a0a72079f8
commit 29735a817d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1103 additions and 5 deletions

BIN
fonts/zh.ttf Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -146,7 +146,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];
@ -157,6 +158,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);
@ -4006,7 +4010,7 @@ static int MenuSettingsMenu()
GCSettings.language = LANG_JAPANESE;
if(GCSettings.language == LANG_SIMP_CHINESE)
GCSettings.language = LANG_KOREAN;
GCSettings.language = LANG_SIMP_CHINESE;
break;

View File

@ -467,7 +467,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;