Browse Source

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().
Lukáš Kucharczyk 4 years ago
parent
commit
74e4e5e507
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/plugins/self_info.py

+ 1 - 1
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