mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Added support for the ca_ES locale
This commit is contained in:
parent
fe5a4ca86f
commit
3ba46470da
|
@ -565,6 +565,7 @@ void GuiMenu::openUIOptions()
|
|||
selectedApplicationLanguage == "en_US");
|
||||
applicationLanguage->add("ENGLISH (UNITED KINGDOM)", "en_GB",
|
||||
selectedApplicationLanguage == "en_GB");
|
||||
applicationLanguage->add("CATALÀ", "ca_ES", selectedApplicationLanguage == "ca_ES");
|
||||
applicationLanguage->add("DEUTSCH", "de_DE", selectedApplicationLanguage == "de_DE");
|
||||
applicationLanguage->add("ESPAÑOL (ESPAÑA)", "es_ES", selectedApplicationLanguage == "es_ES");
|
||||
applicationLanguage->add("FRANÇAIS", "fr_FR", selectedApplicationLanguage == "fr_FR");
|
||||
|
|
|
@ -106,6 +106,7 @@ std::vector<std::pair<std::string, std::string>> ThemeData::sSupportedLanguages
|
|||
{"automatic", "automatic"},
|
||||
{"en_US", "ENGLISH (UNITED STATES)"},
|
||||
{"en_GB", "ENGLISH (UNITED KINGDOM)"},
|
||||
{"ca_ES", "CATALÀ"},
|
||||
{"de_DE", "DEUTSCH"},
|
||||
{"es_ES", "ESPAÑOL (ESPAÑA)"},
|
||||
{"fr_FR", "FRANÇAIS"},
|
||||
|
|
|
@ -31,6 +31,7 @@ namespace Utils
|
|||
// When adding a new locale, then make sure to also update ThemeData::sSupportedLanguages.
|
||||
const std::vector<std::pair<std::string, std::string>> sSupportedLocales {{{"en"}, {"US"}},
|
||||
{{"en"}, {"GB"}},
|
||||
{{"ca"}, {"ES"}},
|
||||
{{"de"}, {"DE"}},
|
||||
{{"es"}, {"ES"}},
|
||||
{{"fr"}, {"FR"}},
|
||||
|
@ -186,7 +187,9 @@ namespace Utils
|
|||
}
|
||||
|
||||
// Language-specific menu title scale factor.
|
||||
if (localePair.first == "de")
|
||||
if (localePair.first == "ca")
|
||||
sMenuTitleScaleFactor = 0.92f;
|
||||
else if (localePair.first == "de")
|
||||
sMenuTitleScaleFactor = 0.92f;
|
||||
else if (localePair.first == "es")
|
||||
sMenuTitleScaleFactor = 0.90f;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
en_US
|
||||
en_GB
|
||||
ca_ES
|
||||
de_DE
|
||||
es_ES
|
||||
fr_FR
|
||||
|
|
2719
locale/po/ca_ES.po
Normal file
2719
locale/po/ca_ES.po
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue