mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Fix context of pause, resume and abort labels
More in line with what we have in the rest of our code base. Discovered during work on CL-1053 and CURA-5729.
This commit is contained in:
parent
a7a022eca0
commit
ac4ee8c428
1 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
// Copyright (c) 2017 Ultimaker B.V.
|
||||
// Cura is released under the terms of the LGPLv3 or higher.
|
||||
//Copyright (c) 2018 Ultimaker B.V.
|
||||
//Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import QtQuick 2.2
|
||||
import QtQuick.Controls 1.1
|
||||
|
@ -281,16 +281,16 @@ Item
|
|||
text: {
|
||||
if (!printerConnected || activePrintJob == null)
|
||||
{
|
||||
return catalog.i18nc("@label:", "Pause");
|
||||
return catalog.i18nc("@label", "Pause");
|
||||
}
|
||||
|
||||
if (activePrintJob.state == "paused")
|
||||
{
|
||||
return catalog.i18nc("@label:", "Resume");
|
||||
return catalog.i18nc("@label", "Resume");
|
||||
}
|
||||
else
|
||||
{
|
||||
return catalog.i18nc("@label:", "Pause");
|
||||
return catalog.i18nc("@label", "Pause");
|
||||
}
|
||||
}
|
||||
onClicked:
|
||||
|
@ -322,7 +322,7 @@ Item
|
|||
|
||||
height: UM.Theme.getSize("save_button_save_to_button").height
|
||||
|
||||
text: catalog.i18nc("@label:", "Abort Print")
|
||||
text: catalog.i18nc("@label", "Abort Print")
|
||||
onClicked: confirmationDialog.visible = true
|
||||
|
||||
style: UM.Theme.styles.sidebar_action_button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue