mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
printoptions.cpp: add missing tr() calls
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
261c11de28
commit
6614e38581
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue