diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-07-19 11:33:31 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-07-19 11:33:31 +0200 |
commit | ae084506b673d4264f5da65e369922bfd29fe50a (patch) | |
tree | ff42f8dc6fadb7a60f518ac8457a651cdf4ffb22 | |
parent | 86d61d38091e71200e35b84c4eb7c6f8781c75db (diff) | |
download | kube-ae084506b673d4264f5da65e369922bfd29fe50a.tar.gz kube-ae084506b673d4264f5da65e369922bfd29fe50a.zip |
make more translatable
-rw-r--r-- | accounts/gmail/package/contents/ui/GmailSettings.qml | 10 | ||||
-rw-r--r-- | accounts/imap/package/contents/ui/ImapAccountSettings.qml | 14 | ||||
-rw-r--r-- | accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml | 10 | ||||
-rw-r--r-- | accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | 4 | ||||
-rw-r--r-- | components/accounts/contents/ui/AccountWizard.qml | 2 | ||||
-rw-r--r-- | components/accounts/contents/ui/AccountWizardPage.qml | 4 | ||||
-rw-r--r-- | components/kube/contents/ui/AccountsView.qml | 2 | ||||
-rw-r--r-- | components/kube/contents/ui/AddresseeListEditor.qml | 4 | ||||
-rw-r--r-- | components/kube/contents/ui/ComposerView.qml | 16 | ||||
-rw-r--r-- | components/kube/contents/ui/Kube.qml | 16 | ||||
-rw-r--r-- | components/kube/contents/ui/LogView.qml | 8 | ||||
-rw-r--r-- | components/mailviewer/contents/ui/ErrorPart.qml | 2 | ||||
-rw-r--r-- | framework/qml/EditAccount.qml | 2 | ||||
-rw-r--r-- | framework/qml/MailViewer.qml | 6 |
14 files changed, 50 insertions, 50 deletions
diff --git a/accounts/gmail/package/contents/ui/GmailSettings.qml b/accounts/gmail/package/contents/ui/GmailSettings.qml index 86ea966a..b0eb1415 100644 --- a/accounts/gmail/package/contents/ui/GmailSettings.qml +++ b/accounts/gmail/package/contents/ui/GmailSettings.qml | |||
@@ -73,7 +73,7 @@ Item { | |||
73 | } | 73 | } |
74 | 74 | ||
75 | Kube.Label { | 75 | Kube.Label { |
76 | text: "Title of Account" | 76 | text: qsTr("Title of Account") |
77 | Layout.alignment: Qt.AlignRight | 77 | Layout.alignment: Qt.AlignRight |
78 | } | 78 | } |
79 | Kube.TextField { | 79 | Kube.TextField { |
@@ -86,7 +86,7 @@ Item { | |||
86 | } | 86 | } |
87 | 87 | ||
88 | Kube.Label { | 88 | Kube.Label { |
89 | text: "Name" | 89 | text: qsTr("Name") |
90 | Layout.alignment: Qt.AlignRight | 90 | Layout.alignment: Qt.AlignRight |
91 | } | 91 | } |
92 | Kube.TextField { | 92 | Kube.TextField { |
@@ -99,7 +99,7 @@ Item { | |||
99 | } | 99 | } |
100 | 100 | ||
101 | Kube.Label { | 101 | Kube.Label { |
102 | text: "Email address" | 102 | text: qsTr("Email address") |
103 | Layout.alignment: Qt.AlignRight | 103 | Layout.alignment: Qt.AlignRight |
104 | } | 104 | } |
105 | Kube.TextField { | 105 | Kube.TextField { |
@@ -113,7 +113,7 @@ Item { | |||
113 | } | 113 | } |
114 | 114 | ||
115 | Kube.Label { | 115 | Kube.Label { |
116 | text: "Password" | 116 | text: qsTr("Password") |
117 | Layout.alignment: Qt.AlignRight | 117 | Layout.alignment: Qt.AlignRight |
118 | } | 118 | } |
119 | RowLayout { | 119 | RowLayout { |
@@ -134,7 +134,7 @@ Item { | |||
134 | } | 134 | } |
135 | 135 | ||
136 | Controls.CheckBox { | 136 | Controls.CheckBox { |
137 | text: "Show Password" | 137 | text: qsTr("Show Password") |
138 | onClicked: { | 138 | onClicked: { |
139 | if(pwField.echoMode == TextInput.Password) { | 139 | if(pwField.echoMode == TextInput.Password) { |
140 | pwField.echoMode = TextInput.Normal; | 140 | pwField.echoMode = TextInput.Normal; |
diff --git a/accounts/imap/package/contents/ui/ImapAccountSettings.qml b/accounts/imap/package/contents/ui/ImapAccountSettings.qml index 529024b2..170c3e0e 100644 --- a/accounts/imap/package/contents/ui/ImapAccountSettings.qml +++ b/accounts/imap/package/contents/ui/ImapAccountSettings.qml | |||
@@ -57,7 +57,7 @@ Item { | |||
57 | rowSpacing: Kube.Units.largeSpacing | 57 | rowSpacing: Kube.Units.largeSpacing |
58 | 58 | ||
59 | Kube.Label { | 59 | Kube.Label { |
60 | text: "Title of Account" | 60 | text: qsTr("Title of Account") |
61 | Layout.alignment: Qt.AlignRight | 61 | Layout.alignment: Qt.AlignRight |
62 | } | 62 | } |
63 | Kube.TextField { | 63 | Kube.TextField { |
@@ -70,7 +70,7 @@ Item { | |||
70 | } | 70 | } |
71 | 71 | ||
72 | Kube.Label { | 72 | Kube.Label { |
73 | text: "Name" | 73 | text: qsTr("Name") |
74 | Layout.alignment: Qt.AlignRight | 74 | Layout.alignment: Qt.AlignRight |
75 | } | 75 | } |
76 | Kube.TextField { | 76 | Kube.TextField { |
@@ -83,7 +83,7 @@ Item { | |||
83 | } | 83 | } |
84 | 84 | ||
85 | Kube.Label { | 85 | Kube.Label { |
86 | text: "Email address" | 86 | text: qsTr("Email address") |
87 | Layout.alignment: Qt.AlignRight | 87 | Layout.alignment: Qt.AlignRight |
88 | } | 88 | } |
89 | Kube.TextField { | 89 | Kube.TextField { |
@@ -99,7 +99,7 @@ Item { | |||
99 | } | 99 | } |
100 | 100 | ||
101 | Kube.Label { | 101 | Kube.Label { |
102 | text: "Password" | 102 | text: qsTr("Password") |
103 | Layout.alignment: Qt.AlignRight | 103 | Layout.alignment: Qt.AlignRight |
104 | } | 104 | } |
105 | RowLayout { | 105 | RowLayout { |
@@ -120,7 +120,7 @@ Item { | |||
120 | } | 120 | } |
121 | 121 | ||
122 | Controls.CheckBox { | 122 | Controls.CheckBox { |
123 | text: "Show Password" | 123 | text: qsTr("Show Password") |
124 | onClicked: { | 124 | onClicked: { |
125 | if(pwField.echoMode == TextInput.Password) { | 125 | if(pwField.echoMode == TextInput.Password) { |
126 | pwField.echoMode = TextInput.Normal; | 126 | pwField.echoMode = TextInput.Normal; |
@@ -132,7 +132,7 @@ Item { | |||
132 | } | 132 | } |
133 | 133 | ||
134 | Kube.Label { | 134 | Kube.Label { |
135 | text: "IMAP server address" | 135 | text: qsTr("IMAP server address") |
136 | Layout.alignment: Qt.AlignRight | 136 | Layout.alignment: Qt.AlignRight |
137 | } | 137 | } |
138 | Kube.TextField { | 138 | Kube.TextField { |
@@ -156,7 +156,7 @@ Item { | |||
156 | } | 156 | } |
157 | 157 | ||
158 | Kube.Label { | 158 | Kube.Label { |
159 | text: "Smtp address" | 159 | text: qsTr("Smtp address") |
160 | Layout.alignment: Qt.AlignRight | 160 | Layout.alignment: Qt.AlignRight |
161 | } | 161 | } |
162 | Kube.TextField { | 162 | Kube.TextField { |
diff --git a/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml b/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml index f07fdb31..bd006c4c 100644 --- a/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml +++ b/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml | |||
@@ -57,7 +57,7 @@ Item { | |||
57 | rowSpacing: Kube.Units.largeSpacing | 57 | rowSpacing: Kube.Units.largeSpacing |
58 | 58 | ||
59 | Kube.Label { | 59 | Kube.Label { |
60 | text: "Title of Account" | 60 | text: qsTr("Title of Account") |
61 | Layout.alignment: Qt.AlignRight | 61 | Layout.alignment: Qt.AlignRight |
62 | } | 62 | } |
63 | Kube.TextField { | 63 | Kube.TextField { |
@@ -70,7 +70,7 @@ Item { | |||
70 | } | 70 | } |
71 | 71 | ||
72 | Kube.Label { | 72 | Kube.Label { |
73 | text: "Name" | 73 | text: qsTr("Name") |
74 | Layout.alignment: Qt.AlignRight | 74 | Layout.alignment: Qt.AlignRight |
75 | } | 75 | } |
76 | Kube.TextField { | 76 | Kube.TextField { |
@@ -83,7 +83,7 @@ Item { | |||
83 | } | 83 | } |
84 | 84 | ||
85 | Kube.Label { | 85 | Kube.Label { |
86 | text: "Email address" | 86 | text: qsTr("Email address") |
87 | Layout.alignment: Qt.AlignRight | 87 | Layout.alignment: Qt.AlignRight |
88 | } | 88 | } |
89 | Kube.TextField { | 89 | Kube.TextField { |
@@ -97,7 +97,7 @@ Item { | |||
97 | } | 97 | } |
98 | 98 | ||
99 | Kube.Label { | 99 | Kube.Label { |
100 | text: "Password" | 100 | text: qsTr("Password") |
101 | Layout.alignment: Qt.AlignRight | 101 | Layout.alignment: Qt.AlignRight |
102 | } | 102 | } |
103 | RowLayout { | 103 | RowLayout { |
@@ -118,7 +118,7 @@ Item { | |||
118 | } | 118 | } |
119 | 119 | ||
120 | Controls.CheckBox { | 120 | Controls.CheckBox { |
121 | text: "Show Password" | 121 | text: qsTr("Show Password") |
122 | onClicked: { | 122 | onClicked: { |
123 | if(pwField.echoMode == TextInput.Password) { | 123 | if(pwField.echoMode == TextInput.Password) { |
124 | pwField.echoMode = TextInput.Normal; | 124 | pwField.echoMode = TextInput.Normal; |
diff --git a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml index 78244b41..925bddb4 100644 --- a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml +++ b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | |||
@@ -57,7 +57,7 @@ Item { | |||
57 | rowSpacing: Kube.Units.largeSpacing | 57 | rowSpacing: Kube.Units.largeSpacing |
58 | 58 | ||
59 | Kube.Label { | 59 | Kube.Label { |
60 | text: "Title of Account" | 60 | text: qsTr("Title of Account") |
61 | Layout.alignment: Qt.AlignRight | 61 | Layout.alignment: Qt.AlignRight |
62 | } | 62 | } |
63 | Kube.TextField { | 63 | Kube.TextField { |
@@ -70,7 +70,7 @@ Item { | |||
70 | } | 70 | } |
71 | 71 | ||
72 | Kube.Label { | 72 | Kube.Label { |
73 | text: "Path" | 73 | text: qsTr("Path") |
74 | Layout.alignment: Qt.AlignRight | 74 | Layout.alignment: Qt.AlignRight |
75 | } | 75 | } |
76 | RowLayout { | 76 | RowLayout { |
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 | } |
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 { | |||
121 | 121 | ||
122 | Kube.Button { | 122 | Kube.Button { |
123 | anchors.right: parent.right | 123 | anchors.right: parent.right |
124 | text: "Save" | 124 | text: qsTr("Save") |
125 | onClicked: { | 125 | onClicked: { |
126 | loader.item.save() | 126 | loader.item.save() |
127 | //TODO Feedback that the settings have been saved (popup notification/animation?) | 127 | //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 { | |||
325 | topMargin: Math.max(attachments.height, Kube.Units.largeSpacing) | 325 | topMargin: Math.max(attachments.height, Kube.Units.largeSpacing) |
326 | } | 326 | } |
327 | visible: root.incomplete | 327 | visible: root.incomplete |
328 | text: "Incomplete body..." | 328 | text: qsTr("Incomplete body...") |
329 | color: Kube.Colors.textColor | 329 | color: Kube.Colors.textColor |
330 | enabled: false | 330 | enabled: false |
331 | states: [ | 331 | states: [ |
332 | State { | 332 | State { |
333 | name: "inprogress"; when: model.status == Kube.MailListModel.InProgressStatus | 333 | name: "inprogress"; when: model.status == Kube.MailListModel.InProgressStatus |
334 | PropertyChanges { target: incompleteBody; text: "Downloading message..." } | 334 | PropertyChanges { target: incompleteBody; text: qsTr("Downloading message...") } |
335 | }, | 335 | }, |
336 | State { | 336 | State { |
337 | name: "error"; when: model.status == Kube.MailListModel.ErrorStatus | 337 | name: "error"; when: model.status == Kube.MailListModel.ErrorStatus |
338 | PropertyChanges { target: incompleteBody; text: "Failed to download message..." } | 338 | PropertyChanges { target: incompleteBody; text: qsTr("Failed to download message...") } |
339 | } | 339 | } |
340 | ] | 340 | ] |
341 | } | 341 | } |