2022-02-03 15:33:58 +00:00
|
|
|
# -*- mode: python -*-
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
"""A SearXNG message file, see :py:obj:`searx.babel`
|
|
|
|
"""
|
|
|
|
|
|
|
|
from searx import webutils
|
|
|
|
from searx import engines
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
'CONSTANT_NAMES',
|
|
|
|
'CATEGORY_NAMES',
|
|
|
|
'CATEGORY_GROUPS',
|
|
|
|
'STYLE_NAMES',
|
2024-01-29 16:10:11 +00:00
|
|
|
'BRAND_CUSTOM_LINKS',
|
2022-02-03 15:33:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
CONSTANT_NAMES = {
|
|
|
|
# Constants defined in other modules
|
2022-07-24 07:32:05 +00:00
|
|
|
'NO_SUBGROUPING': webutils.NO_SUBGROUPING,
|
|
|
|
'DEFAULT_CATEGORY': engines.DEFAULT_CATEGORY,
|
2022-02-03 15:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
CATEGORY_NAMES = {
|
|
|
|
'FILES': 'files',
|
|
|
|
'GENERAL': 'general',
|
|
|
|
'MUSIC': 'music',
|
|
|
|
'SOCIAL_MEDIA': 'social media',
|
|
|
|
'IMAGES': 'images',
|
|
|
|
'VIDEOS': 'videos',
|
|
|
|
'IT': 'it',
|
|
|
|
'NEWS': 'news',
|
|
|
|
'MAP': 'map',
|
|
|
|
'ONIONS': 'onions',
|
|
|
|
'SCIENCE': 'science',
|
|
|
|
}
|
|
|
|
|
|
|
|
CATEGORY_GROUPS = {
|
|
|
|
# non-tab categories
|
|
|
|
'APPS': 'apps',
|
|
|
|
'DICTIONARIES': 'dictionaries',
|
|
|
|
'LYRICS': 'lyrics',
|
|
|
|
'PACKAGES': 'packages',
|
|
|
|
'Q_A': 'q&a',
|
|
|
|
'REPOS': 'repos',
|
|
|
|
'SOFTWARE_WIKIS': 'software wikis',
|
|
|
|
'WEB': 'web',
|
2022-08-26 16:10:12 +00:00
|
|
|
'SCIENTIFIC PUBLICATIONS': 'scientific publications',
|
2022-02-03 15:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
STYLE_NAMES = {
|
|
|
|
'AUTO': 'auto',
|
|
|
|
'LIGHT': 'light',
|
|
|
|
'DARK': 'dark',
|
|
|
|
}
|
2024-01-29 16:10:11 +00:00
|
|
|
|
|
|
|
BRAND_CUSTOM_LINKS = {
|
|
|
|
'UPTIME': 'Uptime',
|
|
|
|
'ABOUT': 'About',
|
|
|
|
}
|