summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukáš Kucharczyk <31072879+KucharczykL@users.noreply.github.com>2020-07-16 15:26:01 +0200
committerGitHub <noreply@github.com>2020-07-16 15:26:01 +0200
commit74e4e5e507d908950d4458dff5ba4aa5c712866f (patch)
tree7d084894c4d5ce32fc275dd2da864898603bcd0d
parent61ff5a7aea971805de77fde2c2ea1c4abf0d22d5 (diff)
downloadsearxng-74e4e5e507d908950d4458dff5ba4aa5c712866f.tar.gz
searxng-74e4e5e507d908950d4458dff5ba4aa5c712866f.zip
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().
-rw-r--r--searx/plugins/self_info.py2
1 files changed, 1 insertions, 1 deletions
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