mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 20:16:02 +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
|
text: PrintInformation.jobName
|
||||||
horizontalAlignment: TextInput.AlignRight
|
horizontalAlignment: TextInput.AlignRight
|
||||||
onEditingFinished: {
|
onEditingFinished: {
|
||||||
var new_name = text == "" ? "unnamed" : text;
|
var new_name = text == "" ? catalog.i18nc("@text Print job name", "unnamed") : text;
|
||||||
PrintInformation.setJobName(new_name, true);
|
PrintInformation.setJobName(new_name, true);
|
||||||
printJobTextfield.focus = false;
|
printJobTextfield.focus = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user