Mil millons de miniarreglos

Afegides traduccions faltants
This commit is contained in:
2024-09-26 22:13:20 +02:00
parent 69027f96e6
commit 05e3fddb8f
18 changed files with 173 additions and 28 deletions

View File

@@ -20,27 +20,27 @@ DefineButtons::DefineButtons(Input *input, Text *text, param_t *param, options_t
buttons.clear();
db_button_t button;
button.label = "DISPARAR CAP A L'ESQUERRA";
button.label = lang::getText(95);
button.input = input_fire_left;
button.button = SDL_CONTROLLER_BUTTON_X;
buttons.push_back(button);
button.label = "DISPARAR CAP AMUNT";
button.label = lang::getText(96);
button.input = input_fire_center;
button.button = SDL_CONTROLLER_BUTTON_Y;
buttons.push_back(button);
button.label = "DISPARAR CAP A LA DRETA";
button.label = lang::getText(97);
button.input = input_fire_right;
button.button = SDL_CONTROLLER_BUTTON_RIGHTSHOULDER;
buttons.push_back(button);
button.label = "START";
button.label = lang::getText(98);
button.input = input_start;
button.button = SDL_CONTROLLER_BUTTON_START;
buttons.push_back(button);
button.label = "SERVEI";
button.label = lang::getText(99);
button.input = input_exit;
button.button = SDL_CONTROLLER_BUTTON_BACK;
buttons.push_back(button);
@@ -69,7 +69,7 @@ void DefineButtons::render()
{
if (enabled)
{
text->writeCentered(x, y - 10, "JUGADOR " + std::to_string(options->controller[indexController].playerId));
text->writeCentered(x, y - 10, lang::getText(100) + std::to_string(options->controller[indexController].playerId));
text->writeCentered(x, y, controllerNames[indexController]);
text->writeCentered(x, y + 10, buttons[indexButton].label);
}