summaryrefslogtreecommitdiff
path: root/searx/searxng.msg
blob: 36f9510ad6c3c3a5f3cf8305c26ba9269ab62779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# -*- 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',
    'BRAND_CUSTOM_LINKS',
    'WEATHER_TERMS',
    'SOCIAL_MEDIA_TERMS',
]

CONSTANT_NAMES = {
    # Constants defined in other modules
    'NO_SUBGROUPING': webutils.NO_SUBGROUPING,
    'DEFAULT_CATEGORY': engines.DEFAULT_CATEGORY,
}

CATEGORY_NAMES = {
    'FILES': 'files',
    'GENERAL': 'general',
    'MUSIC': 'music',
    'SOCIAL_MEDIA': 'social media',
    'IMAGES': 'images',
    'VIDEOS': 'videos',
    'RADIO': 'radio',
    'TV': 'tv',
    'IT': 'it',
    'NEWS': 'news',
    'MAP': 'map',
    'ONIONS': 'onions',
    'SCIENCE': 'science',
    'DUMMY': 'dummy',  # https://github.com/searxng/searxng/issues/4117
}

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',
    'SCIENTIFIC PUBLICATIONS': 'scientific publications',
}

STYLE_NAMES = {
    'AUTO': 'auto',
    'LIGHT': 'light',
    'DARK': 'dark',
    'BLACK': 'black',
}

BRAND_CUSTOM_LINKS = {
    'UPTIME': 'Uptime',
    'ABOUT': 'About',
}

WEATHER_TERMS = {
    'AVERAGE TEMP.': 'Average temp.',
    'CLOUD COVER': 'Cloud cover',
    'CONDITION': 'Condition',
    'CURRENT CONDITION': 'Current condition',
    'EVENING': 'Evening',
    'FEELS LIKE': 'Feels like',
    'HUMIDITY': 'Humidity',
    'MAX TEMP.': 'Max temp.',
    'MIN TEMP.': 'Min temp.',
    'MORNING': 'Morning',
    'NIGHT': 'Night',
    'NOON': 'Noon',
    'PRESSURE': 'Pressure',
    'SUNRISE': 'Sunrise',
    'SUNSET': 'Sunset',
    'TEMPERATURE': 'Temperature',
    'UV INDEX': 'UV index',
    'VISIBILITY': 'Visibility',
    'WIND': 'Wind',
}

SOCIAL_MEDIA_TERMS = {
    'SUBSCRIBERS': 'subscribers',
    'POSTS': 'posts',
    'ACTIVE USERS': 'active users',
    'COMMENTS': 'comments',
    'USER': 'user',
    'COMMUNITY': 'community',
    'POINTS': 'points',
    'TITLE': 'title',
    'AUTHOR': 'author',
    'THREAD OPEN': 'open',
    'THREAD CLOSED': 'closed',
    'THREAD ANSWERED': 'answered',
}