From 74e4e5e507d908950d4458dff5ba4aa5c712866f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= <31072879+KucharczykL@users.noreply.github.com> Date: Thu, 16 Jul 2020 15:26:01 +0200 Subject: [PATCH] Allow localization of "Self Informations" Allows the string "Self Informations" in the plugin of the same name to be localized by wrapping it with gettext(). --- searx/plugins/self_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/plugins/self_info.py b/searx/plugins/self_info.py index 67e5e0e53..cdd3e9a6e 100644 --- a/searx/plugins/self_info.py +++ b/searx/plugins/self_info.py @@ -16,7 +16,7 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >. ''' from flask_babel import gettext import re -name = "Self Informations" +name = gettext('Self Informations') description = gettext('Displays your IP if the query is "ip" and your user agent if the query contains "user agent".') default_on = True