From 1fe17bf7a3930f93c2e96b273dbb2a75320e25c3 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Tue, 25 Jul 2017 18:28:12 +0200 Subject: make placeholdertexts translatable --- accounts/gmail/package/contents/ui/GmailSettings.qml | 8 ++++---- accounts/imap/package/contents/ui/ImapAccountSettings.qml | 8 ++++---- accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml | 8 ++++---- accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) (limited to 'accounts') diff --git a/accounts/gmail/package/contents/ui/GmailSettings.qml b/accounts/gmail/package/contents/ui/GmailSettings.qml index b0eb1415..40a6e1e7 100644 --- a/accounts/gmail/package/contents/ui/GmailSettings.qml +++ b/accounts/gmail/package/contents/ui/GmailSettings.qml @@ -78,7 +78,7 @@ Item { } Kube.TextField { Layout.fillWidth: true - placeholderText: "E.g. \"Work\", \"Home\" that will be displayed in Kube as name" + placeholderText: qsTr("E.g. \"Work\", \"Home\" that will be displayed in Kube as name") text: gmailSettings.accountName onTextChanged: { gmailSettings.accountName = text @@ -91,7 +91,7 @@ Item { } Kube.TextField { Layout.fillWidth: true - placeholderText: "Your name" + placeholderText: qsTr("Your name") text: gmailSettings.userName onTextChanged: { gmailSettings.userName = text @@ -109,7 +109,7 @@ Item { onTextChanged: { gmailSettings.emailAddress = text } - placeholderText: "Your email address" + placeholderText: qsTr("Your email address") } Kube.Label { @@ -123,7 +123,7 @@ Item { id: pwField Layout.fillWidth: true - placeholderText: "Password of your email account" + placeholderText: qsTr("Password of your email account") text: gmailSettings.imapPassword onTextChanged: { gmailSettings.imapPassword = text diff --git a/accounts/imap/package/contents/ui/ImapAccountSettings.qml b/accounts/imap/package/contents/ui/ImapAccountSettings.qml index 170c3e0e..332b2bbe 100644 --- a/accounts/imap/package/contents/ui/ImapAccountSettings.qml +++ b/accounts/imap/package/contents/ui/ImapAccountSettings.qml @@ -62,7 +62,7 @@ Item { } Kube.TextField { Layout.fillWidth: true - placeholderText: "E.g. \"Work\", \"Home\" that will be displayed in Kube as name" + placeholderText: qsTr("E.g. \"Work\", \"Home\" that will be displayed in Kube as name") text: imapSettings.accountName onTextChanged: { imapSettings.accountName = text @@ -75,7 +75,7 @@ Item { } Kube.TextField { Layout.fillWidth: true - placeholderText: "Your name" + placeholderText: qsTr("Your name") text: imapSettings.userName onTextChanged: { imapSettings.userName = text @@ -95,7 +95,7 @@ Item { imapSettings.imapUsername = text imapSettings.smtpUsername = text } - placeholderText: "Your email address" + placeholderText: qsTr("Your email address") } Kube.Label { @@ -109,7 +109,7 @@ Item { id: pwField Layout.fillWidth: true - placeholderText: "Password of your email account" + placeholderText: qsTr("Password of your email account") text: imapSettings.imapPassword onTextChanged: { imapSettings.imapPassword = text diff --git a/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml b/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml index bd006c4c..4dcc23ee 100644 --- a/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml +++ b/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml @@ -62,7 +62,7 @@ Item { } Kube.TextField { Layout.fillWidth: true - placeholderText: "E.g. \"Work\", \"Home\" that will be displayed in Kube as name" + placeholderText: qsTr("E.g. \"Work\", \"Home\" that will be displayed in Kube as name") text: kolabnowSettings.accountName onTextChanged: { kolabnowSettings.accountName = text @@ -75,7 +75,7 @@ Item { } Kube.TextField { Layout.fillWidth: true - placeholderText: "Your name" + placeholderText: qsTr("Your name") text: kolabnowSettings.userName onTextChanged: { kolabnowSettings.userName = text @@ -93,7 +93,7 @@ Item { onTextChanged: { kolabnowSettings.emailAddress = text } - placeholderText: "Your email address" + placeholderText: qsTr("Your email address") } Kube.Label { @@ -107,7 +107,7 @@ Item { id: pwField Layout.fillWidth: true - placeholderText: "Password of your email account" + placeholderText: qsTr("Password of your email account") text: kolabnowSettings.imapPassword onTextChanged: { kolabnowSettings.imapPassword = text diff --git a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml index 925bddb4..83f6d381 100644 --- a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml +++ b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml @@ -62,7 +62,7 @@ Item { } Kube.TextField { Layout.fillWidth: true - placeholderText: "E.g. \"Work\", \"Home\" that will be displayed in Kube as name" + placeholderText: qsTr("E.g. \"Work\", \"Home\" that will be displayed in Kube as name") text: maildirSettings.accountName onTextChanged: { maildirSettings.accountName = text -- cgit v1.2.3