Added support for the it_IT locale

This commit is contained in:
Leon Styhre 2024-07-20 13:31:21 +02:00
parent 0b5b0e0572
commit 01406c27c3
4 changed files with 2535 additions and 0 deletions

View file

@ -490,6 +490,7 @@ void GuiMenu::openUIOptions()
selectedApplicationLanguage == "en_US");
applicationLanguage->add("ENGLISH (UNITED KINGDOM)", "en_GB",
selectedApplicationLanguage == "en_GB");
applicationLanguage->add("ITALIANO", "it_IT", selectedApplicationLanguage == "it_IT");
applicationLanguage->add("SVENSKA", "sv_SE", selectedApplicationLanguage == "sv_SE");
applicationLanguage->add("简体中文", "zh_CN", selectedApplicationLanguage == "zh_CN");
// If there are no objects returned, then there must be a manually modified entry in the

View file

@ -30,6 +30,7 @@ namespace Utils
// clang-format off
const std::vector<std::pair<std::string, std::string>> sSupportedLocales {{{"en"}, {"US"}},
{{"en"}, {"GB"}},
{{"it"}, {"IT"}},
{{"sv"}, {"SE"}},
{{"zh"}, {"CN"}}};
// clang-format on

View file

@ -1,4 +1,5 @@
en_US
en_GB
it_IT
sv_SE
zh_CN

2532
locale/po/it_IT.po Normal file

File diff suppressed because it is too large Load diff