diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-24 17:40:03 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-24 17:40:03 +0100 |
commit | 3f3097c772e8d6d5f6441e4ed81f18891e551e19 (patch) | |
tree | e710d4ca7595fd58866a1ebeb533ea9c5619c121 /searx/templates/simple/preferences.html | |
parent | 42c1a938f0c5c5f34c6904f8458dbf4d7c2c1ab6 (diff) | |
download | searxng-3f3097c772e8d6d5f6441e4ed81f18891e551e19.tar.gz searxng-3f3097c772e8d6d5f6441e4ed81f18891e551e19.zip |
[fix] templates: remove unneeded escape \' of single quotation mark
Strings like::
'Query in the page\'s title'
are hard to read / remove escape sequence by using double quotation marks for
strings ::
"Query in the page's title"
BTW: remove a leading dot in the simple theme [1].
[1] https://github.com/searxng/searxng/pull/485/files/80fb77476fad4b229418c530f3ffda67f357a15a#r756112716
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates/simple/preferences.html')
-rw-r--r-- | searx/templates/simple/preferences.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index 3fb962bd3..8f602cd1b 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -258,14 +258,14 @@ {% endif %} {% if 'query_in_title' not in locked_preferences %} <fieldset> - <legend>{{ _('Query in the page\'s title') }}</legend> + <legend>{{ _("Query in the page's title") }}</legend> <p class="value"> <select name='query_in_title'> <option value="1" {% if query_in_title %}selected="selected"{% endif %}>{{ _('Enabled') }}</option> <option value="" {% if not query_in_title %}selected="selected"{% endif %}>{{ _('Disabled') }}</option> </select> </p> - <div class="description">{{ _('When enabled, the result page\'s title contains your query. Your browser can record this title.') }}</div> + <div class="description">{{ _("When enabled, the result page's title contains your query. Your browser can record this title") }}</div> </fieldset> {% endif %} {{ plugin_preferences('privacy') }} @@ -324,7 +324,7 @@ <th>{{ _('Examples') }}</th> </tr> <td></td> - <th scope="colgroup" colspan="4">{{ _('This is the list of SearXNG\'s instant answering modules.') }}</th> + <th scope="colgroup" colspan="4">{{ _("This is the list of SearXNG's instant answering modules.") }}</th> {% for answerer in answerers %} <tr> <td></td> |