Make sure we have a catalog to read translations from

This commit is contained in:
Arjen Hiemstra 2015-09-15 15:35:42 +02:00
parent 879d45b430
commit 6eeb4c9e75

View file

@ -5,7 +5,7 @@ import QtQuick 2.2
import QtQuick.Window 2.2 import QtQuick.Window 2.2
import QtQuick.Controls 1.2 import QtQuick.Controls 1.2
import UM 1.0 as UM import UM 1.1 as UM
UM.Dialog UM.Dialog
{ {
@ -23,7 +23,7 @@ UM.Dialog
{ {
anchors.fill: parent; anchors.fill: parent;
Text Label
{ {
anchors anchors
{ {
@ -70,6 +70,8 @@ UM.Dialog
{ {
id: palette; id: palette;
} }
UM.I18nCatalog { id: catalog; name: "cura"; }
} }
rightButtons: [ rightButtons: [