Browse Source

Apply suggestions from code review

Jelle Spijker 2 years ago
parent
commit
e91d5df3a3

+ 5 - 2
resources/qml/Cura.qml

@@ -494,7 +494,10 @@ UM.MainWindow
     Connections
     {
         target: Cura.Actions.addProfile
-        function onTriggered() { createNewQualityDialog.visible = true; }
+        function onTriggered()
+        {
+            createNewQualityDialog.visible = true;
+        }
     }
 
     Connections
@@ -905,7 +908,7 @@ UM.MainWindow
                 }
                 Cura.TertiaryButton
                 {
-                    text: "Learn more about Cura print profiles"
+                    text: catalog.i18nc("@action:button", "Learn more about Cura print profiles")
                     iconSource: UM.Theme.getIcon("LinkExternal")
                     isIconOnRightSide: true
                     leftPadding: 0

+ 2 - 2
resources/qml/PrintSetupSelector/ProfileWarningReset.qml

@@ -1,5 +1,5 @@
-//Copyright (C) 2022 UltiMaker B.V.
-//Cura is released under the terms of the LGPLv3 or higher.
+// Copyright (C) 2022 UltiMaker
+// Cura is released under the terms of the LGPLv3 or higher.
 
 import QtQuick 2.10