summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-07-19 11:41:40 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-07-19 11:41:40 +0200
commitbdcbf308d1b6c64d9a909cf232f4d805350aafdf (patch)
tree8d11126f975588324ebd643e0183ab443ed75727
parentae084506b673d4264f5da65e369922bfd29fe50a (diff)
downloadkube-bdcbf308d1b6c64d9a909cf232f4d805350aafdf.tar.gz
kube-bdcbf308d1b6c64d9a909cf232f4d805350aafdf.zip
qsTr all the strings
-rw-r--r--components/mailviewer/contents/ui/MailPart.qml2
-rw-r--r--framework/qml/MailViewer.qml6
-rw-r--r--framework/qml/Outbox.qml2
-rw-r--r--framework/qml/People.qml4
-rw-r--r--framework/qml/StatusBar.qml2
5 files changed, 8 insertions, 8 deletions
diff --git a/components/mailviewer/contents/ui/MailPart.qml b/components/mailviewer/contents/ui/MailPart.qml
index 7ff426e9..3dbca1d4 100644
--- a/components/mailviewer/contents/ui/MailPart.qml
+++ b/components/mailviewer/contents/ui/MailPart.qml
@@ -51,7 +51,7 @@ Item {
51 leftMargin: Kube.Units.smallSpacing 51 leftMargin: Kube.Units.smallSpacing
52 } 52 }
53 53
54 text: "sent by " + root.sender + " on " + root.date 54 text: qsTr("sent by %1 on %2").arg(root.sender).arg(root.date)
55 color: "grey" 55 color: "grey"
56 } 56 }
57 ListView { 57 ListView {
diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml
index 6cc318da..cbf754c3 100644
--- a/framework/qml/MailViewer.qml
+++ b/framework/qml/MailViewer.qml
@@ -161,15 +161,15 @@ Rectangle {
161 states: [ 161 states: [
162 State { 162 State {
163 name: "trash"; when: root.trash 163 name: "trash"; when: root.trash
164 PropertyChanges { target: subject; text: "Trash: " + root.subject } 164 PropertyChanges { target: subject; text: qsTr("Trash: %1").arg(root.subject) }
165 }, 165 },
166 State { 166 State {
167 name: "draft"; when: root.draft 167 name: "draft"; when: root.draft
168 PropertyChanges { target: subject; text: "Draft: " + root.subject } 168 PropertyChanges { target: subject; text: qsTr("Draft: %1").arg(root.subject) }
169 }, 169 },
170 State { 170 State {
171 name: "sent"; when: root.sent 171 name: "sent"; when: root.sent
172 PropertyChanges { target: subject; text: "Sent: " + root.subject } 172 PropertyChanges { target: subject; text: qsTr("Sent: %1").arg(root.subject) }
173 } 173 }
174 ] 174 ]
175 } 175 }
diff --git a/framework/qml/Outbox.qml b/framework/qml/Outbox.qml
index 9fad8db5..bdd68a7d 100644
--- a/framework/qml/Outbox.qml
+++ b/framework/qml/Outbox.qml
@@ -109,7 +109,7 @@ Kube.IconButton {
109 states: [ 109 states: [
110 State { 110 State {
111 name: "inprogress"; when: model.status == Kube.OutboxModel.InProgressStatus 111 name: "inprogress"; when: model.status == Kube.OutboxModel.InProgressStatus
112 PropertyChanges { target: subjectLabel; text: "Sending: " + model.subject } 112 PropertyChanges { target: subjectLabel; text: qsTr("Sending: %1").arg(model.subject) }
113 }, 113 },
114 State { 114 State {
115 name: "error"; when: model.status == Kube.OutboxModel.ErrorStatus 115 name: "error"; when: model.status == Kube.OutboxModel.ErrorStatus
diff --git a/framework/qml/People.qml b/framework/qml/People.qml
index 41cada2a..42c95d78 100644
--- a/framework/qml/People.qml
+++ b/framework/qml/People.qml
@@ -343,7 +343,7 @@ Item {
343 343
344 Row { 344 Row {
345 spacing: Kube.Units.smallSpacing 345 spacing: Kube.Units.smallSpacing
346 Kube.Label { text: "(main)" } 346 Kube.Label { text: qsTr("(main)") }
347 Kube.Label { text: modelData ; color: Kube.Colors.highlightColor } 347 Kube.Label { text: modelData ; color: Kube.Colors.highlightColor }
348 Item { width: Kube.Units.smallSpacing; height: 1 } 348 Item { width: Kube.Units.smallSpacing; height: 1 }
349 } 349 }
@@ -362,7 +362,7 @@ Item {
362 362
363 Row { 363 Row {
364 spacing: Kube.Units.smallSpacing 364 spacing: Kube.Units.smallSpacing
365 Kube.Label { text: "(main)" } 365 Kube.Label { text: qsTr("(main)") }
366 Kube.Label { text: modelData ; opacity: 0.6 } 366 Kube.Label { text: modelData ; opacity: 0.6 }
367 Item { width: Kube.Units.smallSpacing; height: 1 } 367 Item { width: Kube.Units.smallSpacing; height: 1 }
368 } 368 }
diff --git a/framework/qml/StatusBar.qml b/framework/qml/StatusBar.qml
index c936146e..52fcfbdc 100644
--- a/framework/qml/StatusBar.qml
+++ b/framework/qml/StatusBar.qml
@@ -50,7 +50,7 @@ Item {
50 State { 50 State {
51 name: "disconnected"; when: model.status == Kube.AccountsModel.OfflineStatus 51 name: "disconnected"; when: model.status == Kube.AccountsModel.OfflineStatus
52 PropertyChanges { target: root; visible: true } 52 PropertyChanges { target: root; visible: true }
53 PropertyChanges { target: statusText; text: "Disconnected"; visible: true } 53 PropertyChanges { target: statusText; text: qsTr("Disconnected"); visible: true }
54 PropertyChanges { target: descriptionText; visible: true } 54 PropertyChanges { target: descriptionText; visible: true }
55 }, 55 },
56 State { 56 State {