aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/printoptions.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-10-01 16:17:20 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-01 12:55:29 -0400
commit6614e385811d440c09874eb69a6496f996e94a12 (patch)
treef880634c7a087a54d609a311d03117a9dd10aefc /qt-ui/printoptions.cpp
parent261c11de28b12c242d1a706c756c7bc04a99704c (diff)
downloadsubsurface-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.cpp4
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) {