This commit is contained in:
Laurent Trinques 2024-10-13 10:02:49 +02:00
parent fc0dcb6ab0
commit c4fd1efb4f
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();