forked from Archives/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 | |
---|---|---|
.. | ||
answerers | 2 years ago | |
data | 2 years ago | |
engines | 2 years ago | |
infopage | 2 years ago | |
metrics | 2 years ago | |
network | 2 years ago | |
plugins | 2 years ago | |
search | 2 years ago | |
shared | 2 years ago | |
static | 2 years ago | |
templates/simple | 2 years ago | |
translations | 2 years ago | |
__init__.py | 2 years ago | |
autocomplete.py | 2 years ago | |
babel_extract.py | 2 years ago | |
compat.py | 2 years ago | |
exceptions.py | 2 years ago | |
external_bang.py | 2 years ago | |
external_urls.py | 2 years ago | |
flaskfix.py | 2 years ago | |
languages.py | 2 years ago | |
locales.py | 2 years ago | |
preferences.py | 2 years ago | |
query.py | 2 years ago | |
redislib.py | 2 years ago | |
results.py | 2 years ago | |
searxng.msg | 2 years ago | |
settings.yml | 2 years ago | |
settings_defaults.py | 2 years ago | |
settings_loader.py | 2 years ago | |
unixthreadname.py | 2 years ago | |
utils.py | 2 years ago | |
version.py | 2 years ago | |
webadapter.py | 2 years ago | |
webapp.py | 2 years ago | |
webutils.py | 2 years ago |