diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-10-01 16:17:20 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-01 12:55:29 -0400 |
commit | 6614e385811d440c09874eb69a6496f996e94a12 (patch) | |
tree | f880634c7a087a54d609a311d03117a9dd10aefc /qt-ui/printoptions.cpp | |
parent | 261c11de28b12c242d1a706c756c7bc04a99704c (diff) | |
download | subsurface-6614e385811d440c09874eb69a6496f996e94a12.tar.gz |
printoptions.cpp: add missing tr() calls
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printoptions.cpp')
-rw-r--r-- | qt-ui/printoptions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/printoptions.cpp b/qt-ui/printoptions.cpp index f97656789..79bcee158 100644 --- a/qt-ui/printoptions.cpp +++ b/qt-ui/printoptions.cpp @@ -171,8 +171,8 @@ void PrintOptions::on_deleteButton_clicked() { QString templateName = getSelectedTemplate(); QMessageBox msgBox; - msgBox.setText("This action cannot be undone!"); - msgBox.setInformativeText("Delete '" + templateName + "' template?"); + msgBox.setText(tr("This action cannot be undone!")); + msgBox.setInformativeText(tr("Delete template: %1?").arg(templateName)); msgBox.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel); msgBox.setDefaultButton(QMessageBox::Cancel); if (msgBox.exec() == QMessageBox::Ok) { |