mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Label Valencian as a Catalan dialect (#13837)
This commit is contained in:
parent
a5802ce757
commit
03146e4604
@ -8256,8 +8256,8 @@ MSG_HASH(
|
||||
"Urdu - اُردُو (Restart Required)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_VALENCIAN,
|
||||
"Valencian - Valencià"
|
||||
MENU_ENUM_LABEL_VALUE_LANG_CATALAN_VALENCIA,
|
||||
"Catalan (Valencian) - Català (Valencià)"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_VIETNAMESE,
|
||||
|
@ -287,7 +287,7 @@ enum retro_language
|
||||
RETRO_LANGUAGE_SWEDISH = 25,
|
||||
RETRO_LANGUAGE_UKRAINIAN = 26,
|
||||
RETRO_LANGUAGE_CZECH = 27,
|
||||
RETRO_LANGUAGE_VALENCIAN = 28,
|
||||
RETRO_LANGUAGE_CATALAN_VALENCIA = 28,
|
||||
RETRO_LANGUAGE_LAST,
|
||||
|
||||
/* Ensure sizeof(enum) == sizeof(int) */
|
||||
|
@ -1696,7 +1696,7 @@ static bool rgui_fonts_init(rgui_t *rgui)
|
||||
case RETRO_LANGUAGE_FINNISH:
|
||||
case RETRO_LANGUAGE_INDONESIAN:
|
||||
case RETRO_LANGUAGE_SWEDISH:
|
||||
case RETRO_LANGUAGE_VALENCIAN:
|
||||
case RETRO_LANGUAGE_CATALAN_VALENCIA:
|
||||
/* We have at least partial support for
|
||||
* these languages, but extended ASCII
|
||||
* is required */
|
||||
|
@ -6746,7 +6746,7 @@ static void setting_get_string_representation_uint_user_language(
|
||||
modes[RETRO_LANGUAGE_SWEDISH] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_SWEDISH);
|
||||
modes[RETRO_LANGUAGE_UKRAINIAN] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_UKRAINIAN);
|
||||
modes[RETRO_LANGUAGE_CZECH] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_CZECH);
|
||||
modes[RETRO_LANGUAGE_VALENCIAN] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_VALENCIAN);
|
||||
modes[RETRO_LANGUAGE_CATALAN_VALENCIA] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_CATALAN_VALENCIA);
|
||||
strlcpy(s, modes[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)], len);
|
||||
}
|
||||
#endif
|
||||
|
@ -115,7 +115,7 @@ int msg_hash_get_help_enum(enum msg_hash_enums msg, char *s, size_t len)
|
||||
case RETRO_LANGUAGE_CZECH:
|
||||
ret = msg_hash_get_help_cs_enum(msg, s, len);
|
||||
break;
|
||||
case RETRO_LANGUAGE_VALENCIAN:
|
||||
case RETRO_LANGUAGE_CATALAN_VALENCIA:
|
||||
ret = msg_hash_get_help_val_enum(msg, s, len);
|
||||
break;
|
||||
default:
|
||||
@ -195,7 +195,7 @@ const char *get_user_language_iso639_1(bool limit)
|
||||
return "uk";
|
||||
case RETRO_LANGUAGE_CZECH:
|
||||
return "cs";
|
||||
case RETRO_LANGUAGE_VALENCIAN:
|
||||
case RETRO_LANGUAGE_CATALAN_VALENCIA:
|
||||
return "val";
|
||||
}
|
||||
return "en";
|
||||
@ -289,7 +289,7 @@ const char *msg_hash_to_str(enum msg_hash_enums msg)
|
||||
case RETRO_LANGUAGE_CZECH:
|
||||
ret = msg_hash_to_str_cs(msg);
|
||||
break;
|
||||
case RETRO_LANGUAGE_VALENCIAN:
|
||||
case RETRO_LANGUAGE_CATALAN_VALENCIA:
|
||||
ret = msg_hash_to_str_val(msg);
|
||||
break;
|
||||
default:
|
||||
|
@ -2878,7 +2878,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_VALUE_LANG_THAI,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_UKRAINIAN,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_URDU,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_VALENCIAN,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_CATALAN_VALENCIA,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_WELSH,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_YIDDISH,
|
||||
MENU_ENUM_LABEL_VALUE_AI_SERVICE_IMAGE_MODE,
|
||||
|
@ -6125,7 +6125,7 @@ enum retro_language rarch_get_language_from_iso(const char *iso639)
|
||||
{"sv", RETRO_LANGUAGE_SWEDISH},
|
||||
{"uk", RETRO_LANGUAGE_UKRAINIAN},
|
||||
{"cs", RETRO_LANGUAGE_CZECH},
|
||||
{"val", RETRO_LANGUAGE_VALENCIAN},
|
||||
{"val", RETRO_LANGUAGE_CATALAN_VALENCIA},
|
||||
};
|
||||
|
||||
if (string_is_empty(iso639))
|
||||
|
Loading…
Reference in New Issue
Block a user