mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Added support for the de_DE locale
This commit is contained in:
parent
4fa953dc0d
commit
6a521ffb68
|
@ -565,6 +565,7 @@ void GuiMenu::openUIOptions()
|
|||
selectedApplicationLanguage == "en_US");
|
||||
applicationLanguage->add("ENGLISH (UNITED KINGDOM)", "en_GB",
|
||||
selectedApplicationLanguage == "en_GB");
|
||||
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");
|
||||
applicationLanguage->add("ITALIANO", "it_IT", selectedApplicationLanguage == "it_IT");
|
||||
|
|
|
@ -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)"},
|
||||
{"de_DE", "DEUTSCH"},
|
||||
{"es_ES", "ESPAÑOL (ESPAÑA)"},
|
||||
{"fr_FR", "FRANÇAIS"},
|
||||
{"it_IT", "ITALIANO"},
|
||||
|
|
|
@ -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"}},
|
||||
{{"de"}, {"DE"}},
|
||||
{{"es"}, {"ES"}},
|
||||
{{"fr"}, {"FR"}},
|
||||
{{"it"}, {"IT"}},
|
||||
|
@ -185,7 +186,9 @@ namespace Utils
|
|||
}
|
||||
|
||||
// Language-specific menu title scale factor.
|
||||
if (localePair.first == "es")
|
||||
if (localePair.first == "de")
|
||||
sMenuTitleScaleFactor = 0.92f;
|
||||
else if (localePair.first == "es")
|
||||
sMenuTitleScaleFactor = 0.90f;
|
||||
else if (localePair.first == "fr")
|
||||
sMenuTitleScaleFactor = 0.90f;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
en_US
|
||||
en_GB
|
||||
de_DE
|
||||
es_ES
|
||||
fr_FR
|
||||
it_IT
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue