Afegides traduccions per a elements nous de service menu
This commit is contained in:
@@ -247,7 +247,7 @@ void ServiceMenu::initializeOptions() {
|
||||
|
||||
// CONTROLS
|
||||
options_.push_back(std::make_unique<ListOption>(
|
||||
"Mando Jugador 1",
|
||||
Lang::getText("[SERVICE_MENU] CONTROLLER1"),
|
||||
SettingsGroup::CONTROLS,
|
||||
Input::get()->getControllerNames(),
|
||||
[]() {
|
||||
@@ -258,7 +258,7 @@ void ServiceMenu::initializeOptions() {
|
||||
}));
|
||||
|
||||
options_.push_back(std::make_unique<ListOption>(
|
||||
"Mando Jugador 2",
|
||||
Lang::getText("[SERVICE_MENU] CONTROLLER2"),
|
||||
SettingsGroup::CONTROLS,
|
||||
Input::get()->getControllerNames(),
|
||||
[]() {
|
||||
@@ -269,11 +269,11 @@ void ServiceMenu::initializeOptions() {
|
||||
}));
|
||||
|
||||
options_.push_back(std::make_unique<ListOption>(
|
||||
"Teclat",
|
||||
Lang::getText("[SERVICE_MENU] KEYBOARD"),
|
||||
SettingsGroup::CONTROLS,
|
||||
std::vector<std::string>{
|
||||
"Jugador 1",
|
||||
"Jugador 2"},
|
||||
Lang::getText("[SERVICE_MENU] PLAYER1"),
|
||||
Lang::getText("[SERVICE_MENU] PLAYER2")},
|
||||
[]() {
|
||||
return Lang::getNameFromCode(Options::pending_changes.new_language);
|
||||
},
|
||||
@@ -410,7 +410,7 @@ void ServiceMenu::initializeOptions() {
|
||||
|
||||
// MAIN MENU
|
||||
options_.push_back(std::make_unique<FolderOption>(
|
||||
"Controls",
|
||||
Lang::getText("[SERVICE_MENU] CONTROLS"),
|
||||
SettingsGroup::MAIN,
|
||||
SettingsGroup::CONTROLS));
|
||||
|
||||
@@ -459,9 +459,9 @@ auto ServiceMenu::settingsGroupToString(SettingsGroup group) -> std::string {
|
||||
case SettingsGroup::MAIN:
|
||||
return Lang::getText("[SERVICE_MENU] TITLE");
|
||||
case SettingsGroup::CONTROLS:
|
||||
return Lang::getText("[SERVICE_MENU] TITLE");
|
||||
return Lang::getText("[SERVICE_MENU] CONTROLS");
|
||||
case SettingsGroup::VIDEO:
|
||||
return "Controls";
|
||||
return Lang::getText("[SERVICE_MENU] VIDEO");
|
||||
case SettingsGroup::AUDIO:
|
||||
return Lang::getText("[SERVICE_MENU] AUDIO");
|
||||
case SettingsGroup::SETTINGS:
|
||||
|
||||
Reference in New Issue
Block a user