Compare commits

..

No commits in common. "5284de9137c43c2a343958c5c3fccf97b72d65a3" and "5a241e545ed2c64cd71f88a3b46ae4b170b6d883" have entirely different histories.

15 changed files with 49 additions and 65 deletions

View File

@ -67,7 +67,7 @@ def is_accepted_request() -> bool:
return False
accept_encoding_list = [l.strip() for l in request.headers.get('Accept-Encoding', '').split(',')]
if 'gzip' not in accept_encoding_list and 'deflate' not in accept_encoding_list:
if 'gzip' not in accept_encoding_list or 'deflate' not in accept_encoding_list:
logger.debug("suspicious Accept-Encoding") # pylint: disable=undefined-variable
return False

View File

@ -8,19 +8,18 @@
# Markus Heiser <markus.heiser@darmarit.de>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: searx\n"
"Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-07-23 14:08+0000\n"
"PO-Revision-Date: 2022-08-26 07:23+0000\n"
"PO-Revision-Date: 2022-07-06 00:21+0000\n"
"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n"
"Language-Team: Bulgarian <https://weblate.bubu1.eu/projects/searxng/searxng/"
"bg/>\n"
"Language: bg\n"
"Language-Team: Bulgarian "
"<https://weblate.bubu1.eu/projects/searxng/searxng/bg/>\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.13.1\n"
"Generated-By: Babel 2.10.3\n"
#. CONSTANT_NAMES['DEFAULT_GROUP_NAME']
@ -270,21 +269,16 @@ msgid ""
"format. TinEye only supports images that are JPEG, PNG, GIF, BMP, TIFF or"
" WebP."
msgstr ""
"URL адресът на изображението не можа да бъде прочетен. Това може да се дължи "
"на неподдържан файлов формат. TinEye поддържа само изображения, които са "
"JPEG, PNG, GIF, BMP, TIFF или WebP."
#: searx/engines/tineye.py:46
msgid ""
"The image is too simple to find matches. TinEye requires a basic level of"
" visual detail to successfully identify matches."
msgstr ""
"Изображението е твърде просто за намиране на съвпадения. TinEye изисква "
"основно ниво на визуална детайлност за успешно идентифициране на съвпадения."
#: searx/engines/tineye.py:52
msgid "The image could not be downloaded."
msgstr "Снимката не може да бъде смъкната."
msgstr ""
#: searx/plugins/hash_plugin.py:24
msgid "Converts strings to different hash digests."
@ -960,11 +954,11 @@ msgstr "Предупреждения"
#: searx/templates/simple/stats.html:102
msgid "Errors and exceptions"
msgstr "Грешки и изключения"
msgstr ""
#: searx/templates/simple/stats.html:108
msgid "Exception"
msgstr "Изключение"
msgstr ""
#: searx/templates/simple/stats.html:110
msgid "Message"
@ -1380,3 +1374,4 @@ msgstr "скрий видеото"
#~ msgid "preferences"
#~ msgstr "предпочитания"

View File

@ -25,7 +25,7 @@ msgstr ""
"Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-07-23 14:08+0000\n"
"PO-Revision-Date: 2022-08-26 07:23+0000\n"
"PO-Revision-Date: 2022-08-05 07:18+0000\n"
"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n"
"Language-Team: Spanish <https://weblate.bubu1.eu/projects/searxng/searxng/es/"
">\n"
@ -50,7 +50,7 @@ msgstr "otro"
#. CATEGORY_NAMES['FILES']
#: searx/searxng.msg
msgid "files"
msgstr "Ficheros"
msgstr "Archivos"
#. CATEGORY_NAMES['GENERAL']
#: searx/searxng.msg

View File

