[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>
This commit is contained in:
Markus Heiser 2021-11-24 17:40:03 +01:00
parent 42c1a938f0
commit 3f3097c772
4 changed files with 8 additions and 8 deletions

View file

@ -281,8 +281,8 @@
{% endif %}
{% if 'query_in_title' not in locked_preferences %}
{% set query_in_title_label = _('Query in the page\'s title') %}
{% set query_in_title_info = _('When enabled, the result page\'s title contains your query. Your browser can record this title') %}
{% set query_in_title_label = _("Query in the page's title") %}
{% set query_in_title_info = _("When enabled, the result page's title contains your query. Your browser can record this title") %}
{{ preferences_item_header(query_in_title_info, query_in_title_label, rtl, 'query_in_title') }}
<select class="form-control {{ custom_select_class(rtl) }}" name="query_in_title" id="query_in_title">
<option value="1" {% if query_in_title %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
@ -408,7 +408,7 @@
</thead>
<tbody>
<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>