Changed the language enums. Fixed the language references in the msg files.

This commit is contained in:
BlueKore 2017-04-07 19:15:44 +01:00
parent c1e13a9fcf
commit f6ebe7c6a9
17 changed files with 98 additions and 60 deletions

View File

@ -886,7 +886,9 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
"韩语")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_POLISH,
"波兰语")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
"葡萄牙语")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
"葡萄牙语")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
"俄语")

View File

@ -871,8 +871,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
"Koreanisch")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_POLISH,
"Polnisch")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
"Portugiesisch")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
"Portugiesisch (Brazil)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
"Portugiesisch (Portugal)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
"Russisch")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_SPANISH,

View File

@ -796,8 +796,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
"Korean")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_POLISH,
"Polish")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
"Portuguese")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
"Portuguese (Brazil)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
"Portuguese (Portugal)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
"Russian")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_SPANISH,

View File

@ -1766,8 +1766,10 @@ const char *msg_hash_to_str_es(enum msg_hash_enums msg)
return "Japonés";
case MENU_ENUM_LABEL_VALUE_LANG_KOREAN:
return "Coreano";
case MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE:
return "Portugués";
case MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL:
return "Portugués (Brazil)";
case MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL:
return "Portugués (Portugal)";
case MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN:
return "Ruso";
case MENU_ENUM_LABEL_VALUE_LANG_SPANISH:

View File

@ -790,8 +790,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_JAPANESE,
"Japonais")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
"Coréen")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
"Portuguais")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
"Portuguais (Brazil)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_Portugal,
"Portuguais (Portugal)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
"Russe")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_SPANISH,

View File

@ -760,8 +760,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
"Coreano")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_POLISH,
"Polacco")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
"Portoghese")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
"Portoghese (Brazil)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
"Portoghese (Portugal)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
"Russo")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_SPANISH,

View File

@ -887,7 +887,9 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
"韓国語")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_POLISH,
"ポーランド語")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
"ポルトガル語")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
"ポルトガル語")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
"ロシア語")

View File

@ -871,7 +871,9 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
"한국어")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_POLISH,
"폴란드어")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
"포르투칼어")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
"포르투칼어")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
"러시아어")

View File

@ -796,8 +796,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
"Koreaans")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_POLISH,
"Pools")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
"Portugees")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
"Portugees (Brazil)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
"Portugees (Portugal)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
"Russisch")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_SPANISH,

View File

@ -298,8 +298,10 @@ const char *msg_hash_to_str_pl(enum msg_hash_enums msg)
return "japoński";
case MENU_ENUM_LABEL_VALUE_LANG_KOREAN:
return "koreański";
case MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE:
return "portugalski";
case MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL:
return "portugalski (brazil)";
case MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL:
return "portugalski (portugal)";
case MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN:
return "rosyjski";
case MENU_ENUM_LABEL_VALUE_LANG_SPANISH:

View File

@ -801,8 +801,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
"Korean")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_POLISH,
"Polish")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
"Portuguese")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
"Portuguese (Brazil)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
"Portuguese (Portugal)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
"Russian")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_SPANISH,

View File

@ -871,8 +871,10 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
"Korean")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_POLISH,
"Polish")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
"Portuguese")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
"Portuguese (Brazil)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
"Portuguese (Portugal)")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
"Russian")
MSG_HASH(MENU_ENUM_LABEL_VALUE_LANG_SPANISH,

View File

@ -2473,8 +2473,10 @@ const char *msg_hash_to_str_vn(enum msg_hash_enums msg)
return "Tiếng Hàn Quốc";
case MENU_ENUM_LABEL_VALUE_LANG_POLISH:
return "Polish";
case MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE:
return "Tiếng Bồ Đào Nha";
case MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL:
return "Tiếng Bồ Đào Nha (Brazil)";
case MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL:
return "Tiếng Bồ Đào Nha (Portugal)";
case MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN:
return "Tiếng Nga";
case MENU_ENUM_LABEL_VALUE_LANG_SPANISH:

View File

@ -237,14 +237,15 @@ enum retro_language
RETRO_LANGUAGE_GERMAN = 4,
RETRO_LANGUAGE_ITALIAN = 5,
RETRO_LANGUAGE_DUTCH = 6,
RETRO_LANGUAGE_PORTUGUESE = 7,
RETRO_LANGUAGE_RUSSIAN = 8,
RETRO_LANGUAGE_KOREAN = 9,
RETRO_LANGUAGE_CHINESE_TRADITIONAL = 10,
RETRO_LANGUAGE_CHINESE_SIMPLIFIED = 11,
RETRO_LANGUAGE_ESPERANTO = 12,
RETRO_LANGUAGE_POLISH = 13,
RETRO_LANGUAGE_VIETNAMESE = 14,
RETRO_LANGUAGE_PORTUGUESE_BRAZIL = 7,
RETRO_LANGUAGE_PORTUGUESE_PORTUGAL = 8,
RETRO_LANGUAGE_RUSSIAN = 9,
RETRO_LANGUAGE_KOREAN = 10,
RETRO_LANGUAGE_CHINESE_TRADITIONAL = 11,
RETRO_LANGUAGE_CHINESE_SIMPLIFIED = 12,
RETRO_LANGUAGE_ESPERANTO = 13,
RETRO_LANGUAGE_POLISH = 14,
RETRO_LANGUAGE_VIETNAMESE = 15,
RETRO_LANGUAGE_LAST,
/* Ensure sizeof(enum) == sizeof(int) */

View File

@ -522,7 +522,8 @@ static void setting_get_string_representation_uint_user_language(void *data,
modes[RETRO_LANGUAGE_GERMAN] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_GERMAN);
modes[RETRO_LANGUAGE_ITALIAN] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_ITALIAN);
modes[RETRO_LANGUAGE_DUTCH] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_DUTCH);
modes[RETRO_LANGUAGE_PORTUGUESE] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE);
modes[RETRO_LANGUAGE_PORTUGUESE_BRAZIL] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL);
modes[RETRO_LANGUAGE_PORTUGUESE_PORTUGAL] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL);
modes[RETRO_LANGUAGE_RUSSIAN] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN);
modes[RETRO_LANGUAGE_KOREAN] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_KOREAN);
modes[RETRO_LANGUAGE_CHINESE_TRADITIONAL] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_CHINESE_TRADITIONAL);

