Browse Source

Clarifications and fixes to source strings

Found during work on CURA-7622.
Ghostkeeper 4 years ago
parent
commit
222d6604e0

+ 2 - 2
resources/qml/Account/UserOperations.qml

@@ -1,4 +1,4 @@
-// Copyright (c) 2018 Ultimaker B.V.
+// Copyright (c) 2020 Ultimaker B.V.
 // Cura is released under the terms of the LGPLv3 or higher.
 
 import QtQuick 2.10
@@ -96,7 +96,7 @@ Column
         id: cloudButton
         width: UM.Theme.getSize("account_button").width
         height: UM.Theme.getSize("account_button").height
-        text: catalog.i18nc("@button", "Ultimaker Digital Factory")
+        text: "Ultimaker Digital Factory"
         onClicked: Qt.openUrlExternally(CuraApplication.ultimakerDigitalFactoryUrl)
         fixedWidthMode: false
     }

+ 2 - 2
resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml

@@ -1,4 +1,4 @@
-// Copyright (c) 2017 Ultimaker B.V.
+// Copyright (c) 2020 Ultimaker B.V.
 // Cura is released under the terms of the LGPLv3 or higher.
 
 import QtQuick 2.1
@@ -54,7 +54,7 @@ UM.Dialog
 
         Label
         {
-            text: catalog.i18nc("@text:window, %1 is a profile name", "You have customized some profile settings.\nWould you like to Keep these changed settings after switching profiles?\nAlternatively, you can Discard the changes to load the defaults from '%1'.").arg(Cura.MachineManager.activeQualityDisplayNameMap["main"])
+            text: catalog.i18nc("@text:window, %1 is a profile name", "You have customized some profile settings.\nWould you like to Keep these changed settings after switching profiles?\nAlternatively, you can discard the changes to load the defaults from '%1'.").arg(Cura.MachineManager.activeQualityDisplayNameMap["main"])
             anchors.margins: UM.Theme.getSize("default_margin").width
             wrapMode: Text.WordWrap
         }

+ 1 - 1
resources/qml/ObjectItemButton.qml

@@ -115,7 +115,7 @@ Button
                 if (perObjectSettingsCount != "")
                 {
                     result += "<br>" + catalog.i18ncp(
-                        "@label", "Overrides %1 setting.", "Overrides %1 settings.", perObjectSettingsCount
+                        "@label %1 is the number of settings it overrides.", "Overrides %1 setting.", "Overrides %1 settings.", perObjectSettingsCount
                     ).arg(perObjectSettingsCount);
                 }
                 return result;