diff options
| author | pw3t <romain@berthor.fr> | 2014-01-23 22:11:36 +0100 |
|---|---|---|
| committer | pw3t <romain@berthor.fr> | 2014-01-23 22:11:36 +0100 |
| commit | 132681b3aaf5b330d9d19624038b51fe2ebfd8d5 (patch) | |
| tree | 393114f41b487eea4b71dd4073903726310a1257 /searx/templates/preferences.html | |
| parent | d6b017efb5b51623a02c85690c7335cfc6674092 (diff) | |
| parent | 59eeeaab87951fd6fa3302ec240db98902a20b2c (diff) | |
Merge branch 'master' of https://github.com/asciimoo/searx
Diffstat (limited to 'searx/templates/preferences.html')
| -rw-r--r-- | searx/templates/preferences.html | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/searx/templates/preferences.html b/searx/templates/preferences.html index 705139e58..3c2afef21 100644 --- a/searx/templates/preferences.html +++ b/searx/templates/preferences.html @@ -2,18 +2,28 @@ {% block head %} {% endblock %} {% block content %} <div class="row"> - <h2>Preferences</h2> + <h2>{{ _('Preferences') }}</h2> + <form method="post" action="/preferences" id="search_form"> <fieldset> - <legend>Default categories</legend> - <form method="post" action="/preferences" id="search_form"> + <legend>{{ _('Default categories') }}</legend> <p> {% include 'categories.html' %} </p> - <input type="submit" value="save" /> - </form> </fieldset> - <div class="right"><a href="/">back</a></div> + <fieldset> + <legend>{{ _('Interface language') }}</legend> + <p> + <select name='locale'> + {% for locale_id,locale_name in locales.items() %} + <option value={{ locale_id }} {% if locale_id == current_locale %}selected="selected"{% endif %}>{{ locale_name}}</option> + {% endfor %} + </select> + </p> + </fieldset> + <input type="submit" value="{{ _('save') }}" /> + </form> + <div class="right"><a href="/">{{ _('back') }}</a></div> </div> {% endblock %} |