Slightly reworded error messages for

Cannot import .sl1 files into PrusaSlicer
This commit is contained in:
Vojtech Bubnik 2021-10-01 15:07:03 +02:00
parent 29aab3a426
commit c7d6a95cb3

View file

@ -153,8 +153,8 @@ void SLAImportJob::process()
break; break;
} }
} catch (MissingProfileError &) { } catch (MissingProfileError &) {
p->err = _L("The archive doesn't contain any profile data. Try to import after switching " p->err = _L("The SLA archive doesn't contain any presets. "
"to an SLA profile that can be used as fallback.").ToStdString(); "Please activate some SLA printer preset first before importing that SLA archive.").ToStdString();
} catch (std::exception &ex) { } catch (std::exception &ex) {
p->err = ex.what(); p->err = ex.what();
} }
@ -207,8 +207,8 @@ void SLAImportJob::finalize()
m_plater->get_notification_manager()->push_notification( m_plater->get_notification_manager()->push_notification(
NotificationType::CustomNotification, NotificationType::CustomNotification,
NotificationManager::NotificationLevel::WarningNotificationLevel, NotificationManager::NotificationLevel::WarningNotificationLevel,
_L("Loaded archive did not contain any profile data. " _L("The imported SLA archive did not contain any presets. "
"The current SLA profile was used as fallback.").ToStdString()); "The current SLA presets were used as fallback.").ToStdString());
} }
if (p->sel != Sel::modelOnly) { if (p->sel != Sel::modelOnly) {