From 04b589420eda4e31c6a05d5255b3d863a0428962 Mon Sep 17 00:00:00 2001 From: tcit Date: Sat, 4 Oct 2014 18:44:18 +0200 Subject: search field selected --- themes/baggy/_search-form.twig | 2 +- themes/default/js/popupForm.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/baggy/_search-form.twig b/themes/baggy/_search-form.twig index b8ac3bfa..073291f4 100644 --- a/themes/baggy/_search-form.twig +++ b/themes/baggy/_search-form.twig @@ -1,7 +1,7 @@
- : + :
\ No newline at end of file diff --git a/themes/default/js/popupForm.js b/themes/default/js/popupForm.js index 06be3f0c..a32e6e70 100644 --- a/themes/default/js/popupForm.js +++ b/themes/default/js/popupForm.js @@ -10,6 +10,7 @@ $(document).ready(function() { $("#search").click(function(){ closeSearch(); + $('#searchfield').focus(); }); $("#search-form-close").click(function(){ -- cgit v1.2.3 From 1cd02d55fbf93a08e8bcd7f7a0fab2cdc9ff851d Mon Sep 17 00:00:00 2001 From: tcit Date: Sat, 4 Oct 2014 18:51:43 +0200 Subject: autofocus on all themes --- themes/baggy/_search-form.twig | 2 +- themes/default/_search-form.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/baggy/_search-form.twig b/themes/baggy/_search-form.twig index 073291f4..7b2c7082 100644 --- a/themes/baggy/_search-form.twig +++ b/themes/baggy/_search-form.twig @@ -1,7 +1,7 @@
- : + :
\ No newline at end of file diff --git a/themes/default/_search-form.twig b/themes/default/_search-form.twig index 33bea20d..0cf6097a 100755 --- a/themes/default/_search-form.twig +++ b/themes/default/_search-form.twig @@ -2,7 +2,7 @@

- : + :

-- cgit v1.2.3 From ab494e4edede7ee2fc77800ddf55fc366c3397d7 Mon Sep 17 00:00:00 2001 From: tcit Date: Sat, 4 Oct 2014 19:01:43 +0200 Subject: translate search messages --- locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo | Bin 12917 -> 12987 bytes locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po | 7 +++++-- locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo | Bin 16505 -> 16505 bytes locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo b/locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo index 1f729b60..a3c98497 100644 Binary files a/locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo and b/locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo differ diff --git a/locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po b/locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po index 8292a196..c589866c 100644 --- a/locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po +++ b/locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"Project-Id-Version: \n" +"Project-Id-Version: wallabag\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-02-25 15:17+0300\n" "PO-Revision-Date: \n" @@ -10,7 +10,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.4\n" +"X-Generator: Poedit 1.6.9\n" "X-Poedit-Basepath: .\n" msgid "wallabag, a read it later open source system" @@ -568,6 +568,9 @@ msgstr "" "To completely remove wallabag, delete the wallabag folder on your web server " "(and eventual databases)." +msgid "Enter your search here" +msgstr "Enter your search here" + #~ msgid "poche it!" #~ msgstr "poche it!" diff --git a/locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo b/locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo index d0f04615..f4a28e72 100644 Binary files a/locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo and b/locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo differ diff --git a/locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po b/locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po index e4e2ce56..0912b872 100644 --- a/locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po +++ b/locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po @@ -12,7 +12,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-KeywordsList: _;gettext;gettext_noop\n" "X-Poedit-SourceCharset: UTF-8\n" -"X-Generator: Poedit 1.6.4\n" +"X-Generator: Poedit 1.6.9\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "wallabag, a read it later open source system" -- cgit v1.2.3 From 40d204222888ca436f3f98503483ecd19ff3ba5b Mon Sep 17 00:00:00 2001 From: tcit Date: Sat, 4 Oct 2014 19:08:56 +0200 Subject: small fix for better width for search translations full display --- themes/default/css/messages.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/themes/default/css/messages.css b/themes/default/css/messages.css index 46b54795..3ad4e34e 100644 --- a/themes/default/css/messages.css +++ b/themes/default/css/messages.css @@ -8,6 +8,11 @@ border-radius: 4px; } +/* Search form message needs a little more width, depending on translations */ +#search-form { + width: 420px; +} + .messages a.closeMessage { display: none; float: right; -- cgit v1.2.3