mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-24 03:29:18 +01:00
update SIMP_CHINESE translations (#386)
* update SIMP_CHINESE translations * Update zh.lang
This commit is contained in:
parent
de7e5bebf3
commit
dc600052fe
BIN
fonts/zh.ttf
Normal file
BIN
fonts/zh.ttf
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -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++;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user