2
0
mirror of https://github.com/searx/searx synced 2025-08-30 14:08:47 +00:00

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().
This commit is contained in:
Lukáš Kucharczyk
2020-07-16 15:26:01 +02:00
committed by GitHub
parent 61ff5a7aea
commit 74e4e5e507

View File

@@ -16,7 +16,7 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >.
''' '''
from flask_babel import gettext from flask_babel import gettext
import re 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".') description = gettext('Displays your IP if the query is "ip" and your user agent if the query contains "user agent".')
default_on = True default_on = True