From 7195bc54586830935a79f00751a42ca834222ca2 Mon Sep 17 00:00:00 2001 From: dannygb Date: Fri, 16 Nov 2018 16:23:43 +0000 Subject: [PATCH] Adds build/install script Adds i18n.tr call on missing text for transalation --- KeePit/PasswordInput.qml | 2 +- build.sh | 0 po/de.po | 7 ++++++- po/keepit.dannygb.pot | 8 ++++++-- 4 files changed, 13 insertions(+), 4 deletions(-) mode change 100644 => 100755 build.sh diff --git a/KeePit/PasswordInput.qml b/KeePit/PasswordInput.qml index cfcd09d..105b00f 100644 --- a/KeePit/PasswordInput.qml +++ b/KeePit/PasswordInput.qml @@ -40,7 +40,7 @@ import Qt.labs.folderlistmodel 2.1 TextField { id: password - placeholderText: "Enter your password" + placeholderText: i18n.tr("Enter your password") echoMode : TextInput.Password readOnly: false } diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 diff --git a/po/de.po b/po/de.po index f8ec471..6eeda87 100644 --- a/po/de.po +++ b/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-15 22:01+0000\n" +"POT-Creation-Date: 2018-11-16 16:19+0000\n" "PO-Revision-Date: 2018-11-03 12:03+0100\n" "Last-Translator: \n" "Language-Team: \n" @@ -170,6 +170,11 @@ msgstr "Schließen" msgid "Open Database" msgstr "Öffne Datenbank" +#: /home/dan/KeePit/KeePit/PasswordInput.qml:43 +#, fuzzy +msgid "Enter your password" +msgstr "Master-Passwort" + #: /home/dan/KeePit/KeePit/PasswordInput.qml:51 msgid "Show password" msgstr "Zeige Passwort" diff --git a/po/keepit.dannygb.pot b/po/keepit.dannygb.pot index 8386193..5d4961a 100644 --- a/po/keepit.dannygb.pot +++ b/po/keepit.dannygb.pot @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-15 22:01+0000\n" +"POT-Creation-Date: 2018-11-16 16:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" +"Content-Transfer-Encoding: 8bit\n" #: /home/dan/KeePit/KeePit/CreateDatabase.qml:38 msgid "Create Database" @@ -169,6 +169,10 @@ msgstr "" msgid "Open Database" msgstr "" +#: /home/dan/KeePit/KeePit/PasswordInput.qml:43 +msgid "Enter your password" +msgstr "" + #: /home/dan/KeePit/KeePit/PasswordInput.qml:51 msgid "Show password" msgstr ""