@ -8,20 +8,19 @@
# Hachiki <ninonakano408@gmail.com>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: searx\n"
"Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-07-23 14:08+0000\n"
"PO-Revision-Date: 2022-08-22 12:54+0000\n"
"PO-Revision-Date: 2022-07-21 21:02+0000\n"
"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n"
"Language-Team: Filipino <https://weblate.bubu1.eu/projects/searxng/searxng/"
"fil/>\n"
"Language: fil\n"
"Language-Team: Filipino "
"<https://weblate.bubu1.eu/projects/searxng/searxng/fil/>\n"
"Plural-Forms: nplurals=2; plural=(n == 1 || n==2 || n==3) || (n % 10 != 4"
" || n % 10 != 6 || n % 10 != 9);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n == 1 || n==2 || n==3) || (n % 10 != 4 || "
"n % 10 != 6 || n % 10 != 9);\n"
"X-Generator: Weblate 4.13.1\n"
"Generated-By: Babel 2.10.3\n"
#. CONSTANT_NAMES['DEFAULT_GROUP_NAME']
@ -280,7 +279,7 @@ msgstr ""
#: searx/engines/tineye.py:52
msgid "The image could not be downloaded."
msgstr "Ang image na ito ay hindi maaaring i-download."
msgstr ""
#: searx/plugins/hash_plugin.py:24
msgid "Converts strings to different hash digests."
@ -336,32 +335,27 @@ msgstr ""
#: searx/plugins/tor_check.py:25
msgid "Tor check plugin"
msgstr "Tor check plugin"
msgstr ""
#: searx/plugins/tor_check.py:28
msgid ""
"This plugin checks if the address of the request is a TOR exit node, and "
"informs the user if it is, like check.torproject.org but from searxng."
msgstr ""
"Ang plugin na ito ay tsini-check kung ang address ng request ay isang TOR "
"exit node, at i-iinform ang user kung oo, gaya ng check.torproject.org "
"ngunit searxng."
#: searx/plugins/tor_check.py:62
msgid ""
"The TOR exit node list (https://check.torproject.org/exit-addresses) is "
"unreachable."
msgstr ""
"Ang TOR exit node list (https://check.torproject.org/exit-addresses) ay "
"unreachable."
#: searx/plugins/tor_check.py:78
msgid "You are using TOR. Your IP address seems to be: {ip_address}."
msgstr "Ikaw ay gumagamit ng TOR. Ang i'yong IP address ay: {ip_address}."
msgstr ""
#: searx/plugins/tor_check.py:84
msgid "You are not using TOR. Your IP address seems to be: {ip_address}."
msgstr "Ikaw ay hindi gumagamit ng TOR. Ang i'yong IP address ay: {ip_address}."
msgstr ""
#: searx/plugins/tracker_url_remover.py:29
msgid "Tracker URL remover"
@ -484,8 +478,7 @@ msgstr ""
#: searx/templates/simple/new_issue.html:72
msgid "Submit a new issue on Github including the above information"
msgstr ""
"Mga-submit ng isang bagong issue sa GitHub kasama ng impormasyong nasa itaas"
msgstr "Mag sumite ng bagong isyu sa github kasama ng bagong impormasyon sa taas."
#: searx/templates/simple/preferences.html:29
msgid "No HTTPS"
@ -804,8 +797,6 @@ msgid ""
"This is the list of cookies and their values SearXNG is storing on your "
"computer."
msgstr ""
"Ito ang listahan ng mga cookies at values na ini-store ng SearXNG sa i'yong "
"computer."
#: searx/templates/simple/preferences.html:396
msgid "With that list, you can assess SearXNG transparency."
@ -968,7 +959,7 @@ msgstr ""
#: searx/templates/simple/stats.html:102
msgid "Errors and exceptions"
msgstr "Mga error at exceptions"
msgstr ""
#: searx/templates/simple/stats.html:108
msgid "Exception"
@ -1036,7 +1027,7 @@ msgstr "Impormasyon!"
#: searx/templates/simple/messages/no_cookies.html:4
msgid "currently, there are no cookies defined."
msgstr "wala pang cookies na naka-define sa ngayon."
msgstr "wala pa sa ngayon na cookies na naka define."
#: searx/templates/simple/messages/no_results.html:6
msgid "Engines cannot retrieve results."
@ -1044,7 +1035,7 @@ msgstr "Hindi makuha ng engines ang mga resulta."
#: searx/templates/simple/messages/no_results.html:15
msgid "Please, try again later or find another SearXNG instance."
msgstr "Pakiusap, subukan muli mamaya o humanap ng ibang SearXNG instance."
msgstr ""
#: searx/templates/simple/messages/no_results.html:20
msgid "Sorry!"
@ -1069,7 +1060,7 @@ msgstr "itago ang media"
#: searx/templates/simple/result_templates/default.html:14
#: searx/templates/simple/result_templates/videos.html:14
msgid "This site did not provide any description."
msgstr "Ang site na ito ay hindi nagbigay ng deskripsyon."
msgstr "Hindi bumigay ng deskripsyon ang site"
#: searx/templates/simple/result_templates/images.html:19
msgid "Format"
@ -1081,7 +1072,7 @@ msgstr ""
#: searx/templates/simple/result_templates/images.html:22
msgid "View source"
msgstr "Tignan ang source"
msgstr "Tignan ang pinagkuhanan"
#: searx/templates/simple/result_templates/map.html:12
msgid "address"
@ -1141,11 +1132,11 @@ msgstr "Bilang ng mga files"
#: searx/templates/simple/result_templates/videos.html:6
msgid "show video"
msgstr "ipakita ang video"
msgstr "ipakita ang bidyo"
#: searx/templates/simple/result_templates/videos.html:6
msgid "hide video"
msgstr "itago ang video"
msgstr "itago ang bidyo"
#~ msgid "Engine time (sec)"
#~ msgstr "Oras ng engine (segundo)"
@ -1396,3 +1387,4 @@ msgstr "itago ang video"
#~ msgid "preferences"
#~ msgstr ""

