mirror of https://github.com/searxng/searxng
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ad964562ce
To improve modularization this patch: - moves *locale* related implementation from the webapp.py application to the locale.py module. - The initialization of the locales is now done in the application (webapp) and is no longer done while importing searx.locales. In the searx.locales module a new dictionary named `LOCALE_BEST_MATCH` has been added. In this dictionary we can map languages without a translation to languages we have a translation for. To fix #1303 zh-HK has been mapped to zh-Hant-TW (we do not need additional translations of traditional Chinese) Closes: https://github.com/searxng/searxng/issues/1303 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> |
2 years ago | |
---|---|---|
.. | ||
engines | 3 years ago | |
network | 3 years ago | |
settings | 3 years ago | |
__init__.py | 3 years ago | |
test_answerers.py | 3 years ago | |
test_engines_init.py | 3 years ago | |
test_external_bangs.py | 3 years ago | |
test_plugins.py | 3 years ago | |
test_preferences.py | 2 years ago | |
test_query.py | 3 years ago | |
test_results.py | 3 years ago | |
test_search.py | 3 years ago | |
test_settings_loader.py | 3 years ago | |
test_standalone_searx.py | 3 years ago | |
test_utils.py | 3 years ago | |
test_webadapter.py | 3 years ago | |
test_webapp.py | 2 years ago | |
test_webutils.py | 3 years ago |