From ae084506b673d4264f5da65e369922bfd29fe50a Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Wed, 19 Jul 2017 11:33:31 +0200 Subject: make more translatable --- framework/qml/EditAccount.qml | 2 +- framework/qml/MailViewer.qml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'framework') diff --git a/framework/qml/EditAccount.qml b/framework/qml/EditAccount.qml index 69c0ff11..ad7c1f76 100644 --- a/framework/qml/EditAccount.qml +++ b/framework/qml/EditAccount.qml @@ -121,7 +121,7 @@ Item { Kube.Button { anchors.right: parent.right - text: "Save" + text: qsTr("Save") onClicked: { loader.item.save() //TODO Feedback that the settings have been saved (popup notification/animation?) diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml index d2720665..6cc318da 100644 --- a/framework/qml/MailViewer.qml +++ b/framework/qml/MailViewer.qml @@ -325,17 +325,17 @@ Rectangle { topMargin: Math.max(attachments.height, Kube.Units.largeSpacing) } visible: root.incomplete - text: "Incomplete body..." + text: qsTr("Incomplete body...") color: Kube.Colors.textColor enabled: false states: [ State { name: "inprogress"; when: model.status == Kube.MailListModel.InProgressStatus - PropertyChanges { target: incompleteBody; text: "Downloading message..." } + PropertyChanges { target: incompleteBody; text: qsTr("Downloading message...") } }, State { name: "error"; when: model.status == Kube.MailListModel.ErrorStatus - PropertyChanges { target: incompleteBody; text: "Failed to download message..." } + PropertyChanges { target: incompleteBody; text: qsTr("Failed to download message...") } } ] } -- cgit v1.2.3