mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-27 04:54:20 +01:00
update SIMP_CHINESE translations (#911)
* update SIMP_CHINESE translations * update SIMP_CHINESE translations * Update zh.lang
This commit is contained in:
parent
a0a72079f8
commit
29735a817d
BIN
fonts/zh.ttf
Normal file
BIN
fonts/zh.ttf
Normal file
Binary file not shown.
1099
source/lang/zh.lang
1099
source/lang/zh.lang
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user