(msg_hash) Use different locale names for ...

... Chinese Simplified/Traditional
This commit is contained in:
liushuyu 2021-01-30 18:46:16 -07:00
parent 20b1549fe4
commit 5a028d79f5
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437

View File

@ -146,9 +146,13 @@ const char *get_user_language_iso639_1(bool limit)
case RETRO_LANGUAGE_VIETNAMESE:
return "vi";
case RETRO_LANGUAGE_CHINESE_SIMPLIFIED:
return "zh";
if (limit)
return "zh";
return "zh_cn";
case RETRO_LANGUAGE_CHINESE_TRADITIONAL:
return "zh";
if (limit)
return "zh";
return "zh_tw";
case RETRO_LANGUAGE_ARABIC:
return "ar";
case RETRO_LANGUAGE_GREEK: