Skip to content

Commit

Permalink
Show correct translation for 'Slot' after erasing one
Browse files Browse the repository at this point in the history
Fixes #265

Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
  • Loading branch information
szszszsz committed Sep 15, 2017
1 parent dc3e5dc commit 7c60ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ void MainWindow::on_PWS_ButtonClearSlot_clicked() {
ui->PWS_EditPassword->setText("");
ui->PWS_EditLoginName->setText("");
ui->PWS_ComboBoxSelectSlot->setItemText(
item_number, QString("Slot ").append(QString::number(slot_number + 1)));
item_number, tr("Slot ").append(QString::number(slot_number + 1)));
csApplet()->messageBox(tr("Slot has been erased successfully."));
emit PWS_slot_saved(slot_number);
}
Expand Down

0 comments on commit 7c60ca7

Please sign in to comment.