Gui: Fix translation of Export error dialog

This commit is contained in:
Chris Hennes
2023-04-16 21:27:28 -05:00
parent ffd3f9b1a2
commit ee47e614e1

View File

@@ -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;
}