From 7e60db76c4cd7c25d3f94c44ffefc6c2d32b3578 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 26 Feb 2018 18:46:03 +0530 Subject: [PATCH] searx: Fully internationalize form strings Signed-off-by: Sunil Mohan Adapa --- plinth/modules/searx/forms.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plinth/modules/searx/forms.py b/plinth/modules/searx/forms.py index aea928183..63bb9286b 100644 --- a/plinth/modules/searx/forms.py +++ b/plinth/modules/searx/forms.py @@ -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'))))