From 03d3f452777604b2aa41ae7fd3cecdfdc5d11d1c Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Sun, 28 Jun 2015 04:39:38 +0300 Subject: [PATCH] PartDesign/Workbench: make a message more translation-frendly --- src/Mod/PartDesign/Gui/Workbench.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/PartDesign/Gui/Workbench.cpp b/src/Mod/PartDesign/Gui/Workbench.cpp index 9e89f061e7..2f621e3850 100644 --- a/src/Mod/PartDesign/Gui/Workbench.cpp +++ b/src/Mod/PartDesign/Gui/Workbench.cpp @@ -266,8 +266,8 @@ void Workbench::_doMigration(const App::Document* doc) features.erase(feat); } else { QMessageBox::critical(Gui::getMainWindow(), QObject::tr("Non-linear tree"), - QObject::tr("Please look at '") + QString::fromAscii((*o)->getNameInDocument()) + - QObject::tr("' and make sure that the migration result is what you would expect.")); + QObject::tr("Please look at '%1' and make sure that the migration result is what you" + " would expect.").arg(QString::fromAscii((*o)->getNameInDocument()))); } } std::set newInList;