ServiceMenu: afegida opció per a canviar el idioma
This commit is contained in:
@@ -44,7 +44,7 @@ namespace globalInputs
|
||||
const std::string CODE = "RESET";
|
||||
if (Notifier::get()->checkCode(CODE))
|
||||
{
|
||||
section::name = section::Name::INIT;
|
||||
section::name = section::Name::RESET;
|
||||
Notifier::get()->show({lang::getText("[NOTIFICATIONS] 15")});
|
||||
}
|
||||
else
|
||||
@@ -124,7 +124,7 @@ namespace globalInputs
|
||||
{
|
||||
options.game.language = lang::getNextLangCode(options.game.language);
|
||||
lang::loadFromFile(getLangFile(static_cast<lang::Code>(options.game.language)));
|
||||
section::name = section::Name::INIT;
|
||||
section::name = section::Name::RESET;
|
||||
section::options = section::Options::RELOAD;
|
||||
Notifier::get()->show({lang::getText("[NOTIFICATIONS] 05") + getLangName(options.game.language)});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user