mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-27 21:14:16 +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;
|
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
|
#ifdef HW_RVL
|
||||||
char filepath[MAXPATHLEN];
|
char filepath[MAXPATHLEN];
|
||||||
|
|
||||||
@ -145,6 +146,9 @@ void ChangeLanguage() {
|
|||||||
case LANG_JAPANESE:
|
case LANG_JAPANESE:
|
||||||
sprintf(filepath, "%s/jp.ttf", appPath);
|
sprintf(filepath, "%s/jp.ttf", appPath);
|
||||||
break;
|
break;
|
||||||
|
case LANG_SIMP_CHINESE:
|
||||||
|
sprintf(filepath, "%s/zh.ttf", appPath);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t fontSize = LoadFont(filepath);
|
size_t fontSize = LoadFont(filepath);
|
||||||
@ -3797,7 +3801,7 @@ static int MenuSettingsMenu()
|
|||||||
GCSettings.language = LANG_JAPANESE;
|
GCSettings.language = LANG_JAPANESE;
|
||||||
|
|
||||||
if(GCSettings.language == LANG_SIMP_CHINESE)
|
if(GCSettings.language == LANG_SIMP_CHINESE)
|
||||||
GCSettings.language = LANG_KOREAN;
|
GCSettings.language = LANG_SIMP_CHINESE;
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
GCSettings.PreviewImage++;
|
GCSettings.PreviewImage++;
|
||||||
|
@ -673,7 +673,6 @@ DefaultSettings ()
|
|||||||
GCSettings.language = CONF_GetLanguage();
|
GCSettings.language = CONF_GetLanguage();
|
||||||
|
|
||||||
if(GCSettings.language == LANG_JAPANESE ||
|
if(GCSettings.language == LANG_JAPANESE ||
|
||||||
GCSettings.language == LANG_SIMP_CHINESE ||
|
|
||||||
GCSettings.language == LANG_TRAD_CHINESE ||
|
GCSettings.language == LANG_TRAD_CHINESE ||
|
||||||
GCSettings.language == LANG_KOREAN)
|
GCSettings.language == LANG_KOREAN)
|
||||||
GCSettings.language = LANG_ENGLISH;
|
GCSettings.language = LANG_ENGLISH;
|
||||||
|
Loading…
Reference in New Issue
Block a user