summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2022-03-20 08:31:07 +0100
committerGitHub <noreply@github.com>2022-03-20 08:31:07 +0100
commit3201aa1b3fe855b6332ccb63644a62ce2d6312b6 (patch)
tree839d8d93643883dcc238583a41b4d0be730a7df6 /searx/webapp.py
parentbc303099397b793bc4441e5b0db84a367ac201d7 (diff)
parent9622dbbc6b7a3999fc439ab8b800118498d2c8ba (diff)
downloadsearxng-3201aa1b3fe855b6332ccb63644a62ce2d6312b6.tar.gz
searxng-3201aa1b3fe855b6332ccb63644a62ce2d6312b6.zip
Merge pull request #859 from return42/fix-814
[mod] add i18n infrastructure for SearXNG message files (searxng.msg)
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py30
1 files changed, 0 insertions, 30 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 8c3e78deb..5aa0a382c 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -80,7 +80,6 @@ from searx.webutils import (
new_hmac,
is_hmac_of,
is_flask_run_cmdline,
- DEFAULT_GROUP_NAME,
group_engines_in_tab,
)
from searx.webadapter import (
@@ -167,35 +166,6 @@ app.secret_key = settings['server']['secret_key']
babel = Babel(app)
-# used when translating category names
-_category_names = (
- gettext('files'),
- gettext('general'),
- gettext('music'),
- gettext('social media'),
- gettext('images'),
- gettext('videos'),
- gettext('it'),
- gettext('news'),
- gettext('map'),
- gettext('onions'),
- gettext('science'),
- # non-tab categories
- gettext('apps'),
- gettext('dictionaries'),
- gettext('lyrics'),
- gettext('packages'),
- gettext('q&a'),
- gettext('repos'),
- gettext('software wikis'),
- gettext('web'),
- gettext(DEFAULT_GROUP_NAME),
- gettext(OTHER_CATEGORY),
-)
-
-_simple_style = (gettext('auto'), gettext('light'), gettext('dark'))
-
-#
timeout_text = gettext('timeout')
parsing_error_text = gettext('parsing error')
http_protocol_error_text = gettext('HTTP protocol error')