View File

@ -50,8 +50,11 @@ int menu_hash_get_help_enum(enum msg_hash_enums msg, char *s, size_t len)
case RETRO_LANGUAGE_ITALIAN:
ret = menu_hash_get_help_it_enum(msg, s, len);
break;
case RETRO_LANGUAGE_PORTUGUESE:
ret = menu_hash_get_help_pt_enum(msg, s, len);
case RETRO_LANGUAGE_PORTUGUESE_BRAZIL:
ret = menu_hash_get_help_pt_br_enum(msg, s, len);
break;
case RETRO_LANGUAGE_PORTUGUESE_PORTUGAL:
ret = menu_hash_get_help_pt_pt_enum(msg, s, len);
break;
case RETRO_LANGUAGE_DUTCH:
ret = menu_hash_get_help_nl_enum(msg, s, len);
@ -109,8 +112,11 @@ const char *msg_hash_to_str(enum msg_hash_enums msg)
case RETRO_LANGUAGE_ITALIAN:
ret = msg_hash_to_str_it(msg);
break;
case RETRO_LANGUAGE_PORTUGUESE:
ret = msg_hash_to_str_pt(msg);
case RETRO_LANGUAGE_PORTUGUESE_BRAZIL:
ret = msg_hash_to_str_pt_br(msg);
break;
case RETRO_LANGUAGE_PORTUGUESE_PORTUGAL:
ret = msg_hash_to_str_pt_pt(msg);
break;
case RETRO_LANGUAGE_DUTCH:
ret = msg_hash_to_str_nl(msg);

View File

@ -1480,7 +1480,8 @@ enum msg_hash_enums
MENU_ENUM_LABEL_VALUE_LANG_GERMAN,
MENU_ENUM_LABEL_VALUE_LANG_ITALIAN,
MENU_ENUM_LABEL_VALUE_LANG_DUTCH,
MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE,
MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_BRAZIL,
MENU_ENUM_LABEL_VALUE_LANG_PORTUGUESE_PORTUGAL,
MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN,
MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
MENU_ENUM_LABEL_VALUE_LANG_CHINESE_TRADITIONAL,
@ -1841,8 +1842,11 @@ int menu_hash_get_help_jp_enum(enum msg_hash_enums msg, char *s, size_t len);
const char *msg_hash_to_str_ko(enum msg_hash_enums msg);
int menu_hash_get_help_ko_enum(enum msg_hash_enums msg, char *s, size_t len);
const char *msg_hash_to_str_pt(enum msg_hash_enums msg);
int menu_hash_get_help_pt_enum(enum msg_hash_enums msg, char *s, size_t len);
const char *msg_hash_to_str_pt_br(enum msg_hash_enums msg);
int menu_hash_get_help_pt_br_enum(enum msg_hash_enums msg, char *s, size_t len);
const char *msg_hash_to_str_pt_pt(enum msg_hash_enums msg);
int menu_hash_get_help_pt_pt_enum(enum msg_hash_enums msg, char *s, size_t len);
const char *msg_hash_to_str_pl(enum msg_hash_enums msg);
int menu_hash_get_help_pl_enum(enum msg_hash_enums msg, char *s, size_t len);