From 6eeb4c9e756f5cb0ce25ea003a5c7d0fd39eb451 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Tue, 15 Sep 2015 15:35:42 +0200 Subject: [PATCH] Make sure we have a catalog to read translations from --- plugins/USBPrinting/FirmwareUpdateWindow.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/USBPrinting/FirmwareUpdateWindow.qml b/plugins/USBPrinting/FirmwareUpdateWindow.qml index 52ad5ee9dd..4ab1020a3a 100644 --- a/plugins/USBPrinting/FirmwareUpdateWindow.qml +++ b/plugins/USBPrinting/FirmwareUpdateWindow.qml @@ -5,7 +5,7 @@ import QtQuick 2.2 import QtQuick.Window 2.2 import QtQuick.Controls 1.2 -import UM 1.0 as UM +import UM 1.1 as UM UM.Dialog { @@ -23,7 +23,7 @@ UM.Dialog { anchors.fill: parent; - Text + Label { anchors { @@ -70,6 +70,8 @@ UM.Dialog { id: palette; } + + UM.I18nCatalog { id: catalog; name: "cura"; } } rightButtons: [