mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-02 23:31:42 -07:00
Make default job name translateable
Contributes to issue CURA-5367.
This commit is contained in:
parent
302072bd6e
commit
5e4ccf004d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue