]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #855 from wallabag/fix-828
authorNicolas Lœuillet <nicolas@loeuillet.org>
Sat, 4 Oct 2014 19:27:05 +0000 (21:27 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Sat, 4 Oct 2014 19:27:05 +0000 (21:27 +0200)
Fix #828

inc/3rdparty/site_config/standard/wordyard.com.txt [new file with mode: 0644]
locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo
locale/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po
locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo
locale/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po
themes/baggy/_search-form.twig
themes/default/_search-form.twig
themes/default/css/messages.css
themes/default/js/popupForm.js

diff --git a/inc/3rdparty/site_config/standard/wordyard.com.txt b/inc/3rdparty/site_config/standard/wordyard.com.txt
new file mode 100644 (file)
index 0000000..d8c753d
--- /dev/null
@@ -0,0 +1,8 @@
+# Generated by FiveFilters.org's web-based selection tool
+# Place this file inside your site_config/custom/ folder
+# Source: http://siteconfig.fivefilters.org/grab.php?url=http%3A%2F%2Fwww.wordyard.com%2F2014%2F09%2F26%2Fremove-blindfold-before-embarking-to-utopia%2F
+
+body: //div[contains(concat(' ',normalize-space(@class),' '),' entry-content ')]
+strip_id_or_class: robots-nocontent
+strip_id_or_class: post-revisions
+test_url: http://www.wordyard.com/2014/09/26/remove-blindfold-before-embarking-to-utopia/
\ No newline at end of file
index 1f729b60dcb1f67c1a00d55ceb85fbbb6b9ef378..a3c984970b4279f17783368de837c0ad58d38a03 100644 (file)
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
index 8292a196e8b5c08af3a2422998172801c2d8dcef..c589866cf0efe6c6b269c0f45f9a45fd88cbb292 100644 (file)
@@ -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!"
 
index d0f04615734e8a49cde94c00774842b22a5644b8..f4a28e728795c9fd86866eff27a5a531ef8fdccb 100644 (file)
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
index e4e2ce56a2f0b23d482e774fa6aeb7ac58ab13c4..0912b8722f84b36088354ee288390f1ede13bad1 100644 (file)
@@ -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"
index b8ac3bfa6576db0efba9ceaf9fba262e148c1be9..7b2c70824016366bde13e2d77399e58c10f37ac3 100644 (file)
@@ -1,7 +1,7 @@
 <div id="search-form" class="messages info">
 <form method="get" action="index.php">
         <input type="hidden" name="view" value="search"></input>
-        <label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input type="text" name="search" />
+        <label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input required placeholder="{% trans "Enter your search here" %}" type="text" name="search" id="searchfield" />
         <input id="submit-search" type="submit" value="{% trans "Search" %} !"></input>
 </form>
 </div>
\ No newline at end of file
index 33bea20d79422c3e1749dd1b6ce1637d6575473f..0cf6097a5964f559bfc2ed76cbd2c60bee7ec570 100755 (executable)
@@ -2,7 +2,7 @@
 <form method="get" action="index.php">
     <p>
                <input type="hidden" name="view" value="search"></input>
-        <label>{% trans "Search" %}</label> : <input type="text" placeholder="{% trans "Enter your search here" %}" name="search" />
+        <label>{% trans "Search" %}</label> : <input type="text" required placeholder="{% trans "Enter your search here" %}" name="search" id="searchfield" />
                <input type="submit" value="{% trans "Search" %} !"></input>
     </p>
 </form>
index 46b547956244eb3f84d64b292a33120323c179ec..3ad4e34e50e69035e753d2795172d3755575647b 100644 (file)
@@ -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;
index 06be3f0cdced6fd923d72af5b3e9d1cdb49e6641..a32e6e70aa9f0471d659f169c368a43598ea2642 100644 (file)
@@ -10,6 +10,7 @@ $(document).ready(function() {
 
     $("#search").click(function(){
         closeSearch();
+        $('#searchfield').focus();
     });
 
     $("#search-form-close").click(function(){