diff options
| author | czaks <marcin@6irc.net> | 2013-07-20 20:01:22 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-07-20 20:01:22 -0400 |
| commit | 629d616de5275164349608827ad83e8013b4b7ed (patch) | |
| tree | 523c52bdacf35c5a859533829cb85f7851a4b90d /templates/search_form.html | |
| parent | 472b5181652e5012588d3eafce740cde487788cf (diff) | |
post search: internationalize and use config values
Diffstat (limited to 'templates/search_form.html')
| -rw-r--r-- | templates/search_form.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/search_form.html b/templates/search_form.html index 16b5d4af..a391ac53 100644 --- a/templates/search_form.html +++ b/templates/search_form.html @@ -1,11 +1,11 @@ <div class="ban"> - <h2>Search</h2> + <h2>{% trans %}Search{% endtrans %}</h2> <form style="display:inline" action="" method="post"> <p> - <label style="display:inline" for="search">Phrase:</label> + <label style="display:inline" for="search">{% trans %}Phrase:{% endtrans %}</label> <input id="search" name="search" type="text" size="55" value="{{ search }}"> <select name="board"> - <option value="none">Select board…</option> + <option value="none">{% trans %}Select board{% endtrans %}…</option> {% for b in boards %} <option value="{{ b }}"{% if b == board %} selected{% endif %}>/{{ b }}/</option> {% endfor %} @@ -14,6 +14,6 @@ </p> </form> <p style="font-size:8pt;margin:5px"> - Search is case-insensitive and based on keywords. To match exact phrases, use "quotes". Use an asterisk (*) for wildcard.</p><p style="font-size:8pt;margin:5px">You may apply the following filters to your searches: <strong>id</strong>, <strong>thread</strong>, <strong>subject</strong>, and <strong>name</strong>. To apply a filter, simply add to your query, for example, <em>name:Anonymous</em> or <em>subject:"Some Thread"</em>. Wildcards cannot be used in filters. + {% trans %}Search is case-insensitive and based on keywords. To match exact phrases, use "quotes". Use an asterisk (*) for wildcard.</p><p style="font-size:8pt;margin:5px">You may apply the following filters to your searches: <strong>id</strong>, <strong>thread</strong>, <strong>subject</strong>, and <strong>name</strong>. To apply a filter, simply add to your query, for example, <em>name:Anonymous</em> or <em>subject:"Some Thread"</em>. Wildcards cannot be used in filters.{% endtrans %} </p> </div> |
