From 2efe06f4442e074fd6268d5a787e4cd43f445b07 Mon Sep 17 00:00:00 2001 From: Valentina Zhuravska Date: Sat, 19 Mar 2016 10:36:16 +0200 Subject: [PATCH] Added tr for all strings --HG-- branch : feature --- src/app/valentina/dialogs/dialogpatternproperties.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/valentina/dialogs/dialogpatternproperties.cpp b/src/app/valentina/dialogs/dialogpatternproperties.cpp index c05fac8b9..84d1e4a94 100644 --- a/src/app/valentina/dialogs/dialogpatternproperties.cpp +++ b/src/app/valentina/dialogs/dialogpatternproperties.cpp @@ -629,10 +629,10 @@ void DialogPatternProperties::InitImage() connect(ui->deleteImageButton, &QPushButton::clicked, this, &DialogPatternProperties::DeleteImage); connect(ui->imageLabel, &QWidget::customContextMenuRequested, this, &DialogPatternProperties::ShowContextMenu); - deleteAction = new QAction("Delete image", this); - changeImageAction = new QAction("Change image", this); - saveImageAction = new QAction("Save image to file", this); - showImageAction = new QAction("Show image", this); + deleteAction = new QAction(tr("Delete image"), this); + changeImageAction = new QAction(tr("Change image"), this); + saveImageAction = new QAction(tr("Save image to file"), this); + showImageAction = new QAction(tr("Show image"), this); connect(deleteAction, &QAction::triggered, this, &DialogPatternProperties::DeleteImage); connect(changeImageAction, &QAction::triggered, this, &DialogPatternProperties::SetNewImage); connect(saveImageAction, &QAction::triggered, this, &DialogPatternProperties::SaveImage); @@ -670,7 +670,7 @@ void DialogPatternProperties::SetNewImage() void DialogPatternProperties::DeleteImage() { doc->DeleteImage(); - ui->imageLabel->setText("Change image"); + ui->imageLabel->setText(tr("Change image")); } //---------------------------------------------------------------------------------------------------------------------