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 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'accounts/gmail') 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 -- cgit v1.2.3