| 
									
										
										
										
											2022-02-03 16:33:58 +01: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 17:10:11 +01:00
										 |  |  |     'BRAND_CUSTOM_LINKS', | 
					
						
							| 
									
										
										
										
											2024-04-21 15:52:26 +02:00
										 |  |  |     'WEATHER_TERMS', | 
					
						
							|  |  |  |     'SOCIAL_MEDIA_TERMS', | 
					
						
							| 
									
										
										
										
											2022-02-03 16:33:58 +01:00
										 |  |  | ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | CONSTANT_NAMES = { | 
					
						
							|  |  |  |     # Constants defined in other modules | 
					
						
							| 
									
										
										
										
											2022-07-24 09:32:05 +02:00
										 |  |  |     'NO_SUBGROUPING': webutils.NO_SUBGROUPING, | 
					
						
							|  |  |  |     'DEFAULT_CATEGORY': engines.DEFAULT_CATEGORY, | 
					
						
							| 
									
										
										
										
											2022-02-03 16:33:58 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | CATEGORY_NAMES = { | 
					
						
							|  |  |  |     'FILES': 'files', | 
					
						
							|  |  |  |     'GENERAL': 'general', | 
					
						
							|  |  |  |     'MUSIC': 'music', | 
					
						
							|  |  |  |     'SOCIAL_MEDIA': 'social media', | 
					
						
							|  |  |  |     'IMAGES': 'images', | 
					
						
							|  |  |  |     'VIDEOS': 'videos', | 
					
						
							| 
									
										
										
										
											2024-04-21 15:52:26 +02:00
										 |  |  |     'RADIO': 'radio', | 
					
						
							|  |  |  |     'TV': 'tv', | 
					
						
							| 
									
										
										
										
											2022-02-03 16:33:58 +01:00
										 |  |  |     '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 18:10:12 +02:00
										 |  |  |     'SCIENTIFIC PUBLICATIONS': 'scientific publications', | 
					
						
							| 
									
										
										
										
											2022-02-03 16:33:58 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | STYLE_NAMES = { | 
					
						
							|  |  |  |     'AUTO': 'auto', | 
					
						
							|  |  |  |     'LIGHT': 'light', | 
					
						
							|  |  |  |     'DARK': 'dark', | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2024-01-29 17:10:11 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | BRAND_CUSTOM_LINKS = { | 
					
						
							|  |  |  |     'UPTIME': 'Uptime', | 
					
						
							|  |  |  |     'ABOUT': 'About', | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2024-04-21 15:52:26 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 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', | 
					
						
							| 
									
										
										
										
											2023-08-09 18:16:58 +02:00
										 |  |  |     'THREAD OPEN': 'open', | 
					
						
							|  |  |  |     'THREAD CLOSED': 'closed', | 
					
						
							|  |  |  |     'THREAD ANSWERED': 'answered', | 
					
						
							| 
									
										
										
										
											2024-04-21 15:52:26 +02:00
										 |  |  | } |