DolphinQt2: Fix localization issues

This commit is contained in:
JosJuice 2017-07-23 10:50:20 +02:00
parent 9237137c3a
commit 5938c58f99
1 changed files with 3 additions and 4 deletions

View File

@ -179,10 +179,9 @@ void MenuBar::UpdateStateSlotMenu()
{ {
int slot = i + 1; int slot = i + 1;
QString info = QString::fromStdString(State::GetInfoStringOfSlot(slot)); QString info = QString::fromStdString(State::GetInfoStringOfSlot(slot));
QString action_string = tr(" Slot %1 - %2").arg(slot).arg(info); actions_load.at(i)->setText(tr("Load from Slot %1 - %2").arg(slot).arg(info));
actions_load.at(i)->setText(tr("Load from") + action_string); actions_save.at(i)->setText(tr("Save to Slot %1 - %2").arg(slot).arg(info));
actions_save.at(i)->setText(tr("Save to") + action_string); actions_slot.at(i)->setText(tr("Select Slot %1 - %2").arg(slot).arg(info));
actions_slot.at(i)->setText(tr("Select") + action_string);
} }
} }