diff --git a/src/Gui/CommandDoc.cpp b/src/Gui/CommandDoc.cpp index 2e6e03e704..75dd9cb316 100644 --- a/src/Gui/CommandDoc.cpp +++ b/src/Gui/CommandDoc.cpp @@ -411,8 +411,8 @@ void StdCmdExport::activated(int iMsg) auto selection = Gui::Selection().getObjectsOfType(App::DocumentObject::getClassTypeId()); if (selection.empty()) { QMessageBox::warning(Gui::getMainWindow(), - QString::fromUtf8(QT_TR_NOOP("No selection")), - QString::fromUtf8(QT_TR_NOOP("Select the objects to export before choosing Export."))); + QCoreApplication::translate("StdCmdExport", "No selection"), + QCoreApplication::translate("StdCmdExport", "Select the objects to export before choosing Export.")); return; }