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/imap/package/contents/ui/ImapAccountSettings.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'accounts/imap') 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 -- cgit v1.2.3