mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Make Polish selectable.
This commit is contained in:
@@ -13,7 +13,7 @@ std::string Lang::get(const std::string &key) {
|
|||||||
return appJson.at(key).get_ref<const std::string&>();
|
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) {
|
void Lang::load(const std::string lang) {
|
||||||
FILE* values;
|
FILE* values;
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ const std::vector<std::string> Translators = {
|
|||||||
"Pk11",
|
"Pk11",
|
||||||
"Roby Spia",
|
"Roby Spia",
|
||||||
"StackZ",
|
"StackZ",
|
||||||
|
"XDgierman",
|
||||||
"YoSoy"
|
"YoSoy"
|
||||||
};
|
};
|
||||||
const std::vector<std::string> Languages = {
|
const std::vector<std::string> Languages = {
|
||||||
@@ -53,7 +54,8 @@ const std::vector<std::string> Languages = {
|
|||||||
"Lietuvių",
|
"Lietuvių",
|
||||||
"日本語",
|
"日本語",
|
||||||
"Italiano",
|
"Italiano",
|
||||||
"deutsch, English",
|
"Deutsch, English",
|
||||||
|
"Polski",
|
||||||
"Español"
|
"Español"
|
||||||
};
|
};
|
||||||
// Universal-Team Page 2.
|
// Universal-Team Page 2.
|
||||||
|
|||||||
@@ -77,10 +77,12 @@ const std::vector<std::string> languages = {
|
|||||||
"Français",
|
"Français",
|
||||||
"Italiano",
|
"Italiano",
|
||||||
"Lietuvių",
|
"Lietuvių",
|
||||||
|
"Polski",
|
||||||
"Português",
|
"Português",
|
||||||
"Русский",
|
"Русский",
|
||||||
"日本語"
|
"日本語"
|
||||||
};
|
};
|
||||||
|
|
||||||
void Settings::DrawLanguageSelection(void) const {
|
void Settings::DrawLanguageSelection(void) const {
|
||||||
std::string line1;
|
std::string line1;
|
||||||
GFX::DrawTop();
|
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) {
|
void Settings::LanguageSelection(u32 hDown, touchPosition touch) {
|
||||||
if (hDown & KEY_UP) {
|
if (hDown & KEY_UP) {
|
||||||
if(selectedLang > 0) {
|
if(selectedLang > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user