diff --git a/sources/dxf/dxftoelmt.cpp b/sources/dxf/dxftoelmt.cpp index 2ba0e9313..13477c860 100644 --- a/sources/dxf/dxftoelmt.cpp +++ b/sources/dxf/dxftoelmt.cpp @@ -55,7 +55,7 @@ QByteArray dxfToElmt(const QString &file_path) // inform the user about log-output via QMessageBox QMessageBox msgBox; msgBox.setIcon(QMessageBox::Critical); - msgBox.setText(QObject::tr ("Dxf2elmt: \nError: Make sure the file %1 is a valid .dxf file").arg(file_path)); + msgBox.setText(QObject::tr("Dxf2elmt: \nError: Make sure the file %1 is a valid .dxf file").arg(file_path)); msgBox.setInformativeText (QObject::tr("See details here:")); msgBox.setDetailedText(error_output); msgBox.exec(); diff --git a/sources/qet_elementscaler/qet_elementscaler.cpp b/sources/qet_elementscaler/qet_elementscaler.cpp index ab61a684b..46890bc02 100644 --- a/sources/qet_elementscaler/qet_elementscaler.cpp +++ b/sources/qet_elementscaler/qet_elementscaler.cpp @@ -97,7 +97,7 @@ QByteArray ElementScaler(const QString &file_path, QWidget *parent) if (error_output.length() > 0) { // inform the user about log-output via QMessageBox QMessageBox msgBox; - msgBox.setText (QObject::tr("QET_ElementScaler: \nadditional information about import / scaling")); + msgBox.setText(QObject::tr("QET_ElementScaler: \nadditional information about %1 import / scaling").arg(file_path)); msgBox.setInformativeText(QObject::tr("See details here:")); msgBox.setDetailedText(error_output); msgBox.exec();