diff options
author | Luc Didry <luc@didry.org> | 2015-06-15 13:36:38 +0200 |
---|---|---|
committer | Luc Didry <luc@didry.org> | 2015-06-15 13:36:38 +0200 |
commit | 0fe362bacf608f535680a68c0d38784b331a45e3 (patch) | |
tree | e613e5c52a7a17c9ad2e765d7bd957e3bbf94841 /searx/plugins | |
parent | 41fd748cdf7a6bcb14b664ded16f339eb864900c (diff) | |
download | searxng-0fe362bacf608f535680a68c0d38784b331a45e3.tar.gz searxng-0fe362bacf608f535680a68c0d38784b331a45e3.zip |
Change self plugin to self_info + change self_info description
Diffstat (limited to 'searx/plugins')
-rw-r--r-- | searx/plugins/__init__.py | 4 | ||||
-rw-r--r-- | searx/plugins/self_info.py (renamed from searx/plugins/self.py) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py index bc4a0fba3..411f9cd1d 100644 --- a/searx/plugins/__init__.py +++ b/searx/plugins/__init__.py @@ -20,7 +20,7 @@ from searx import logger logger = logger.getChild('plugins') from searx.plugins import (https_rewrite, - self, + self_info, search_on_category_select) required_attrs = (('name', str), @@ -71,5 +71,5 @@ class PluginStore(): plugins = PluginStore() plugins.register(https_rewrite) -plugins.register(self) +plugins.register(self_info) plugins.register(search_on_category_select) diff --git a/searx/plugins/self.py b/searx/plugins/self_info.py index e3bb517d8..5ca994526 100644 --- a/searx/plugins/self.py +++ b/searx/plugins/self_info.py @@ -17,7 +17,7 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >. from flask.ext.babel import gettext import re name = "Self Informations" -description = gettext('Correct Duckduckgo instant answers with your own informations (IP and 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 |