mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Fix for https://github.com/libretro/RetroArch/issues/15097 and a minor change to recognize en_GB better. (#15105)
This commit is contained in:
parent
8d12ff3cf1
commit
ca11479f2f
@ -171,7 +171,7 @@ const char *get_user_language_iso639_1(bool limit)
|
||||
case RETRO_LANGUAGE_CATALAN_VALENCIA:
|
||||
if (limit)
|
||||
return "ca";
|
||||
return "ca_valencia";
|
||||
return "ca_ES@valencia";
|
||||
case RETRO_LANGUAGE_CATALAN:
|
||||
return "ca";
|
||||
case RETRO_LANGUAGE_BRITISH_ENGLISH:
|
||||
|
@ -7058,7 +7058,6 @@ enum retro_language retroarch_get_language_from_iso(const char *iso639)
|
||||
|
||||
const struct lang_pair pairs[] =
|
||||
{
|
||||
{"en", RETRO_LANGUAGE_ENGLISH},
|
||||
{"ja", RETRO_LANGUAGE_JAPANESE},
|
||||
{"fr", RETRO_LANGUAGE_FRENCH},
|
||||
{"es", RETRO_LANGUAGE_SPANISH},
|
||||
@ -7090,9 +7089,10 @@ enum retro_language retroarch_get_language_from_iso(const char *iso639)
|
||||
{"sv", RETRO_LANGUAGE_SWEDISH},
|
||||
{"uk", RETRO_LANGUAGE_UKRAINIAN},
|
||||
{"cs", RETRO_LANGUAGE_CZECH},
|
||||
{"ca_valencia", RETRO_LANGUAGE_CATALAN_VALENCIA},
|
||||
{"ca_ES@valencia", RETRO_LANGUAGE_CATALAN_VALENCIA},
|
||||
{"ca", RETRO_LANGUAGE_CATALAN},
|
||||
{"en_GB", RETRO_LANGUAGE_BRITISH_ENGLISH},
|
||||
{"en", RETRO_LANGUAGE_ENGLISH},
|
||||
{"hu", RETRO_LANGUAGE_HUNGARIAN},
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user