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("ESPAÑOL (ESPAÑA)", "es_ES", selectedApplicationLanguage == "es_ES");
applicationLanguage->add("FRANÇAIS", "fr_FR", selectedApplicationLanguage == "fr_FR"); applicationLanguage->add("FRANÇAIS", "fr_FR", selectedApplicationLanguage == "fr_FR");
applicationLanguage->add("ITALIANO", "it_IT", selectedApplicationLanguage == "it_IT"); 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("POLSKI", "pl_PL", selectedApplicationLanguage == "pl_PL");
applicationLanguage->add("PORTUGUÊS (BRASIL)", "pt_BR", selectedApplicationLanguage == "pt_BR"); applicationLanguage->add("PORTUGUÊS (BRASIL)", "pt_BR", selectedApplicationLanguage == "pt_BR");
applicationLanguage->add("ROMÂNĂ", "ro_RO", selectedApplicationLanguage == "ro_RO"); 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)"}, {"es_ES", "ESPAÑOL (ESPAÑA)"},
{"fr_FR", "FRANÇAIS"}, {"fr_FR", "FRANÇAIS"},
{"it_IT", "ITALIANO"}, {"it_IT", "ITALIANO"},
{"nl_NL", "NEDERLANDS"},
{"pl_PL", "POLSKI"}, {"pl_PL", "POLSKI"},
{"pt_BR", "PORTUGUÊS (BRASIL)"}, {"pt_BR", "PORTUGUÊS (BRASIL)"},
{"ro_RO", "ROMÂNĂ"}, {"ro_RO", "ROMÂNĂ"},

View file

@ -36,6 +36,7 @@ namespace Utils
{{"es"}, {"ES"}}, {{"es"}, {"ES"}},
{{"fr"}, {"FR"}}, {{"fr"}, {"FR"}},
{{"it"}, {"IT"}}, {{"it"}, {"IT"}},
{{"nl"}, {"NL"}},
{{"pl"}, {"PL"}}, {{"pl"}, {"PL"}},
{{"pt"}, {"BR"}}, {{"pt"}, {"BR"}},
{{"ro"}, {"RO"}}, {{"ro"}, {"RO"}},
@ -197,6 +198,8 @@ namespace Utils
sMenuTitleScaleFactor = 0.90f; sMenuTitleScaleFactor = 0.90f;
else if (localePair.first == "it") else if (localePair.first == "it")
sMenuTitleScaleFactor = 0.94f; sMenuTitleScaleFactor = 0.94f;
else if (localePair.first == "nl")
sMenuTitleScaleFactor = 0.94f;
else if (localePair.first == "pl") else if (localePair.first == "pl")
sMenuTitleScaleFactor = 0.94f; sMenuTitleScaleFactor = 0.94f;
else if (localePair.first == "pt") else if (localePair.first == "pt")

View file

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

File diff suppressed because it is too large Load diff