Browse Source

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.
Ghostkeeper 6 years ago
parent
commit
ac4ee8c428
1 changed files with 6 additions and 6 deletions
  1. 6 6
      resources/qml/MonitorButton.qml

+ 6 - 6
resources/qml/MonitorButton.qml

@@ -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