Added support for the nl_NL locale

This commit is contained in:
Leon Styhre 2024-09-22 15:11:40 +02:00
parent 86fad10a6c
commit 98d36d56cc
5 changed files with 941 additions and 760 deletions

View file

@ -570,6 +570,7 @@ void GuiMenu::openUIOptions()
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");

View file

@ -111,6 +111,7 @@ std::vector<std::pair<std::string, std::string>> ThemeData::sSupportedLanguages
{"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Ă"},

View file

@ -36,6 +36,7 @@ namespace Utils
{{"es"}, {"ES"}},
{{"fr"}, {"FR"}},
{{"it"}, {"IT"}},
{{"nl"}, {"NL"}},
{{"pl"}, {"PL"}},
{{"pt"}, {"BR"}},
{{"ro"}, {"RO"}},
@ -197,6 +198,8 @@ namespace Utils
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")

View file

@ -5,6 +5,7 @@ de_DE
es_ES
fr_FR
it_IT
nl_NL
pl_PL
pt_BR
ro_RO

File diff suppressed because it is too large Load diff