mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-02 16:49:05 +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&>();
|
||||
}
|
||||
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user