Make Polish selectable.
This commit is contained in:
parent
6183e3f5f4
commit
1c2a0de856
3 changed files with 7 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ std::string Lang::get(const std::string &key) {
|
|||
return appJson.at(key).get_ref<const std::string&>();
|
||||
}
|
||||
|
||||
std::string langs[] = {"br", "da", "de", "en", "es", "fr", "it", "lt", "pt", "ru", "jp"};
|
||||
std::string langs[] = {"br", "da", "de", "en", "es", "fr", "it", "lt", "pl", "pt", "ru", "jp"};
|
||||
|
||||
void Lang::load(const std::string lang) {
|
||||
FILE* values;
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ const std::vector<std::string> Translators = {
|
|||
"Pk11",
|
||||
"Roby Spia",
|
||||
"StackZ",
|
||||
"XDgierman",
|
||||
"YoSoy"
|
||||
};
|
||||
const std::vector<std::string> Languages = {
|
||||
|
|
@ -53,7 +54,8 @@ const std::vector<std::string> Languages = {
|
|||
"Lietuvių",
|
||||
"日本語",
|
||||
"Italiano",
|
||||
"deutsch, English",
|
||||
"Deutsch, English",
|
||||
"Polski",
|
||||
"Español"
|
||||
};
|
||||
// Universal-Team Page 2.
|
||||
|
|
|
|||
|
|
@ -77,10 +77,12 @@ const std::vector<std::string> languages = {
|
|||
"Français",
|
||||
"Italiano",
|
||||
"Lietuvių",
|
||||
"Polski",
|
||||
"Português",
|
||||
"Русский",
|
||||
"日本語"
|
||||
};
|
||||
|
||||
void Settings::DrawLanguageSelection(void) const {
|
||||
std::string line1;
|
||||
GFX::DrawTop();
|
||||
|
|
@ -333,7 +335,7 @@ void Settings::SubMenuLogic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||
}
|
||||
}
|
||||
|
||||
std::string langsTemp[] = {"br", "da", "de", "en", "es", "fr", "it", "lt", "pt", "ru", "jp"};
|
||||
std::string langsTemp[] = {"br", "da", "de", "en", "es", "fr", "it", "lt", "pl", "pt", "ru", "jp"};
|
||||
void Settings::LanguageSelection(u32 hDown, touchPosition touch) {
|
||||
if (hDown & KEY_UP) {
|
||||
if(selectedLang > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue