mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
searx: Fully internationalize form strings
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
14c1e6580a
commit
7e60db76c4
@ -26,7 +26,8 @@ from plinth.forms import ServiceForm
|
|||||||
|
|
||||||
class SearxForm(ServiceForm):
|
class SearxForm(ServiceForm):
|
||||||
"""Searx configuration form."""
|
"""Searx configuration form."""
|
||||||
safe_search = forms.ChoiceField(label="Safe Search", help_text=_(
|
safe_search = forms.ChoiceField(label=_('Safe Search'), help_text=_(
|
||||||
'Select the default family filter to apply to your search results.'),
|
'Select the default family filter to apply to your search results.'),
|
||||||
choices=((0, 'None'), (1, 'Moderate'),
|
choices=((0, _('None')),
|
||||||
(2, 'Strict')))
|
(1, _('Moderate')),
|
||||||
|
(2, _('Strict'))))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user