Profile compare-and-save: Add (more) explanatory text(s).

part of CURA-9347
This commit is contained in:
Remco Burema 2022-11-30 19:54:41 +01:00
parent 8f65af61e5
commit 6f651b922a
3 changed files with 45 additions and 2 deletions

View file

@ -878,6 +878,29 @@ UM.MainWindow
title: catalog.i18nc("@title:window", "Save Custom Profile")
object: catalog.i18nc("@textfield:placeholder", "<New Custom Profile>")
explanation: catalog.i18nc("@info", "Custom profile name:")
extraInfo:
[
UM.ColorImage
{
width: UM.Theme.getSize("message_type_icon").width
height: UM.Theme.getSize("message_type_icon").height
source: UM.Theme.getIcon("Information")
color: UM.Theme.getColor("text")
},
UM.Label
{
text: catalog.i18nc
(
"@label %i will be replaced with a profile name",
"<b>Only user changed settings will be saved in the custom profile.</b><br/>" +
"The new custom profile will inherit properties from <b>%1</b>,<br/>" +
"for materials that support it.<br/>" +
"<a href=\"%2\">Learn more about Cura print profiles</a>"
).arg(Cura.MachineManager.activeQualityOrQualityChangesName).arg("https://support.ultimaker.com/s/article/1667337576882")
wrapMode: Text.WordWrap
}
]
okButtonText: catalog.i18nc("@button", "Save new profile")
onAccepted: CuraApplication.getQualityManagementModel().createQualityChanges(newName, true);
}