From 16f8f70692b978376579feb0acfe14c18697e0a2 Mon Sep 17 00:00:00 2001 From: Quentin Rouland Date: Sat, 16 Mar 2019 09:02:12 +0100 Subject: [PATCH] up --- po/utpass.qrouland.pot | 9 +++++---- qml/pages/Info.qml | 2 +- qml/pages/headers/MainHeader.qml | 9 +++++++++ 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/po/utpass.qrouland.pot b/po/utpass.qrouland.pot index 72a5bc9..35f663e 100644 --- a/po/utpass.qrouland.pot +++ b/po/utpass.qrouland.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: utpass.qrouland\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-15 16:52+0000\n" +"POT-Creation-Date: 2019-03-15 17:28+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: ../qml/pages/Settings.qml:8 ../qml/pages/headers/MainHeader.qml:19 +#: ../qml/pages/Settings.qml:8 ../qml/pages/headers/MainHeader.qml:28 msgid "Settings" msgstr "" @@ -29,7 +29,7 @@ msgstr "" msgid "No password found in the current folder" msgstr "" -#: ../qml/pages/Info.qml:9 ../qml/pages/headers/MainHeader.qml:26 +#: ../qml/pages/Info.qml:9 ../qml/pages/headers/MainHeader.qml:35 msgid "Info" msgstr "" @@ -39,9 +39,10 @@ msgid "UTPass" msgstr "" #: ../qml/pages/Info.qml:53 -msgid "Suggest improvements or report a bug" +msgid "Suggest improvement(s) or report a bug(s)" msgstr "" #: ../qml/pages/headers/MainHeader.qml:15 +#: ../qml/pages/headers/MainHeader.qml:19 msgid "Search" msgstr "" diff --git a/qml/pages/Info.qml b/qml/pages/Info.qml index 2574b65..072d4d7 100644 --- a/qml/pages/Info.qml +++ b/qml/pages/Info.qml @@ -50,7 +50,7 @@ Page { } Link { url: "https://github.com/QRouland/UTPass/issues" - text: i18n.tr('Suggest improvements or report a bug') + text: i18n.tr('Suggest improvement(s) or report a bug(s)') } } } diff --git a/qml/pages/headers/MainHeader.qml b/qml/pages/headers/MainHeader.qml index 2b4944c..a9061ee 100644 --- a/qml/pages/headers/MainHeader.qml +++ b/qml/pages/headers/MainHeader.qml @@ -13,6 +13,15 @@ PageHeader { Action { iconName: "search" text: i18n.tr("Search") + onTriggered: { + mainHeader.contents = TextField { + id: searchBar + placeholderText: i18n.tr("Search") + height: units.gu(4) + visible: false + anchors.verticalCenter: parent.verticalCenter + } + } }, Action { iconName: "settings"