diff options
27 files changed, 229 insertions, 182 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index cac9d2868..086b3ccbe 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -347,18 +347,27 @@ Communication with search engines. pool_maxsize: 10 # Number of allowable keep-alive connections, or null # to always allow. The default is 10. enable_http2: true # See https://www.python-httpx.org/http2/ - # uncomment below section if you want to use a proxy - # proxies: - # all://: - # - http://proxy1:8080 - # - http://proxy2:8080 - # uncomment below section only if you have more than one network interface - # which can be the source of outgoing search requests - # source_ips: - # - 1.1.1.1 - # - 1.1.1.2 - # - fe80::/126 - + # uncomment below section if you want to use a custom server certificate + # see https://www.python-httpx.org/advanced/#changing-the-verification-defaults + # and https://www.python-httpx.org/compatibility/#ssl-configuration + # verify: ~/.mitmproxy/mitmproxy-ca-cert.cer + # + # uncomment below section if you want to use a proxyq see: SOCKS proxies + # https://2.python-requests.org/en/latest/user/advanced/#proxies + # are also supported: see + # https://2.python-requests.org/en/latest/user/advanced/#socks + # + # proxies: + # all://: + # - http://proxy1:8080 + # - http://proxy2:8080 + # + # using_tor_proxy: true + # + # Extra seconds to add in order to account for the time taken by the proxy + # + # extra_proxy_timeout: 10.0 + # ``request_timeout`` : Global timeout of the requests made to others engines in seconds. A bigger @@ -408,6 +417,17 @@ Communication with search engines. ``enable_http2`` : Enable by default. Set to ``false`` to disable HTTP/2. +.. _httpx verification defaults: https://www.python-httpx.org/advanced/#changing-the-verification-defaults +.. _httpx ssl configuration: https://www.python-httpx.org/compatibility/#ssl-configuration + +``verify``: : ``$SSL_CERT_FILE``, ``$SSL_CERT_DIR`` + Allow to specify a path to certificate. + see `httpx verification defaults`_. + + In addition to ``verify``, SearXNG supports the ``$SSL_CERT_FILE`` (for a file) and + ``$SSL_CERT_DIR`` (for a directory) OpenSSL variables. + see `httpx ssl configuration`_. + ``max_redirects`` : 30 by default. Maximum redirect before it is an error. diff --git a/searx/network/client.py b/searx/network/client.py index 11086dd33..f25aaf9ab 100644 --- a/searx/network/client.py +++ b/searx/network/client.py @@ -26,9 +26,6 @@ else: logger = logger.getChild('searx.network.client') LOOP = None SSLCONTEXTS: Dict[Any, SSLContext] = {} -TRANSPORT_KWARGS = { - 'trust_env': False, -} def get_sslcontexts(proxy_url=None, cert=None, verify=True, trust_env=True, http2=False): @@ -74,7 +71,7 @@ def get_transport_for_socks_proxy(verify, http2, local_address, proxy_url, limit rdns = True proxy_type, proxy_host, proxy_port, proxy_username, proxy_password = parse_proxy_url(proxy_url) - verify = get_sslcontexts(proxy_url, None, True, False, http2) if verify is True else verify + verify = get_sslcontexts(proxy_url, None, verify, True, http2) if verify is True else verify return AsyncProxyTransportFixed( proxy_type=proxy_type, proxy_host=proxy_host, @@ -88,12 +85,11 @@ def get_transport_for_socks_proxy(verify, http2, local_address, proxy_url, limit local_address=local_address, limits=limit, retries=retries, - **TRANSPORT_KWARGS, ) def get_transport(verify, http2, local_address, proxy_url, limit, retries): - verify = get_sslcontexts(None, None, True, False, http2) if verify is True else verify + verify = get_sslcontexts(None, None, verify, True, http2) if verify is True else verify return httpx.AsyncHTTPTransport( # pylint: disable=protected-access verify=verify, @@ -102,7 +98,6 @@ def get_transport(verify, http2, local_address, proxy_url, limit, retries): proxy=httpx._config.Proxy(proxy_url) if proxy_url else None, local_address=local_address, retries=retries, - **TRANSPORT_KWARGS, ) diff --git a/searx/network/network.py b/searx/network/network.py index 677a908bf..87c077f23 100644 --- a/searx/network/network.py +++ b/searx/network/network.py @@ -334,7 +334,7 @@ def initialize(settings_engines=None, settings_outgoing=None): # see https://github.com/encode/httpx/blob/e05a5372eb6172287458b37447c30f650047e1b8/httpx/_transports/default.py#L108-L121 # pylint: disable=line-too-long default_params = { 'enable_http': False, - 'verify': True, + 'verify': settings_outgoing['verify'], 'enable_http2': settings_outgoing['enable_http2'], 'max_connections': settings_outgoing['pool_connections'], 'max_keepalive_connections': settings_outgoing['pool_maxsize'], diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py index be1ca57f3..dd5d1e36b 100644 --- a/searx/search/processors/online.py +++ b/searx/search/processors/online.py @@ -7,6 +7,7 @@ from timeit import default_timer import asyncio +import ssl import httpx import searx.network @@ -29,7 +30,6 @@ def default_request_params(): 'data': {}, 'url': '', 'cookies': {}, - 'verify': True, 'auth': None # fmt: on } @@ -76,9 +76,15 @@ class OnlineProcessor(EngineProcessor): def _send_http_request(self, params): # create dictionary which contain all # information about the request - request_args = dict( - headers=params['headers'], cookies=params['cookies'], verify=params['verify'], auth=params['auth'] - ) + request_args = dict(headers=params['headers'], cookies=params['cookies'], auth=params['auth']) + + # verify + # if not None, it overrides the verify value defined in the network. + # use False to accept any server certificate + # use a path to file to specify a server certificate + verify = params.get('verify') + if verify is not None: + request_args['verify'] = params['verify'] # max_redirects max_redirects = params.get('max_redirects') @@ -153,6 +159,10 @@ class OnlineProcessor(EngineProcessor): # send requests and parse the results search_results = self._search_basic(query, params) self.extend_container(result_container, start_time, search_results) + except ssl.SSLError as e: + # requests timeout (connect or read) + self.handle_exception(result_container, e, suspend=True) + self.logger.error("SSLError {}, verify={}".format(e, searx.network.get_network(self.engine_name).verify)) except (httpx.TimeoutException, asyncio.TimeoutError) as e: # requests timeout (connect or read) self.handle_exception(result_container, e, suspend=True) diff --git a/searx/settings.yml b/searx/settings.yml index f21d7f05a..2304c6fe7 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -145,6 +145,11 @@ outgoing: pool_maxsize: 20 # See https://www.python-httpx.org/http2/ enable_http2: true + # uncomment below section if you want to use a custom server certificate + # see https://www.python-httpx.org/advanced/#changing-the-verification-defaults + # and https://www.python-httpx.org/compatibility/#ssl-configuration + # verify: ~/.mitmproxy/mitmproxy-ca-cert.cer + # # uncomment below section if you want to use a proxyq see: SOCKS proxies # https://2.python-requests.org/en/latest/user/advanced/#proxies # are also supported: see diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py index 330878c1f..6575b0b0c 100644 --- a/searx/settings_defaults.py +++ b/searx/settings_defaults.py @@ -199,6 +199,7 @@ SCHEMA = { 'useragent_suffix': SettingsValue(str, ''), 'request_timeout': SettingsValue(numbers.Real, 3.0), 'enable_http2': SettingsValue(bool, True), + 'verify': SettingsValue((bool, str), True), 'max_request_timeout': SettingsValue((None, numbers.Real), None), # Magic number kept from previous code 'pool_connections': SettingsValue(int, 100), diff --git a/searx/translations/bn/LC_MESSAGES/messages.mo b/searx/translations/bn/LC_MESSAGES/messages.mo Binary files differindex 7205c56e4..3f4cc7b70 100644 --- a/searx/translations/bn/LC_MESSAGES/messages.mo +++ b/searx/translations/bn/LC_MESSAGES/messages.mo diff --git a/searx/translations/bn/LC_MESSAGES/messages.po b/searx/translations/bn/LC_MESSAGES/messages.po index e240263fc..40e811a49 100644 --- a/searx/translations/bn/LC_MESSAGES/messages.po +++ b/searx/translations/bn/LC_MESSAGES/messages.po @@ -9,15 +9,16 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2022-09-28 07:29+0000\n" -"PO-Revision-Date: 2022-09-21 15:58+0000\n" +"PO-Revision-Date: 2022-10-11 13:31+0000\n" "Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n" +"Language-Team: Bengali <https://weblate.bubu1.eu/projects/searxng/searxng/bn/" +">\n" "Language: bn\n" -"Language-Team: Bengali " -"<https://weblate.bubu1.eu/projects/searxng/searxng/bn/>\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.14.1\n" "Generated-By: Babel 2.10.3\n" #. CONSTANT_NAMES['DEFAULT_GROUP_NAME'] @@ -128,7 +129,7 @@ msgstr "ওয়েব" #. CATEGORY_GROUPS['SCIENTIFIC PUBLICATIONS'] #: searx/searxng.msg msgid "scientific publications" -msgstr "" +msgstr "বৈজ্ঞানিক প্রকাশনা" #. STYLE_NAMES['AUTO'] #: searx/searxng.msg @@ -267,6 +268,8 @@ msgid "" "{numCitations} citations from the year {firstCitationVelocityYear} to " "{lastCitationVelocityYear}" msgstr "" +"{numCitations} উদ্ধৃতি সাল {firstCitationVelocityYear} থেকে " +"{lastCitationVelocityYear}" #: searx/engines/tineye.py:40 msgid "" @@ -292,19 +295,19 @@ msgstr "ছবিটি ডাউনলোড করা যায়নি ।" #: searx/engines/wttr.py:101 msgid "Morning" -msgstr "" +msgstr "সকাল" #: searx/engines/wttr.py:101 msgid "Noon" -msgstr "" +msgstr "দুপুর" #: searx/engines/wttr.py:101 msgid "Evening" -msgstr "" +msgstr "রাত" #: searx/engines/wttr.py:101 msgid "Night" -msgstr "" +msgstr "রাত" #: searx/plugins/hash_plugin.py:24 msgid "Converts strings to different hash digests." @@ -348,7 +351,7 @@ msgstr "" #: searx/plugins/self_info.py:20 msgid "Self Information" -msgstr "" +msgstr "নিজ তথ্য" #: searx/plugins/self_info.py:21 msgid "" @@ -1203,4 +1206,3 @@ msgstr "" #~ " rel=\"external\">learn more about request " #~ "methods</a>" #~ msgstr "" - diff --git a/searx/translations/cs/LC_MESSAGES/messages.mo b/searx/translations/cs/LC_MESSAGES/messages.mo Binary files differindex 9681bd355..1fcd155f8 100644 --- a/searx/translations/cs/LC_MESSAGES/messages.mo +++ b/searx/translations/cs/LC_MESSAGES/messages.mo diff --git a/searx/translations/cs/LC_MESSAGES/messages.po b/searx/translations/cs/LC_MESSAGES/messages.po index d7fc9aaaf..f272d9459 100644 --- a/searx/translations/cs/LC_MESSAGES/messages.po +++ b/searx/translations/cs/LC_MESSAGES/messages.po @@ -12,19 +12,20 @@ # LagManCZ <lagmen@post.cz>, 2022. msgid "" msgstr "" -"Project-Id-Version: searx\n" +"Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2022-09-28 07:29+0000\n" -"PO-Revision-Date: 2022-09-21 15:58+0000\n" +"PO-Revision-Date: 2022-10-14 07:38+0000\n" "Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n" +"Language-Team: Czech <https://weblate.bubu1.eu/projects/searxng/searxng/cs/>" +"\n" "Language: cs\n" -"Language-Team: Czech " -"<https://weblate.bubu1.eu/projects/searxng/searxng/cs/>\n" -"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && " -"n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n " +"<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"X-Generator: Weblate 4.14.1\n" "Generated-By: Babel 2.10.3\n" #. CONSTANT_NAMES['DEFAULT_GROUP_NAME'] @@ -135,7 +136,7 @@ msgstr "web" #. CATEGORY_GROUPS['SCIENTIFIC PUBLICATIONS'] #: searx/searxng.msg msgid "scientific publications" -msgstr "" +msgstr "vědecké publikace" #. STYLE_NAMES['AUTO'] #: searx/searxng.msg @@ -1484,4 +1485,3 @@ msgstr "skrýt video" #~ " o dotazovacích metodách <a " #~ "href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" #~ " rel=\"external\">viz Wikipedie</a>" - diff --git a/searx/translations/de/LC_MESSAGES/messages.mo b/searx/translations/de/LC_MESSAGES/messages.mo Binary files differindex 2292636dd..5be8ecfe3 100644 --- a/searx/translations/de/LC_MESSAGES/messages.mo +++ b/searx/translations/de/LC_MESSAGES/messages.mo diff --git a/searx/translations/de/LC_MESSAGES/messages.po b/searx/translations/de/LC_MESSAGES/messages.po index a6f173ba7..4b5e30d6b 100644 --- a/searx/translations/de/LC_MESSAGES/messages.po +++ b/searx/translations/de/LC_MESSAGES/messages.po @@ -23,7 +23,7 @@ msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2022-09-28 07:29+0000\n" -"PO-Revision-Date: 2022-09-30 07:43+0000\n" +"PO-Revision-Date: 2022-10-11 13:31+0000\n" "Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n" "Language-Team: German <https://weblate.bubu1.eu/projects/searxng/searxng/de/>" "\n" @@ -581,7 +581,7 @@ msgstr "Standardkategorien" #: searx/templates/simple/filters/languages.html:1 #: searx/templates/simple/preferences.html:115 msgid "Search language" -msgstr "Suchsprache" +msgstr "Such-Sprache/-Region" #: searx/templates/simple/filters/languages.html:2 #: searx/templates/simple/preferences.html:118 @@ -590,7 +590,7 @@ msgstr "Standardsprache" #: searx/templates/simple/preferences.html:124 msgid "What language do you prefer for search?" -msgstr "welche Sprache bevorzugst du für die Suche?" +msgstr "Welche Sprache oder Region soll bei der Suche bevorzugt werden?" #: searx/templates/simple/preferences.html:129 msgid "Autocomplete" diff --git a/searx/translations/es/LC_MESSAGES/messages.mo b/searx/translations/es/LC_MESSAGES/messages.mo Binary files differindex 1b735c6c4..2ae7b913c 100644 --- a/searx/translations/es/LC_MESSAGES/messages.mo +++ b/searx/translations/es/LC_MESSAGES/messages.mo diff --git a/searx/translations/es/LC_MESSAGES/messages.po b/searx/translations/es/LC_MESSAGES/messages.po index 199eaebfd..682d0e03c 100644 --- a/searx/translations/es/LC_MESSAGES/messages.po +++ b/searx/translations/es/LC_MESSAGES/messages.po @@ -20,13 +20,14 @@ # Raúl Díaz <flan@chocoflan.net>, 2022. # Cedrik Boudreau <cedrik@arweave.org>, 2022. # alexfs2015 <alex04fs@gmail.com>, 2022. +# KEINOS <github@keinos.com>, 2022. msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2022-09-28 07:29+0000\n" -"PO-Revision-Date: 2022-09-30 07:43+0000\n" -"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n" +"PO-Revision-Date: 2022-10-14 07:38+0000\n" +"Last-Translator: KEINOS <github@keinos.com>\n" "Language-Team: Spanish <https://weblate.bubu1.eu/projects/searxng/searxng/es/" ">\n" "Language: es\n" @@ -50,7 +51,7 @@ msgstr "otro" #. CATEGORY_NAMES['FILES'] #: searx/searxng.msg msgid "files" -msgstr "Ficheros" +msgstr "archivos" #. CATEGORY_NAMES['GENERAL'] #: searx/searxng.msg @@ -60,7 +61,7 @@ msgstr "general" #. CATEGORY_NAMES['MUSIC'] #: searx/searxng.msg msgid "music" -msgstr "Música" +msgstr "música" #. CATEGORY_NAMES['SOCIAL_MEDIA'] #: searx/searxng.msg @@ -70,12 +71,12 @@ msgstr "redes sociales" #. CATEGORY_NAMES['IMAGES'] #: searx/searxng.msg msgid "images" -msgstr "Imágenes" +msgstr "imágenes" #. CATEGORY_NAMES['VIDEOS'] #: searx/searxng.msg msgid "videos" -msgstr "Vídeos" +msgstr "vídeos" #. CATEGORY_NAMES['IT'] #: searx/searxng.msg @@ -85,12 +86,12 @@ msgstr "Informática" #. CATEGORY_NAMES['NEWS'] #: searx/searxng.msg msgid "news" -msgstr "Noticias" +msgstr "noticias" #. CATEGORY_NAMES['MAP'] #: searx/searxng.msg msgid "map" -msgstr "Mapa" +msgstr "mapa" #. CATEGORY_NAMES['ONIONS'] #: searx/searxng.msg @@ -100,52 +101,52 @@ msgstr "onions" #. CATEGORY_NAMES['SCIENCE'] #: searx/searxng.msg msgid "science" -msgstr "Ciencia" +msgstr "ciencia" #. CATEGORY_GROUPS['APPS'] #: searx/searxng.msg msgid "apps" -msgstr "Aplicaciones" +msgstr "aplicaciones" #. CATEGORY_GROUPS['DICTIONARIES'] #: searx/searxng.msg msgid "dictionaries" -msgstr "Diccionarios" +msgstr "diccionarios" #. CATEGORY_GROUPS['LYRICS'] #: searx/searxng.msg msgid "lyrics" -msgstr "Letras" +msgstr "letras" #. CATEGORY_GROUPS['PACKAGES'] #: searx/searxng.msg msgid "packages" -msgstr "Paquetes" +msgstr "paquetes" #. CATEGORY_GROUPS['Q_A'] #: searx/searxng.msg msgid "q&a" -msgstr "Preguntas y respuestas" +msgstr "preguntas y respuestas" #. CATEGORY_GROUPS['REPOS'] #: searx/searxng.msg msgid "repos" -msgstr "Repositorios" +msgstr "repositorios" #. CATEGORY_GROUPS['SOFTWARE_WIKIS'] #: searx/searxng.msg msgid "software wikis" -msgstr "Wikis de software" +msgstr "wikis de software" #. CATEGORY_GROUPS['WEB'] #: searx/searxng.msg msgid "web" -msgstr "Web" +msgstr "web" #. CATEGORY_GROUPS['SCIENTIFIC PUBLICATIONS'] #: searx/searxng.msg msgid "scientific publications" -msgstr "Artículos científicos" +msgstr "artículos científicos" #. STYLE_NAMES['AUTO'] #: searx/searxng.msg @@ -176,7 +177,7 @@ msgstr "Error de protocolo HTTP" #: searx/webapp.py:167 msgid "network error" -msgstr "Error de red" +msgstr "error de red" #: searx/webapp.py:169 msgid "unexpected crash" @@ -284,6 +285,8 @@ msgid "" "{numCitations} citations from the year {firstCitationVelocityYear} to " "{lastCitationVelocityYear}" msgstr "" +"{numCitations} citas desde el año {firstCitationVelocityYear} hasta " +"{lastCitationVelocityYear}" #: searx/engines/tineye.py:40 msgid "" @@ -1140,27 +1143,27 @@ msgstr "ocultar mapa" #: searx/templates/simple/result_templates/paper.html:5 msgid "Published date" -msgstr "" +msgstr "Fecha de Publicación" #: searx/templates/simple/result_templates/paper.html:9 msgid "Journal" -msgstr "" +msgstr "Periódicos" #: searx/templates/simple/result_templates/paper.html:22 msgid "Editor" -msgstr "" +msgstr "Editor" #: searx/templates/simple/result_templates/paper.html:23 msgid "Publisher" -msgstr "" +msgstr "Editor" #: searx/templates/simple/result_templates/paper.html:24 msgid "Type" -msgstr "" +msgstr "Tipo" #: searx/templates/simple/result_templates/paper.html:25 msgid "Tags" -msgstr "" +msgstr "Etiquetas" #: searx/templates/simple/result_templates/paper.html:26 msgid "DOI" diff --git a/searx/translations/fi/LC_MESSAGES/messages.mo b/searx/translations/fi/LC_MESSAGES/messages.mo Binary files differindex 66c3c74f7..1814f05dc 100644 --- a/searx/translations/fi/LC_MESSAGES/messages.mo +++ b/searx/translations/fi/LC_MESSAGES/messages.mo diff --git a/searx/translations/fi/LC_MESSAGES/messages.po b/searx/translations/fi/LC_MESSAGES/messages.po index 8d21e01af..0dff2b9dc 100644 --- a/searx/translations/fi/LC_MESSAGES/messages.po +++ b/searx/translations/fi/LC_MESSAGES/messages.po @@ -8,18 +8,19 @@ # Mico Hautaluoma <m@mha.fi>, 2022. msgid "" msgstr "" -"Project-Id-Version: searx\n" +"Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2022-09-28 07:29+0000\n" -"PO-Revision-Date: 2022-08-05 07:18+0000\n" -"Last-Translator: Mico Hautaluoma <m@mha.fi>\n" +"PO-Revision-Date: 2022-10-11 13:31+0000\n" +"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n" +"Language-Team: Finnish <https://weblate.bubu1.eu/projects/searxng/searxng/fi/" +">\n" "Language: fi\n" -"Language-Team: Finnish " -"<https://weblate.bubu1.eu/projects/searxng/searxng/fi/>\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.14.1\n" "Generated-By: Babel 2.10.3\n" #. CONSTANT_NAMES['DEFAULT_GROUP_NAME'] @@ -130,7 +131,7 @@ msgstr "web" #. CATEGORY_GROUPS['SCIENTIFIC PUBLICATIONS'] #: searx/searxng.msg msgid "scientific publications" -msgstr "" +msgstr "Tieteelliset Julkaisut" #. STYLE_NAMES['AUTO'] #: searx/searxng.msg @@ -294,19 +295,19 @@ msgstr "Tätä kuvaa ei voida ladata." #: searx/engines/wttr.py:101 msgid "Morning" -msgstr "" +msgstr "Aamu" #: searx/engines/wttr.py:101 msgid "Noon" -msgstr "" +msgstr "Päivä" #: searx/engines/wttr.py:101 msgid "Evening" -msgstr "" +msgstr "Ilta" #: searx/engines/wttr.py:101 msgid "Night" -msgstr "" +msgstr "Yö" #: searx/plugins/hash_plugin.py:24 msgid "Converts strings to different hash digests." @@ -352,7 +353,7 @@ msgstr "" #: searx/plugins/self_info.py:20 msgid "Self Information" -msgstr "" +msgstr "Tietojasi" #: searx/plugins/self_info.py:21 msgid "" @@ -1480,4 +1481,3 @@ msgstr "piilota video" #~ " <a " #~ "href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" #~ " rel=\"external\">Lisätietoja eri välitystavoista.</a>" - diff --git a/searx/translations/pt/LC_MESSAGES/messages.mo b/searx/translations/pt/LC_MESSAGES/messages.mo Binary files differindex 9be43efd4..fa523f40e 100644 --- a/searx/translations/pt/LC_MESSAGES/messages.mo +++ b/searx/translations/pt/LC_MESSAGES/messages.mo diff --git a/searx/translations/pt/LC_MESSAGES/messages.po b/searx/translations/pt/LC_MESSAGES/messages.po index a5b986164..62d63d2e9 100644 --- a/searx/translations/pt/LC_MESSAGES/messages.po +++ b/searx/translations/pt/LC_MESSAGES/messages.po @@ -10,18 +10,19 @@ # Ricardo Simões <xmcorporation@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-09-28 07:29+0000\n" -"PO-Revision-Date: 2022-08-22 12:54+0000\n" +"PO-Revision-Date: 2022-10-11 13:31+0000\n" "Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n" +"Language-Team: Portuguese <https://weblate.bubu1.eu/projects/searxng/searxng/" +"pt/>\n" "Language: pt\n" -"Language-Team: Portuguese " -"<https://weblate.bubu1.eu/projects/searxng/searxng/pt/>\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.14.1\n" "Generated-By: Babel 2.10.3\n" #. CONSTANT_NAMES['DEFAULT_GROUP_NAME'] @@ -132,7 +133,7 @@ msgstr "rede" #. CATEGORY_GROUPS['SCIENTIFIC PUBLICATIONS'] #: searx/searxng.msg msgid "scientific publications" -msgstr "" +msgstr "publicações científicas" #. STYLE_NAMES['AUTO'] #: searx/searxng.msg @@ -296,7 +297,7 @@ msgstr "Não é possível fazer download da imagem." #: searx/engines/wttr.py:101 msgid "Morning" -msgstr "" +msgstr "Manhã" #: searx/engines/wttr.py:101 msgid "Noon" @@ -304,11 +305,11 @@ msgstr "" #: searx/engines/wttr.py:101 msgid "Evening" -msgstr "" +msgstr "Tarde" #: searx/engines/wttr.py:101 msgid "Night" -msgstr "" +msgstr "Noite" #: searx/plugins/hash_plugin.py:24 msgid "Converts strings to different hash digests." @@ -1118,7 +1119,7 @@ msgstr "esconder mapa" #: searx/templates/simple/result_templates/paper.html:5 msgid "Published date" -msgstr "" +msgstr "Data de publicação" #: searx/templates/simple/result_templates/paper.html:9 msgid "Journal" @@ -1134,7 +1135,7 @@ msgstr "" #: searx/templates/simple/result_templates/paper.html:24 msgid "Type" -msgstr "" +msgstr "Tipo" #: searx/templates/simple/result_templates/paper.html:25 msgid "Tags" @@ -1142,23 +1143,23 @@ msgstr "" #: searx/templates/simple/result_templates/paper.html:26 msgid "DOI" -msgstr "" +msgstr "DOI" #: searx/templates/simple/result_templates/paper.html:27 msgid "ISSN" -msgstr "" +msgstr "ISSN" #: searx/templates/simple/result_templates/paper.html:28 msgid "ISBN" -msgstr "" +msgstr "ISBN" #: searx/templates/simple/result_templates/paper.html:33 msgid "PDF" -msgstr "" +msgstr "PDF" #: searx/templates/simple/result_templates/paper.html:34 msgid "HTML" -msgstr "" +msgstr "HTML" #: searx/templates/simple/result_templates/torrent.html:6 msgid "magnet link" @@ -1485,4 +1486,3 @@ msgstr "esconder vídeo" #~ "href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" #~ " rel=\"external\">aprender mais sobre métodos " #~ "de pedidos</a>" - diff --git a/searx/translations/pt_BR/LC_MESSAGES/messages.mo b/searx/translations/pt_BR/LC_MESSAGES/messages.mo Binary files differindex 208824882..6fb0b39ff 100644 --- a/searx/translations/pt_BR/LC_MESSAGES/messages.mo +++ b/searx/translations/pt_BR/LC_MESSAGES/messages.mo diff --git a/searx/translations/pt_BR/LC_MESSAGES/messages.po b/searx/translations/pt_BR/LC_MESSAGES/messages.po index 8e85c7221..29011849b 100644 --- a/searx/translations/pt_BR/LC_MESSAGES/messages.po +++ b/searx/translations/pt_BR/LC_MESSAGES/messages.po @@ -21,8 +21,8 @@ msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2022-09-28 07:29+0000\n" -"PO-Revision-Date: 2022-10-07 07:30+0000\n" -"Last-Translator: Yan Lyra <yanlyra3@gmail.com>\n" +"PO-Revision-Date: 2022-10-11 13:31+0000\n" +"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n" "Language-Team: Portuguese (Brazil) <https://weblate.bubu1.eu/projects/" "searxng/searxng/pt_BR/>\n" "Language: pt_BR\n" @@ -308,19 +308,19 @@ msgstr "Essa imagem não pode ser baixada." #: searx/engines/wttr.py:101 msgid "Morning" -msgstr "Manhã" +msgstr "manhã" #: searx/engines/wttr.py:101 msgid "Noon" -msgstr "Meio-dia" +msgstr "meio dia" #: searx/engines/wttr.py:101 msgid "Evening" -msgstr "Tarde" +msgstr "tarde" #: searx/engines/wttr.py:101 msgid "Night" -msgstr "Noite" +msgstr "noite" #: searx/plugins/hash_plugin.py:24 msgid "Converts strings to different hash digests." diff --git a/searx/translations/ru/LC_MESSAGES/messages.mo b/searx/translations/ru/LC_MESSAGES/messages.mo Binary files differindex 8f4816aa2..00af62001 100644 --- a/searx/translations/ru/LC_MESSAGES/messages.mo +++ b/searx/translations/ru/LC_MESSAGES/messages.mo diff --git a/searx/translations/ru/LC_MESSAGES/messages.po b/searx/translations/ru/LC_MESSAGES/messages.po index a0c8e261e..e5424d059 100644 --- a/searx/translations/ru/LC_MESSAGES/messages.po +++ b/searx/translations/ru/LC_MESSAGES/messages.po @@ -11,12 +11,14 @@ # John DOe <is-kir@ya.ru>, 2018 # Дмитрий Михирев, 2016-2017 # Markus Heiser <markus.heiser@darmarit.de>, 2022. +# Surepusofu Arutemu <crexlight@gmail.com>, 2022. +# No4vick <MineBor1@yandex.ru>, 2022. msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2022-09-28 07:29+0000\n" -"PO-Revision-Date: 2022-09-30 07:43+0000\n" +"PO-Revision-Date: 2022-10-14 07:38+0000\n" "Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n" "Language-Team: Russian <https://weblate.bubu1.eu/projects/searxng/searxng/ru/" ">\n" @@ -73,7 +75,7 @@ msgstr "Видео" #. CATEGORY_NAMES['IT'] #: searx/searxng.msg msgid "it" -msgstr "ИТ" +msgstr "IT" #. CATEGORY_NAMES['NEWS'] #: searx/searxng.msg @@ -138,7 +140,7 @@ msgstr "Веб" #. CATEGORY_GROUPS['SCIENTIFIC PUBLICATIONS'] #: searx/searxng.msg msgid "scientific publications" -msgstr "" +msgstr "научные публикации" #. STYLE_NAMES['AUTO'] #: searx/searxng.msg @@ -148,12 +150,12 @@ msgstr "автоматически" #. STYLE_NAMES['LIGHT'] #: searx/searxng.msg msgid "light" -msgstr "светлая" +msgstr "Светлая" #. STYLE_NAMES['DARK'] #: searx/searxng.msg msgid "dark" -msgstr "тёмная" +msgstr "Тёмная" #: searx/webapp.py:164 msgid "timeout" @@ -277,6 +279,8 @@ msgid "" "{numCitations} citations from the year {firstCitationVelocityYear} to " "{lastCitationVelocityYear}" msgstr "" +"{numCitations} цитирований с {firstCitationVelocityYear} года по " +"{lastCitationVelocityYear}" #: searx/engines/tineye.py:40 msgid "" @@ -293,8 +297,8 @@ msgid "" "The image is too simple to find matches. TinEye requires a basic level of" " visual detail to successfully identify matches." msgstr "" -"Изображение слишком простое для нахождения похожих. TinEye требует " -"базовый уровень визуальных деталей для успешной идентификации совпадений." +"Изображение слишком простое для нахождения похожих. TinEye требует базовый " +"уровень визуальных деталей для успешного определения совпадений." #: searx/engines/tineye.py:52 msgid "The image could not be downloaded." @@ -306,7 +310,7 @@ msgstr "Утро" #: searx/engines/wttr.py:101 msgid "Noon" -msgstr "" +msgstr "Полдень" #: searx/engines/wttr.py:101 msgid "Evening" @@ -314,11 +318,11 @@ msgstr "Вечер" #: searx/engines/wttr.py:101 msgid "Night" -msgstr "Ночная" +msgstr "Ночь" #: searx/plugins/hash_plugin.py:24 msgid "Converts strings to different hash digests." -msgstr "Рассчитывает контрольной суммы от строки." +msgstr "Рассчитывает контрольные суммы от строки." #: searx/plugins/hash_plugin.py:52 msgid "hash digest" @@ -340,7 +344,9 @@ msgstr "Искать Open Access DOI" msgid "" "Avoid paywalls by redirecting to open-access versions of publications " "when available" -msgstr "Пробовать искать бесплатную версию статьи" +msgstr "" +"Пробовать избегать платного доступа путём перенаправления на открытые версии " +"публикаций" #: searx/plugins/search_on_category_select.py:19 msgid "Search on category select" @@ -375,9 +381,9 @@ 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 "" -"Этот плагин проверяет не является ли запрошенный адрес выходным узлом " -"Tor'a, и информирует пользователя если это так, как check.torproject.org," -" но от searxng." +"Этот плагин проверяет, не является ли запрошенный адрес выходным узлом " +"Tor'a, и информирует пользователя, если это так, как check.torproject.org, " +"но от searxng." #: searx/plugins/tor_check.py:62 msgid "" @@ -397,7 +403,7 @@ msgstr "Вы не используете Tor. Ваш IP адрес может б #: searx/plugins/tracker_url_remover.py:29 msgid "Tracker URL remover" -msgstr "Убрать отслеживание" +msgstr "Убрать отслеживание URL" #: searx/plugins/tracker_url_remover.py:30 msgid "Remove trackers arguments from the returned URL" @@ -448,7 +454,7 @@ msgstr "Основано на" #: searx/templates/simple/base.html:64 msgid "a privacy-respecting, open metasearch engine" -msgstr "" +msgstr "открытая метапоисковая система, соблюдающая конфиденциальность" #: searx/templates/simple/base.html:65 msgid "Source code" @@ -508,7 +514,7 @@ msgstr "Пожалуйста проверьте ныне существующи #: searx/templates/simple/new_issue.html:69 msgid "I confirm there is no existing bug about the issue I encounter" msgstr "" -"Я подтверждаю, что не существует ошибки, связанной с встретившейся мне " +"Я подтверждаю, что не существует ошибки, связанной со встретившейся мне " "проблемой" #: searx/templates/simple/new_issue.html:71 @@ -643,7 +649,7 @@ msgstr "Язык интерфейса" #: searx/templates/simple/preferences.html:190 msgid "Change the language of the layout" -msgstr "Языка этого сайта" +msgstr "Изменить язык интерфейса" #: searx/templates/simple/preferences.html:195 msgid "Theme" @@ -683,7 +689,7 @@ msgstr "Отображать результаты по центру страни #: searx/templates/simple/preferences.html:229 msgid "Results on new tabs" -msgstr "Новые вкладки" +msgstr "Результаты в новых вкладках" #: searx/templates/simple/preferences.html:236 msgid "Open result links on new browser tabs" @@ -695,7 +701,8 @@ msgstr "Бесконечная прокрутка" #: searx/templates/simple/preferences.html:248 msgid "Automatically load next page when scrolling to bottom of current page" -msgstr "Автоматически загружать следующую страницу при прокрутке" +msgstr "" +"Автоматически загружать следующую страницу при прокрутке до конца страницы" #: searx/templates/simple/preferences.html:254 msgid "Privacy" @@ -776,7 +783,7 @@ msgstr "Сокращение" #: searx/templates/simple/preferences.html:310 msgid "Supports selected language" -msgstr "Выбор языка" +msgstr "Поддерживает выбранный язык" #: searx/templates/simple/filters/time_range.html:1 #: searx/templates/simple/preferences.html:312 @@ -868,7 +875,7 @@ msgid "" "Specifying custom settings in the preferences URL can be used to sync " "preferences across devices." msgstr "" -"Пользовательские настройки URL-адреса можно использовать для " +"URL-адреса с пользовательскими настройками можно использовать для " "синхронизации настроек между устройствами." #: searx/templates/simple/preferences.html:428 @@ -922,7 +929,7 @@ msgstr "Предложения" #: searx/templates/simple/results.html:90 msgid "Search URL" -msgstr "Ссылка на поиск" +msgstr "Ссылка поиска" #: searx/templates/simple/results.html:96 msgid "Download results" @@ -938,11 +945,11 @@ msgstr "Наверх" #: searx/templates/simple/results.html:170 msgid "Previous page" -msgstr "предыдущая страница" +msgstr "Предыдущая страница" #: searx/templates/simple/results.html:187 msgid "Next page" -msgstr "следующая страница" +msgstr "Следующая страница" #: searx/templates/simple/search.html:3 msgid "Display the front page" @@ -973,7 +980,7 @@ msgstr "Попаданий" #: searx/templates/simple/stats.html:27 msgid "Result count" -msgstr "Подсчёт результатов" +msgstr "Число результатов" #: searx/templates/simple/stats.html:59 msgid "Total" @@ -1057,11 +1064,11 @@ msgstr "Последний год" #: searx/templates/simple/messages/no_cookies.html:3 msgid "Information!" -msgstr "Информируем!" +msgstr "Информация!" #: searx/templates/simple/messages/no_cookies.html:4 msgid "currently, there are no cookies defined." -msgstr "в данный момент cookie-файлы не установлены." +msgstr "в данный момент cookie-файлы не определены." #: searx/templates/simple/messages/no_results.html:6 msgid "Engines cannot retrieve results." @@ -1070,7 +1077,7 @@ msgstr "Поисковые системы не могут получить ре #: searx/templates/simple/messages/no_results.html:15 msgid "Please, try again later or find another SearXNG instance." msgstr "" -"Пожалуйста, попробуйте еще раз позднее, либо перейдите на другое зеркало " +"Пожалуйста, попробуйте ещё раз позднее, либо перейдите на другое зеркало " "SearXNG." #: searx/templates/simple/messages/no_results.html:20 @@ -1082,8 +1089,8 @@ msgid "" "we didn't find any results. Please use another query or search in more " "categories." msgstr "" -"мы не нашли никаких результатов. Попробуйте изменить поисковый запрос или" -" поищите в других категориях." +"мы не нашли никаких результатов. Попробуйте изменить запрос или поищите в " +"других категориях." #: searx/templates/simple/result_templates/default.html:6 msgid "show media" @@ -1096,7 +1103,7 @@ msgstr "скрыть медиа" #: 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 "Этот сайт не предоставил какое-либо описание." +msgstr "Этот сайт не предоставил описания." #: searx/templates/simple/result_templates/images.html:19 msgid "Format" @@ -1124,19 +1131,19 @@ msgstr "скрыть карту" #: searx/templates/simple/result_templates/paper.html:5 msgid "Published date" -msgstr "" +msgstr "Дата публикации" #: searx/templates/simple/result_templates/paper.html:9 msgid "Journal" -msgstr "" +msgstr "Журнал" #: searx/templates/simple/result_templates/paper.html:22 msgid "Editor" -msgstr "" +msgstr "Редактор" #: searx/templates/simple/result_templates/paper.html:23 msgid "Publisher" -msgstr "" +msgstr "Издатель" #: searx/templates/simple/result_templates/paper.html:24 msgid "Type" @@ -1144,27 +1151,27 @@ msgstr "Тип" #: searx/templates/simple/result_templates/paper.html:25 msgid "Tags" -msgstr "" +msgstr "Теги" #: searx/templates/simple/result_templates/paper.html:26 msgid "DOI" -msgstr "" +msgstr "DOI" #: searx/templates/simple/result_templates/paper.html:27 msgid "ISSN" -msgstr "" +msgstr "ISSN" #: searx/templates/simple/result_templates/paper.html:28 msgid "ISBN" -msgstr "" +msgstr "ISBN" #: searx/templates/simple/result_templates/paper.html:33 msgid "PDF" -msgstr "" +msgstr "PDF" #: searx/templates/simple/result_templates/paper.html:34 msgid "HTML" -msgstr "" +msgstr "HTML" #: searx/templates/simple/result_templates/torrent.html:6 msgid "magnet link" @@ -1176,11 +1183,11 @@ msgstr "торрент-файл" #: searx/templates/simple/result_templates/torrent.html:9 msgid "Seeder" -msgstr "Раздают" +msgstr "Сиды" #: searx/templates/simple/result_templates/torrent.html:9 msgid "Leecher" -msgstr "Качают" +msgstr "Личи" #: searx/templates/simple/result_templates/torrent.html:11 msgid "Filesize" diff --git a/searx/translations/sv/LC_MESSAGES/messages.mo b/searx/translations/sv/LC_MESSAGES/messages.mo Binary files differindex 5970ed0bf..5cae94a02 100644 --- a/searx/translations/sv/LC_MESSAGES/messages.mo +++ b/searx/translations/sv/LC_MESSAGES/messages.mo diff --git a/searx/translations/sv/LC_MESSAGES/messages.po b/searx/translations/sv/LC_MESSAGES/messages.po index 85941c693..d5b74c94a 100644 --- a/searx/translations/sv/LC_MESSAGES/messages.po +++ b/searx/translations/sv/LC_MESSAGES/messages.po @@ -13,18 +13,19 @@ # sebstrgg <sebastian@wollter.nu>, 2022. msgid "" msgstr "" -"Project-Id-Version: searx\n" +"Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2022-09-28 07:29+0000\n" -"PO-Revision-Date: 2022-09-02 07:25+0000\n" +"PO-Revision-Date: 2022-10-14 07:38+0000\n" "Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n" +"Language-Team: Swedish <https://weblate.bubu1.eu/projects/searxng/searxng/sv/" +">\n" "Language: sv\n" -"Language-Team: Swedish " -"<https://weblate.bubu1.eu/projects/searxng/searxng/sv/>\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.14.1\n" "Generated-By: Babel 2.10.3\n" #. CONSTANT_NAMES['DEFAULT_GROUP_NAME'] @@ -135,7 +136,7 @@ msgstr "webb" #. CATEGORY_GROUPS['SCIENTIFIC PUBLICATIONS'] #: searx/searxng.msg msgid "scientific publications" -msgstr "" +msgstr "vetenskapliga publiceringar" #. STYLE_NAMES['AUTO'] #: searx/searxng.msg @@ -1481,4 +1482,3 @@ msgstr "göm video" #~ "href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" #~ " rel=\"external\">lär dig mera om " #~ "förfrågningsmetoder</a>" - diff --git a/searx/translations/tr/LC_MESSAGES/messages.mo b/searx/translations/tr/LC_MESSAGES/messages.mo Binary files differindex f5265200d..eeed44da7 100644 --- a/searx/translations/tr/LC_MESSAGES/messages.mo +++ b/searx/translations/tr/LC_MESSAGES/messages.mo diff --git a/searx/translations/tr/LC_MESSAGES/messages.po b/searx/translations/tr/LC_MESSAGES/messages.po index 3240ae8d8..4aaaa8f60 100644 --- a/searx/translations/tr/LC_MESSAGES/messages.po +++ b/searx/translations/tr/LC_MESSAGES/messages.po @@ -10,20 +10,22 @@ # Markus Heiser <markus.heiser@darmarit.de>, 2022. # 0xFFD <barann.afsarr@gmail.com>, 2022. # crazychicken1 <seymaomay1809@gmail.com>, 2022. +# Kayra Uylar <k.uylar@outlook.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-09-28 07:29+0000\n" -"PO-Revision-Date: 2022-08-19 07:18+0000\n" +"PO-Revision-Date: 2022-10-14 07:38+0000\n" "Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n" +"Language-Team: Turkish <https://weblate.bubu1.eu/projects/searxng/searxng/tr/" +">\n" "Language: tr\n" -"Language-Team: Turkish " -"<https://weblate.bubu1.eu/projects/searxng/searxng/tr/>\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.14.1\n" "Generated-By: Babel 2.10.3\n" #. CONSTANT_NAMES['DEFAULT_GROUP_NAME'] @@ -134,7 +136,7 @@ msgstr "ağ" #. CATEGORY_GROUPS['SCIENTIFIC PUBLICATIONS'] #: searx/searxng.msg msgid "scientific publications" -msgstr "" +msgstr "bilimsel yayınlar" #. STYLE_NAMES['AUTO'] #: searx/searxng.msg @@ -298,19 +300,19 @@ msgstr "Görsel indirilemedi." #: searx/engines/wttr.py:101 msgid "Morning" -msgstr "" +msgstr "Gündüz" #: searx/engines/wttr.py:101 msgid "Noon" -msgstr "" +msgstr "Öğlen" #: searx/engines/wttr.py:101 msgid "Evening" -msgstr "" +msgstr "Akşam" #: searx/engines/wttr.py:101 msgid "Night" -msgstr "" +msgstr "Gece" #: searx/plugins/hash_plugin.py:24 msgid "Converts strings to different hash digests." @@ -356,7 +358,7 @@ msgstr "" #: searx/plugins/self_info.py:20 msgid "Self Information" -msgstr "" +msgstr "kişisel bilgi" #: searx/plugins/self_info.py:21 msgid "" @@ -448,7 +450,7 @@ msgstr "Destekleyen" #: searx/templates/simple/base.html:64 msgid "a privacy-respecting, open metasearch engine" -msgstr "" +msgstr "Gizliliğiniz önemseyen, açık meta arama motoru" #: searx/templates/simple/base.html:65 msgid "Source code" @@ -1124,47 +1126,47 @@ msgstr "haritayı gizle" #: searx/templates/simple/result_templates/paper.html:5 msgid "Published date" -msgstr "" +msgstr "Yayınlanma tarihi" #: searx/templates/simple/result_templates/paper.html:9 msgid "Journal" -msgstr "" +msgstr "Günlük" #: searx/templates/simple/result_templates/paper.html:22 msgid "Editor" -msgstr "" +msgstr "Editör" #: searx/templates/simple/result_templates/paper.html:23 msgid "Publisher" -msgstr "" +msgstr "Yayımlayıcı" #: searx/templates/simple/result_templates/paper.html:24 msgid "Type" -msgstr "" +msgstr "Yaz" #: searx/templates/simple/result_templates/paper.html:25 msgid "Tags" -msgstr "" +msgstr "Etiketler" #: searx/templates/simple/result_templates/paper.html:26 msgid "DOI" -msgstr "" +msgstr "DOI" #: searx/templates/simple/result_templates/paper.html:27 msgid "ISSN" -msgstr "" +msgstr "ISSN" #: searx/templates/simple/result_templates/paper.html:28 msgid "ISBN" -msgstr "" +msgstr "ISBN" #: searx/templates/simple/result_templates/paper.html:33 msgid "PDF" -msgstr "" +msgstr "PDF" #: searx/templates/simple/result_templates/paper.html:34 msgid "HTML" -msgstr "" +msgstr "HTML" #: searx/templates/simple/result_templates/torrent.html:6 msgid "magnet link" @@ -1486,4 +1488,3 @@ msgstr "görüntüyü gizle" #~ "href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" #~ " rel=\"external\">istek yöntemleri hakkında daha" #~ " fazla bilgi edinin</a>" - diff --git a/searx/webapp.py b/searx/webapp.py index 688698bb6..5c3fbae8b 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -165,6 +165,7 @@ timeout_text = gettext('timeout') parsing_error_text = gettext('parsing error') http_protocol_error_text = gettext('HTTP protocol error') network_error_text = gettext('network error') +ssl_cert_error_text = gettext("SSL error: certificate validation has failed") exception_classname_to_text = { None: gettext('unexpected crash'), 'timeout': timeout_text, @@ -189,6 +190,8 @@ exception_classname_to_text = { 'KeyError': parsing_error_text, 'json.decoder.JSONDecodeError': parsing_error_text, 'lxml.etree.ParserError': parsing_error_text, + 'ssl.SSLCertVerificationError': ssl_cert_error_text, # for Python > 3.7 + 'ssl.CertificateError': ssl_cert_error_text, # for Python 3.7 } |