mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
searx: Fully internationalize form strings
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 file changed
+4
-3
@@ -26,7 +26,8 @@ from plinth.forms import ServiceForm
|
||||
|
||||
class SearxForm(ServiceForm):
|
||||
"""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.'),
|
||||
choices=((0, 'None'), (1, 'Moderate'),
|
||||
(2, 'Strict')))
|
||||
choices=((0, _('None')),
|
||||
(1, _('Moderate')),
|
||||
(2, _('Strict'))))
|
||||
Reference in new issue
Block a user