View File

@ -6,14 +6,13 @@
# df3fdd29c9d33426452a2db187d128e3, 2017
# Issa1552 <fairfull.playing@gmail.com>, 2020
# Matija Kromar <matija.kromar@gmail.com>, 2022.
# Markus Heiser <markus.heiser@darmarit.de>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-07-23 14:08+0000\n"
"PO-Revision-Date: 2022-08-22 19:57+0000\n"
"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n"
"PO-Revision-Date: 2022-07-29 07:17+0000\n"
"Last-Translator: Matija Kromar <matija.kromar@gmail.com>\n"
"Language-Team: Croatian <https://weblate.bubu1.eu/projects/searxng/searxng/"
"hr/>\n"
"Language: hr\n"
@ -360,7 +359,7 @@ msgstr ""
#: searx/plugins/tor_check.py:78
msgid "You are using TOR. Your IP address seems to be: {ip_address}."
msgstr "Vi koristite TOR. Vaša IP adresa se čini da je: {ip_address}."
msgstr ""
#: searx/plugins/tor_check.py:84
msgid "You are not using TOR. Your IP address seems to be: {ip_address}."
@ -406,7 +405,7 @@ msgstr ""
#: searx/templates/simple/base.html:50
msgid "Donate"
msgstr "Donirajte"
msgstr ""
#: searx/templates/simple/base.html:54
#: searx/templates/simple/preferences.html:99

View File

@ -20,8 +20,8 @@ msgstr ""
"Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-07-23 14:08+0000\n"
"PO-Revision-Date: 2022-08-22 12:54+0000\n"
"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n"
"PO-Revision-Date: 2022-08-19 07:18+0000\n"
"Last-Translator: Content Card <weblate-bubu1@gabg.email>\n"
"Language-Team: Italian <https://weblate.bubu1.eu/projects/searxng/searxng/it/"
">\n"
"Language: it\n"
@ -90,7 +90,7 @@ msgstr "mappe"
#. CATEGORY_NAMES['ONIONS']
#: searx/searxng.msg
msgid "onions"
msgstr "onion"
msgstr "onions"
#. CATEGORY_NAMES['SCIENCE']
#: searx/searxng.msg

