summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-07-19 11:33:31 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-07-19 11:33:31 +0200
commitae084506b673d4264f5da65e369922bfd29fe50a (patch)
treeff42f8dc6fadb7a60f518ac8457a651cdf4ffb22 /components
parent86d61d38091e71200e35b84c4eb7c6f8781c75db (diff)
downloadkube-ae084506b673d4264f5da65e369922bfd29fe50a.tar.gz
kube-ae084506b673d4264f5da65e369922bfd29fe50a.zip
make more translatable
Diffstat (limited to 'components')
-rw-r--r--components/accounts/contents/ui/AccountWizard.qml2
-rw-r--r--components/accounts/contents/ui/AccountWizardPage.qml4
-rw-r--r--components/kube/contents/ui/AccountsView.qml2
-rw-r--r--components/kube/contents/ui/AddresseeListEditor.qml4
-rw-r--r--components/kube/contents/ui/ComposerView.qml16
-rw-r--r--components/kube/contents/ui/Kube.qml16
-rw-r--r--components/kube/contents/ui/LogView.qml8
-rw-r--r--components/mailviewer/contents/ui/ErrorPart.qml2
8 files changed, 27 insertions, 27 deletions
diff --git a/components/accounts/contents/ui/AccountWizard.qml b/components/accounts/contents/ui/AccountWizard.qml
index 698f1d19..a57ddde3 100644
--- a/components/accounts/contents/ui/AccountWizard.qml
+++ b/components/accounts/contents/ui/AccountWizard.qml
@@ -44,7 +44,7 @@ Kube.Popup {
44 Item { 44 Item {
45 Kube.Heading { 45 Kube.Heading {
46 id: heading 46 id: heading
47 text: "Select your new account type" 47 text: qsTr("Select your new account type")
48 color: Kube.Colors.highlightColor 48 color: Kube.Colors.highlightColor
49 } 49 }
50 50
diff --git a/components/accounts/contents/ui/AccountWizardPage.qml b/components/accounts/contents/ui/AccountWizardPage.qml
index f0a49b10..f5d10258 100644
--- a/components/accounts/contents/ui/AccountWizardPage.qml
+++ b/components/accounts/contents/ui/AccountWizardPage.qml
@@ -116,7 +116,7 @@ Item {
116 bottom: parent.bottom 116 bottom: parent.bottom
117 } 117 }
118 118
119 text: "Discard" 119 text: qsTr("Discard")
120 onClicked: { 120 onClicked: {
121 root.done() 121 root.done()
122 } 122 }
@@ -128,7 +128,7 @@ Item {
128 bottom: parent.bottom 128 bottom: parent.bottom
129 } 129 }
130 130
131 text: "Save" 131 text: qsTr("Save")
132 onClicked: { 132 onClicked: {
133 loader.item.save() 133 loader.item.save()
134 134
diff --git a/components/kube/contents/ui/AccountsView.qml b/components/kube/contents/ui/AccountsView.qml
index 011f77dc..407aad0d 100644
--- a/components/kube/contents/ui/AccountsView.qml
+++ b/components/kube/contents/ui/AccountsView.qml
@@ -44,7 +44,7 @@ Rectangle {
44 right: parent.right 44 right: parent.right
45 margins: Kube.Units.largeSpacing 45 margins: Kube.Units.largeSpacing
46 } 46 }
47 text: "New Account" 47 text: qsTr("New Account")
48 48
49 onClicked: accountWizard.open() 49 onClicked: accountWizard.open()
50 } 50 }
diff --git a/components/kube/contents/ui/AddresseeListEditor.qml b/components/kube/contents/ui/AddresseeListEditor.qml
index 49545177..873e0c6c 100644
--- a/components/kube/contents/ui/AddresseeListEditor.qml
+++ b/components/kube/contents/ui/AddresseeListEditor.qml
@@ -89,7 +89,7 @@ Item {
89 } 89 }
90 90
91 Kube.Label { 91 Kube.Label {
92 text: "+ Add recipient" 92 text: "+ " + qsTr("Add recipient")
93 color: Kube.Colors.highlightColor 93 color: Kube.Colors.highlightColor
94 font.underline: parent.containsMouse 94 font.underline: parent.containsMouse
95 } 95 }
@@ -103,7 +103,7 @@ Item {
103 103
104 visible: false 104 visible: false
105 105
106 placeholderText: "Add recepient" 106 placeholderText: "+ " + qsTr("Add recipient")
107 model: root.completer.model 107 model: root.completer.model
108 onSearchTermChanged: root.completer.searchString = searchTerm 108 onSearchTermChanged: root.completer.searchString = searchTerm
109 onAccepted: { 109 onAccepted: {
diff --git a/components/kube/contents/ui/ComposerView.qml b/components/kube/contents/ui/ComposerView.qml
index 7b3b3f41..1d9c36da 100644
--- a/components/kube/contents/ui/ComposerView.qml
+++ b/components/kube/contents/ui/ComposerView.qml
@@ -305,7 +305,7 @@ Kube.View {
305 } 305 }
306 } 306 }
307 Kube.Button { 307 Kube.Button {
308 text: "Attach file" 308 text: qsTr("Attach file")
309 309
310 onClicked: { 310 onClicked: {
311 fileDialogComponent.createObject(parent) 311 fileDialogComponent.createObject(parent)
@@ -367,7 +367,7 @@ Kube.View {
367 } 367 }
368 368
369 Kube.Label { 369 Kube.Label {
370 text: "Sending Email to:" 370 text: qsTr("Sending Email to:")
371 } 371 }
372 372
373 AddresseeListEditor { 373 AddresseeListEditor {
@@ -381,7 +381,7 @@ Kube.View {
381 } 381 }
382 382
383 Kube.Label { 383 Kube.Label {
384 text: "Sending Copy to (CC):" 384 text: qsTr("Sending Copy to (CC):")
385 } 385 }
386 AddresseeListEditor { 386 AddresseeListEditor {
387 id: cc 387 id: cc
@@ -394,7 +394,7 @@ Kube.View {
394 } 394 }
395 395
396 Kube.Label { 396 Kube.Label {
397 text: "Sending Secret Copy to (Bcc):" 397 text: qsTr("Sending Secret Copy to (Bcc):")
398 } 398 }
399 AddresseeListEditor { 399 AddresseeListEditor {
400 id: bcc 400 id: bcc
@@ -428,7 +428,7 @@ Kube.View {
428 428
429 anchors.right: parent.right 429 anchors.right: parent.right
430 430
431 text: "Save as Draft" 431 text: qsTr("Save as Draft")
432 //TODO enabled: saveAsDraftAction.enabled 432 //TODO enabled: saveAsDraftAction.enabled
433 onClicked: { 433 onClicked: {
434 saveAsDraftAction.execute() 434 saveAsDraftAction.execute()
@@ -437,7 +437,7 @@ Kube.View {
437 Kube.Button { 437 Kube.Button {
438 anchors.left: parent.left 438 anchors.left: parent.left
439 439
440 text: "Discard" 440 text: qsTr("Discard")
441 onClicked: Kube.Fabric.postMessage(Kube.Messages.componentDone, {}) 441 onClicked: Kube.Fabric.postMessage(Kube.Messages.componentDone, {})
442 } 442 }
443 } 443 }
@@ -449,7 +449,7 @@ Kube.View {
449 bottomMargin: Kube.Units.smallSpacing 449 bottomMargin: Kube.Units.smallSpacing
450 left: identityCombo.left 450 left: identityCombo.left
451 } 451 }
452 text: "You are sending this from:" 452 text: qsTr("You are sending this from:")
453 } 453 }
454 454
455 Kube.ComboBox { 455 Kube.ComboBox {
@@ -480,7 +480,7 @@ Kube.View {
480 } 480 }
481 width: parent.width - Kube.Units.largeSpacing * 2 481 width: parent.width - Kube.Units.largeSpacing * 2
482 482
483 text: "Send" 483 text: qsTr("Send")
484 enabled: sendAction.enabled 484 enabled: sendAction.enabled
485 onClicked: { 485 onClicked: {
486 sendAction.execute() 486 sendAction.execute()
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml
index 504d45da..40ac24d0 100644
--- a/components/kube/contents/ui/Kube.qml
+++ b/components/kube/contents/ui/Kube.qml
@@ -121,7 +121,7 @@ Controls2.ApplicationWindow {
121 121
122 122
123 Kube.ToolTip { 123 Kube.ToolTip {
124 text: "hjfhd" 124 text: qsTr("search")
125 visible: parent.hovered 125 visible: parent.hovered
126 } 126 }
127 } 127 }
@@ -131,7 +131,7 @@ Controls2.ApplicationWindow {
131 onClicked: kubeViews.openComposer(false) 131 onClicked: kubeViews.openComposer(false)
132 132
133 Kube.ToolTip { 133 Kube.ToolTip {
134 text: "composer" 134 text: qsTr("composer")
135 visible: parent.hovered 135 visible: parent.hovered
136 } 136 }
137 } 137 }
@@ -141,7 +141,7 @@ Controls2.ApplicationWindow {
141 onClicked: kubeViews.setMailView() 141 onClicked: kubeViews.setMailView()
142 142
143 Kube.ToolTip { 143 Kube.ToolTip {
144 text: "mails" 144 text: qsTr("mails")
145 visible: parent.hovered 145 visible: parent.hovered
146 } 146 }
147 } 147 }
@@ -151,7 +151,7 @@ Controls2.ApplicationWindow {
151 onClicked: kubeViews.setPeopleView() 151 onClicked: kubeViews.setPeopleView()
152 152
153 Kube.ToolTip { 153 Kube.ToolTip {
154 text: "people" 154 text: qsTr("people")
155 visible: parent.hovered 155 visible: parent.hovered
156 } 156 }
157 } 157 }
@@ -169,7 +169,7 @@ Controls2.ApplicationWindow {
169 width: height 169 width: height
170 170
171 Kube.ToolTip { 171 Kube.ToolTip {
172 text: "outbox" 172 text: qsTr("outbox")
173 visible: parent.hovered 173 visible: parent.hovered
174 } 174 }
175 } 175 }
@@ -179,7 +179,7 @@ Controls2.ApplicationWindow {
179 onClicked: kubeViews.setLogView() 179 onClicked: kubeViews.setLogView()
180 180
181 Kube.ToolTip { 181 Kube.ToolTip {
182 text: "logview" 182 text: qsTr("logview")
183 visible: parent.hovered 183 visible: parent.hovered
184 } 184 }
185 } 185 }
@@ -189,7 +189,7 @@ Controls2.ApplicationWindow {
189 onClicked: kubeViews.setAccountsView() 189 onClicked: kubeViews.setAccountsView()
190 190
191 Kube.ToolTip { 191 Kube.ToolTip {
192 text: "settings" 192 text: qsTr("settings")
193 visible: parent.hovered 193 visible: parent.hovered
194 } 194 }
195 } 195 }
@@ -313,7 +313,7 @@ Controls2.ApplicationWindow {
313 } 313 }
314 314
315 Kube.Button { 315 Kube.Button {
316 text: "Go" 316 text: qsTr("Go")
317 317
318 onClicked: { 318 onClicked: {
319 Kube.Fabric.postMessage(Kube.Messages.search, {"filterString": searchField.text}) 319 Kube.Fabric.postMessage(Kube.Messages.search, {"filterString": searchField.text})
diff --git a/components/kube/contents/ui/LogView.qml b/components/kube/contents/ui/LogView.qml
index 640921c3..f3297ac6 100644
--- a/components/kube/contents/ui/LogView.qml
+++ b/components/kube/contents/ui/LogView.qml
@@ -76,7 +76,7 @@ Controls.SplitView {
76 } 76 }
77 height: Kube.Units.gridUnit 77 height: Kube.Units.gridUnit
78 width: parent.width - Kube.Units.largeSpacing * 2 78 width: parent.width - Kube.Units.largeSpacing * 2
79 text: "Error" 79 text: qsTr("Error")
80 } 80 }
81 81
82 Kube.Label { 82 Kube.Label {
@@ -136,7 +136,7 @@ Controls.SplitView {
136 anchors.fill: parent 136 anchors.fill: parent
137 columns: 2 137 columns: 2
138 Kube.Label { 138 Kube.Label {
139 text: "Resource Id:" 139 text: qsTr("Resource Id:")
140 visible: details.resourceId 140 visible: details.resourceId
141 } 141 }
142 Kube.Label { 142 Kube.Label {
@@ -144,13 +144,13 @@ Controls.SplitView {
144 visible: details.resourceId 144 visible: details.resourceId
145 } 145 }
146 Kube.Label { 146 Kube.Label {
147 text: "Timestamp:" 147 text: qsTr("Timestamp:")
148 } 148 }
149 Kube.Label { 149 Kube.Label {
150 text: Qt.formatDateTime(details.timestamp, " hh:mm:ss dd MMM yyyy") 150 text: Qt.formatDateTime(details.timestamp, " hh:mm:ss dd MMM yyyy")
151 } 151 }
152 Kube.Label { 152 Kube.Label {
153 text: "Message:" 153 text: qsTr("Message:")
154 } 154 }
155 Kube.Label { 155 Kube.Label {
156 text: details.message 156 text: details.message
diff --git a/components/mailviewer/contents/ui/ErrorPart.qml b/components/mailviewer/contents/ui/ErrorPart.qml
index 734d5c5f..0e5d9b8e 100644
--- a/components/mailviewer/contents/ui/ErrorPart.qml
+++ b/components/mailviewer/contents/ui/ErrorPart.qml
@@ -35,7 +35,7 @@ Item {
35 width: parent.width 35 width: parent.width
36 spacing: 5 36 spacing: 5
37 Text { 37 Text {
38 text: "An error occured: " + errorString 38 text: qsTr("An error occured: %1").arg(errorString)
39 } 39 }
40 } 40 }
41} 41}