From 7f95dc98e6ac820adcb1d005c63e6e4007e6ad23 Mon Sep 17 00:00:00 2001 From: casper Date: Fri, 11 Feb 2022 13:27:29 +0100 Subject: [PATCH] Translate text within the color picker CURA 8687 --- resources/qml/ColorDialog.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/qml/ColorDialog.qml b/resources/qml/ColorDialog.qml index 2b5669db5f..4f86168f7d 100644 --- a/resources/qml/ColorDialog.qml +++ b/resources/qml/ColorDialog.qml @@ -15,6 +15,8 @@ UM.Dialog { id: base + property variant catalog: UM.I18nCatalog { name: "cura" } + minimumHeight: UM.Theme.getSize("small_popup_dialog").height minimumWidth: UM.Theme.getSize("small_popup_dialog").width / 1.5 height: minimumHeight @@ -29,7 +31,7 @@ UM.Dialog { id: colorLabel font: UM.Theme.getFont("large") - text: "Color Code (HEX)" + text: catalog.i18nc("@label", "Color Code (HEX)") } TextField