mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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();
|
QString templateName = getSelectedTemplate();
|
||||||
QMessageBox msgBox;
|
QMessageBox msgBox;
|
||||||
msgBox.setText("This action cannot be undone!");
|
msgBox.setText(tr("This action cannot be undone!"));
|
||||||
msgBox.setInformativeText("Delete '" + templateName + "' template?");
|
msgBox.setInformativeText(tr("Delete template: %1?").arg(templateName));
|
||||||
msgBox.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel);
|
msgBox.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel);
|
||||||
msgBox.setDefaultButton(QMessageBox::Cancel);
|
msgBox.setDefaultButton(QMessageBox::Cancel);
|
||||||
if (msgBox.exec() == QMessageBox::Ok) {
|
if (msgBox.exec() == QMessageBox::Ok) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue