mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-01-06 06:37:46 -07:00
Make the warning message more concise
CURA-12622 The purpose being to make the message as short as possible so that people are not too much discouraged to read it
This commit is contained in:
parent
217065d178
commit
a39f6c94fa
1 changed files with 6 additions and 5 deletions
|
|
@ -973,12 +973,13 @@ class CuraEngineBackend(QObject, Backend):
|
|||
|
||||
if no_use_warnings:
|
||||
extruder_names = [self._global_container_stack.extruderList[int(idx)].definition.getName() for idx in no_use_warnings]
|
||||
unused_extruders = [f"<li>{extruder_name}</li>" for extruder_name in extruder_names]
|
||||
Message(
|
||||
text=catalog.i18nc("@message", "At least one extruder that wasn't disabled, remains unused in this print (preview). "
|
||||
f"Unused extruders: '<b>{", ".join(extruder_names)}</b>'. This can sometimes become a problem "
|
||||
"(for example when the bed-temperature is adjusted by the material-profile present in the unused extruder). "
|
||||
"It therefore might be desirable to disable these unused extruders manually, depending on the situation. "),
|
||||
title=catalog.i18nc("@message:title", "Unused Non-Disabled Extruder"),
|
||||
text=catalog.i18nc("@message", "<html>At least one extruder remains unused in this print:"
|
||||
f"<ul><b>{"".join(unused_extruders)}</b></ul><br/>This can sometimes become a problem, "
|
||||
"for example when the bed-temperature is adjusted by the material-profile present in the unused extruder. "
|
||||
"It might be desirable to disable these unused extruders.</html>"),
|
||||
title=catalog.i18nc("@message:title", "Unused Extruder"),
|
||||
message_type=Message.MessageType.WARNING
|
||||
).show()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue