Merge pull request #9293 from chennes/translateExportErrorDialog

Gui: Fix translation of Export error dialog
This commit is contained in:
Chris Hennes
2023-04-17 11:14:38 -05:00
committed by GitHub

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