mirror of
https://github.com/searxng/searxng.git
synced 2024-11-19 19:00:10 +01:00
Merge pull request #543 from return42/fix-485
[fix] templates: remove unneeded escape \' of single quotation mark
This commit is contained in:
commit
bd285de48a
@ -15,6 +15,6 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<div class="alert alert-info fade in" role="alert">
|
<div class="alert alert-info fade in" role="alert">
|
||||||
<strong class="lead">{{ icon('info-sign') }} {{ _('Sorry!') }}</strong>
|
<strong class="lead">{{ icon('info-sign') }} {{ _('Sorry!') }}</strong>
|
||||||
{{ _('we didn\'t find any results. Please use another query or search in more categories.') }}
|
{{ _("we didn't find any results. Please use another query or search in more categories.") }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -281,8 +281,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if 'query_in_title' not in locked_preferences %}
|
{% if 'query_in_title' not in locked_preferences %}
|
||||||
{% set query_in_title_label = _('Query in the page\'s 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') %}
|
{% 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') }}
|
{{ 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">
|
<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>
|
<option value="1" {% if query_in_title %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
|
||||||
@ -408,7 +408,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<td></td>
|
<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 %}
|
{% for answerer in answerers %}
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
@ -18,6 +18,6 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<div class="dialog-error" role="alert">
|
<div class="dialog-error" role="alert">
|
||||||
<p><strong>{{ _('Sorry!') }}</strong></p>
|
<p><strong>{{ _('Sorry!') }}</strong></p>
|
||||||
<p>{{ _('we didn\'t find any results. Please use another query or search in more categories.') }}</p>
|
<p>{{ _("we didn't find any results. Please use another query or search in more categories.") }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -258,14 +258,14 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if 'query_in_title' not in locked_preferences %}
|
{% if 'query_in_title' not in locked_preferences %}
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{{ _('Query in the page\'s title') }}</legend>
|
<legend>{{ _("Query in the page's title") }}</legend>
|
||||||
<p class="value">
|
<p class="value">
|
||||||
<select name='query_in_title'>
|
<select name='query_in_title'>
|
||||||
<option value="1" {% if query_in_title %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
|
<option value="1" {% if query_in_title %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
|
||||||
<option value="" {% if not query_in_title %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
|
<option value="" {% if not query_in_title %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</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>
|
</fieldset>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ plugin_preferences('privacy') }}
|
{{ plugin_preferences('privacy') }}
|
||||||
@ -324,7 +324,7 @@
|
|||||||
<th>{{ _('Examples') }}</th>
|
<th>{{ _('Examples') }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
<td></td>
|
<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 %}
|
{% for answerer in answerers %}
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user