View File

@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-07-23 14:08+0000\n"
"PO-Revision-Date: 2022-08-26 07:23+0000\n"
"PO-Revision-Date: 2022-08-12 07:18+0000\n"
"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n"
"Language-Team: Norwegian Bokmål <https://weblate.bubu1.eu/projects/searxng/"
"searxng/nb_NO/>\n"
@ -79,7 +79,7 @@ msgstr "kart"
#. CATEGORY_NAMES['ONIONS']
#: searx/searxng.msg
msgid "onions"
msgstr "onions"
msgstr "løktjenester"
#. CATEGORY_NAMES['SCIENCE']
#: searx/searxng.msg
@ -216,7 +216,7 @@ msgstr "søkefeil"
#: searx/webapp.py:731
msgid "{minutes} minute(s) ago"
msgstr "for {minutes} minuter siden"
msgstr "for {minutes} minute(s) siden"
#: searx/webapp.py:733
msgid "{hours} hour(s), {minutes} minute(s) ago"

View File

@ -7,13 +7,12 @@
# C. E., 2018
# Markus Heiser <markus.heiser@darmarit.de>, 2022.
# Miguel Silva <miguelcabeca.dev@gmail.com>, 2022.
# Ricardo Simões <xmcorporation@gmail.com>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-07-23 14:08+0000\n"
"PO-Revision-Date: 2022-08-22 12:54+0000\n"
"PO-Revision-Date: 2022-08-19 07:18+0000\n"
"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n"
"Language-Team: Portuguese <https://weblate.bubu1.eu/projects/searxng/searxng/"
"pt/>\n"
@ -294,7 +293,7 @@ msgstr "Converte strings em diferentes resumos de hash."
#: searx/plugins/hash_plugin.py:52
msgid "hash digest"
msgstr "resumo de hash"
msgstr "hash digest"
#: searx/plugins/hostname_replace.py:9
msgid "Hostname replace"
@ -345,7 +344,7 @@ msgstr ""
#: searx/plugins/tor_check.py:25
msgid "Tor check plugin"
msgstr "Verificar plugin Tor"
msgstr ""
#: searx/plugins/tor_check.py:28
msgid ""
@ -369,7 +368,7 @@ msgstr "Está a utilizar os TOR. O seu endereço IP parece estar: {ip_address}."
#: searx/plugins/tor_check.py:84
msgid "You are not using TOR. Your IP address seems to be: {ip_address}."
msgstr "Não está a usar o TOR. O seu endereço IP parece ser: {ip_address}."
msgstr ""
#: searx/plugins/tracker_url_remover.py:29
msgid "Tracker URL remover"
@ -473,20 +472,19 @@ msgstr "via proxy"
#: searx/templates/simple/new_issue.html:64
msgid "Start submiting a new issue on GitHub"
msgstr "Iniciar envio de novo problema para o GitHub"
msgstr ""
#: searx/templates/simple/new_issue.html:66
msgid "Please check for existing bugs about this engine on GitHub"
msgstr "Por favor verifique se há bugs existentes sobre este motor no GitHub"
msgstr ""
#: searx/templates/simple/new_issue.html:69
msgid "I confirm there is no existing bug about the issue I encounter"
msgstr "Confirmo que não há bug existente sobre o problema que encontro"
msgstr ""
#: searx/templates/simple/new_issue.html:71
msgid "If this is a public instance, please specify the URL in the bug report"
msgstr ""
"Se esta for uma instância pública, especifique a URL no relatório do bug"
#: searx/templates/simple/new_issue.html:72
msgid "Submit a new issue on Github including the above information"
@ -598,7 +596,7 @@ msgstr ""
#: searx/templates/simple/preferences.html:171
msgid "Engine tokens"
msgstr "Tokens do Motor"
msgstr "Engine tokens"
#: searx/templates/simple/preferences.html:175
msgid "Access tokens for private engines"