bcb1d8ecc9
* Add support for Lingva translations in results Searches that contain the word "translate" and are normal search queries (i.e. not news/images/video/etc) now create an iframe to a Lingva url to translate the user's search using their configured search language. The Lingva url can be configured using the WHOOGLE_ALT_TL env var, or will fall back to the official Lingva instance url (lingva.ml). For more info, visit https://github.com/TheDavidDelta/lingva-translate * Add basic test for lingva results * Allow user specified lingva instances through csp frame-src * Fix pep8 issue |
||
---|---|---|
.. | ||
__init__.py | ||
conftest.py | ||
test_autocomplete.py | ||
test_misc.py | ||
test_results.py | ||
test_routes.py |