mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[feat] add spellcheck functionality to searxng, closes #3816
This commit is contained in:
parent
b183e620d8
commit
c5de9784ea
5 changed files with 61 additions and 0 deletions
18
searx/templates/simple/preferences/spellcheck.html
Normal file
18
searx/templates/simple/preferences/spellcheck.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<fieldset>{{- '' -}}
|
||||
<legend id="pref_spellcheck">{{- _('Spell Check') -}}</legend>{{- '' -}}
|
||||
<div class="value">{{- '' -}}
|
||||
<select name='spellcheck' aria-labelledby="pref_spellcheck">{{- '' -}}
|
||||
<option value="1"
|
||||
{%- if spellcheck == '1' %} selected="selected" {%- endif -%}>
|
||||
{{- _('On') -}}
|
||||
</option>{{- '' -}}
|
||||
<option value="0"
|
||||
{%- if spellcheck == '0' %} selected="selected" {%- endif -%}>
|
||||
{{- _('Off') -}}
|
||||
</option>{{- '' -}}
|
||||
</select>{{- '' -}}
|
||||
</div>{{- '' -}}
|
||||
<div class="description">
|
||||
{{- _('Spell check search queries') -}}
|
||||
</div>{{- '' -}}
|
||||
</fieldset>{{- '' -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue