From ee47e614e1ce0f895402829fbf90d9381bdfd86e Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sun, 16 Apr 2023 21:27:28 -0500 Subject: [PATCH] Gui: Fix translation of Export error dialog --- src/Gui/CommandDoc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }