Make default job name translateable

Contributes to issue CURA-5367.
This commit is contained in:
Ghostkeeper 2018-07-13 09:59:32 +02:00
parent 302072bd6e
commit 5e4ccf004d
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -81,7 +81,7 @@ Item {
text: PrintInformation.jobName
horizontalAlignment: TextInput.AlignRight
onEditingFinished: {
var new_name = text == "" ? "unnamed" : text;
var new_name = text == "" ? catalog.i18nc("@text Print job name", "unnamed") : text;
PrintInformation.setJobName(new_name, true);
printJobTextfield.focus = false;
}