mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 12:31:25 +01:00
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> |
||
---|---|---|
.. | ||
engines | ||
network | ||
settings | ||
__init__.py | ||
test_answerers.py | ||
test_engines_init.py | ||
test_external_bangs.py | ||
test_plugins.py | ||
test_preferences.py | ||
test_query.py | ||
test_results.py | ||
test_search.py | ||
test_settings_loader.py | ||
test_standalone_searx.py | ||
test_utils.py | ||
test_webadapter.py | ||
test_webapp.py | ||
test_webutils.py |