mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Added translations for the strings
CL-894
This commit is contained in:
parent
eb7d42a7f8
commit
b074d2bdf3
1 changed files with 10 additions and 4 deletions
|
@ -15,6 +15,12 @@ Item
|
|||
return OutputDevice.formatDuration(time)
|
||||
}
|
||||
|
||||
UM.I18nCatalog
|
||||
{
|
||||
id: catalog
|
||||
name: "cura"
|
||||
}
|
||||
|
||||
Rectangle
|
||||
{
|
||||
id: background
|
||||
|
@ -88,11 +94,11 @@ Item
|
|||
{
|
||||
if(printJob.assignedPrinter == null)
|
||||
{
|
||||
return "Waiting for: first available"
|
||||
return catalog.i18nc("@label", "Waiting for: first available")
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Waiting for: " + printJob.assignedPrinter.name
|
||||
return catalog.i18nc("@label", "Waiting for: ") + printJob.assignedPrinter.name
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -146,7 +152,7 @@ Item
|
|||
Button
|
||||
{
|
||||
id: sendToTopButton
|
||||
text: "Send to top"
|
||||
text: catalog.i18nc("@label", "Move to top")
|
||||
onClicked: OutputDevice.sendJobToTop(printJob.key)
|
||||
width: parent.width
|
||||
enabled: OutputDevice.printJobs[0].key != printJob.key
|
||||
|
@ -154,7 +160,7 @@ Item
|
|||
Button
|
||||
{
|
||||
id: deleteButton
|
||||
text: "Delete"
|
||||
text: catalog.i18nc("@label", "Delete")
|
||||
onClicked: OutputDevice.deleteJobFromQueue(printJob.key)
|
||||
width: parent.width
|
||||
anchors.top: sendToTopButton.bottom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue