mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 13:19:00 +08:00
Make default job name translateable
Contributes to issue CURA-5367.
This commit is contained in:
parent
302072bd6e
commit
5e4ccf004d
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user