mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Removed support for the ar_EG, de_DE, el_GR and nl_NL locales and moved their .po files to an archive directory
This commit is contained in:
parent
7927dbb8c5
commit
a653294eb7
|
@ -565,12 +565,9 @@ void GuiMenu::openUIOptions()
|
|||
selectedApplicationLanguage == "en_US");
|
||||
applicationLanguage->add("ENGLISH (UNITED KINGDOM)", "en_GB",
|
||||
selectedApplicationLanguage == "en_GB");
|
||||
applicationLanguage->add("ΕΛΛΗΝΙΚΆ", "el_GR", selectedApplicationLanguage == "el_GR");
|
||||
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");
|
||||
applicationLanguage->add("NEDERLANDS", "nl_NL", selectedApplicationLanguage == "nl_NL");
|
||||
applicationLanguage->add("POLSKI", "pl_PL", selectedApplicationLanguage == "pl_PL");
|
||||
applicationLanguage->add("PORTUGUÊS (BRASIL)", "pt_BR", selectedApplicationLanguage == "pt_BR");
|
||||
applicationLanguage->add("ROMÂNĂ", "ro_RO", selectedApplicationLanguage == "ro_RO");
|
||||
|
@ -578,7 +575,6 @@ void GuiMenu::openUIOptions()
|
|||
applicationLanguage->add("SVENSKA", "sv_SE", selectedApplicationLanguage == "sv_SE");
|
||||
applicationLanguage->add("日本語", "ja_JP", selectedApplicationLanguage == "ja_JP");
|
||||
applicationLanguage->add("简体中文", "zh_CN", selectedApplicationLanguage == "zh_CN");
|
||||
applicationLanguage->add("العربية", "ar_EG", selectedApplicationLanguage == "ar_EG");
|
||||
// If there are no objects returned, then there must be a manually modified entry in the
|
||||
// configuration file. Simply set the application langauge to "automatic" in this case.
|
||||
if (applicationLanguage->getSelectedObjects().size() == 0)
|
||||
|
|
|
@ -106,20 +106,16 @@ std::vector<std::pair<std::string, std::string>> ThemeData::sSupportedLanguages
|
|||
{"automatic", "automatic"},
|
||||
{"en_US", "ENGLISH (UNITED STATES)"},
|
||||
{"en_GB", "ENGLISH (UNITED KINGDOM)"},
|
||||
{"el_GR", "ΕΛΛΗΝΙΚΆ"},
|
||||
{"de_DE", "DEUTSCH"},
|
||||
{"es_ES", "ESPAÑOL (ESPAÑA)"},
|
||||
{"fr_FR", "FRANÇAIS"},
|
||||
{"it_IT", "ITALIANO"},
|
||||
{"nl_NL", "NEDERLANDS"},
|
||||
{"pl_PL", "POLSKI"},
|
||||
{"pt_BR", "PORTUGUÊS (BRASIL)"},
|
||||
{"ro_RO", "ROMÂNĂ"},
|
||||
{"ru_RU", "РУССКИЙ"},
|
||||
{"sv_SE", "SVENSKA"},
|
||||
{"ja_JP", "日本語"},
|
||||
{"zh_CN", "简体中文"},
|
||||
{"ar_EG", "العربية"}};
|
||||
{"zh_CN", "简体中文"}};
|
||||
|
||||
std::map<std::string, std::map<std::string, std::string>> ThemeData::sPropertyAttributeMap
|
||||
// The data type is defined by the parent property.
|
||||
|
|
|
@ -31,20 +31,16 @@ 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"}},
|
||||
{{"el"}, {"GR"}},
|
||||
{{"de"}, {"DE"}},
|
||||
{{"es"}, {"ES"}},
|
||||
{{"fr"}, {"FR"}},
|
||||
{{"it"}, {"IT"}},
|
||||
{{"nl"}, {"NL"}},
|
||||
{{"pl"}, {"PL"}},
|
||||
{{"pt"}, {"BR"}},
|
||||
{{"ro"}, {"RO"}},
|
||||
{{"ru"}, {"RU"}},
|
||||
{{"sv"}, {"SE"}},
|
||||
{{"ja"}, {"JP"}},
|
||||
{{"zh"}, {"CN"}},
|
||||
{{"ar"}, {"EG"}}};
|
||||
{{"zh"}, {"CN"}}};
|
||||
// clang-format on
|
||||
|
||||
std::string sCurrentLocale {"en_US"};
|
||||
|
@ -188,22 +184,18 @@ namespace Utils
|
|||
}
|
||||
|
||||
// Language-specific menu title scale factor.
|
||||
if (localePair.first == "el")
|
||||
sMenuTitleScaleFactor = 0.94f;
|
||||
else if (localePair.first == "de")
|
||||
sMenuTitleScaleFactor = 0.92f;
|
||||
else if (localePair.first == "es")
|
||||
if (localePair.first == "es")
|
||||
sMenuTitleScaleFactor = 0.90f;
|
||||
else if (localePair.first == "fr")
|
||||
sMenuTitleScaleFactor = 0.90f;
|
||||
else if (localePair.first == "it")
|
||||
sMenuTitleScaleFactor = 0.94f;
|
||||
else if (localePair.first == "nl")
|
||||
sMenuTitleScaleFactor = 0.94f;
|
||||
else if (localePair.first == "pl")
|
||||
sMenuTitleScaleFactor = 0.94f;
|
||||
else if (localePair.first == "pt")
|
||||
sMenuTitleScaleFactor = 0.90f;
|
||||
else if (localePair.first == "ro")
|
||||
sMenuTitleScaleFactor = 0.94f;
|
||||
else if (localePair.first == "ru")
|
||||
sMenuTitleScaleFactor = 0.94f;
|
||||
else if (localePair.first == "sv")
|
||||
|
|
|
@ -1,13 +1,9 @@
|
|||
en_US
|
||||
en_GB
|
||||
ar_EG
|
||||
de_DE
|
||||
el_GR
|
||||
es_ES
|
||||
fr_FR
|
||||
it_IT
|
||||
ja_JP
|
||||
nl_NL
|
||||
pl_PL
|
||||
pt_BR
|
||||
ro_RO
|
||||
|
|
Loading…
Reference in a new issue