diff options
| -rw-r--r-- | searx/engines/__init__.py | 2 | ||||
| -rw-r--r-- | searx/locales.py | 2 | ||||
| -rw-r--r-- | searx/search/processors/abstract.py | 2 | ||||
| -rw-r--r-- | searx/translations/nl/LC_MESSAGES/messages.mo | bin | 17900 -> 18193 bytes | |||
| -rw-r--r-- | searx/translations/nl/LC_MESSAGES/messages.po | 19 | ||||
| -rw-r--r-- | searx/translations/pt_BR/LC_MESSAGES/messages.mo | bin | 18485 -> 18615 bytes | |||
| -rw-r--r-- | searx/translations/pt_BR/LC_MESSAGES/messages.po | 8 |
7 files changed, 18 insertions, 15 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index c9026f96d..a2db26816 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -95,7 +95,7 @@ def load_engine(engine_data: dict) -> Optional[Engine]: return None if engine_name.lower() != engine_name: - logger.warn('Engine name is not lowercase: "{}", converting to lowercase'.format(engine_name)) + logger.warning('Engine name is not lowercase: "{}", converting to lowercase'.format(engine_name)) engine_name = engine_name.lower() engine_data['name'] = engine_name diff --git a/searx/locales.py b/searx/locales.py index c765eb198..12066f3d7 100644 --- a/searx/locales.py +++ b/searx/locales.py @@ -460,7 +460,7 @@ def build_engine_locales(tag_list: List[str]): for tag in tag_list: locale = get_locale(tag) if locale is None: - logger.warn("build_engine_locales: skip locale tag %s / unknown by babel", tag) + logger.warning("build_engine_locales: skip locale tag %s / unknown by babel", tag) continue if locale.territory: engine_locales[region_tag(locale)] = tag diff --git a/searx/search/processors/abstract.py b/searx/search/processors/abstract.py index 5f1882ca4..ace730e54 100644 --- a/searx/search/processors/abstract.py +++ b/searx/search/processors/abstract.py @@ -74,7 +74,7 @@ class EngineProcessor(ABC): try: self.engine.init(get_engine_from_settings(self.engine_name)) except SearxEngineResponseException as exc: - self.logger.warn('Fail to initialize // %s', exc) + self.logger.warning('Fail to initialize // %s', exc) except Exception: # pylint: disable=broad-except self.logger.exception('Fail to initialize') else: diff --git a/searx/translations/nl/LC_MESSAGES/messages.mo b/searx/translations/nl/LC_MESSAGES/messages.mo Binary files differindex 1358fc282..95f18f75c 100644 --- a/searx/translations/nl/LC_MESSAGES/messages.mo +++ b/searx/translations/nl/LC_MESSAGES/messages.mo diff --git a/searx/translations/nl/LC_MESSAGES/messages.po b/searx/translations/nl/LC_MESSAGES/messages.po index 2c871eb9a..cddb866f2 100644 --- a/searx/translations/nl/LC_MESSAGES/messages.po +++ b/searx/translations/nl/LC_MESSAGES/messages.po @@ -15,26 +15,28 @@ # Max Westen <max@maxwesten.nl>, 2023. # gjveld <gjveld@gmail.com>, 2023. # Vistaus <vistausss@fastmail.com>, 2023. +# return42 <markus.heiser@darmarit.de>, 2023. msgid "" msgstr "" -"Project-Id-Version: searx\n" +"Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2023-04-08 09:24+0000\n" -"PO-Revision-Date: 2023-04-01 14:37+0000\n" -"Last-Translator: Vistaus <vistausss@fastmail.com>\n" +"PO-Revision-Date: 2023-05-14 05:37+0000\n" +"Last-Translator: return42 <markus.heiser@darmarit.de>\n" +"Language-Team: Dutch <https://translate.codeberg.org/projects/searxng/" +"searxng/nl/>\n" "Language: nl\n" -"Language-Team: Dutch " -"<https://translate.codeberg.org/projects/searxng/searxng/nl/>\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.17\n" "Generated-By: Babel 2.12.1\n" #. CONSTANT_NAMES['NO_SUBGROUPING'] #: searx/searxng.msg msgid "without further subgrouping" -msgstr "" +msgstr "zonder verdere onderverdeling" #. CONSTANT_NAMES['DEFAULT_CATEGORY'] #: searx/searxng.msg @@ -796,6 +798,8 @@ msgid "" "This tab dues not exists in the user interface, but you can search in " "these engines by its !bangs." msgstr "" +"Deze tab bestaat niet in de gebruikers omgeving, maar u kunt in deze " +"machines zoeken via hun !bang." #: searx/templates/simple/preferences.html:311 #: searx/templates/simple/preferences.html:365 @@ -1596,4 +1600,3 @@ msgstr "verberg video" #~ msgid "!bang" #~ msgstr "" - diff --git a/searx/translations/pt_BR/LC_MESSAGES/messages.mo b/searx/translations/pt_BR/LC_MESSAGES/messages.mo Binary files differindex 23774e052..0ee8a6227 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 310dd5c1e..718d1eb70 100644 --- a/searx/translations/pt_BR/LC_MESSAGES/messages.po +++ b/searx/translations/pt_BR/LC_MESSAGES/messages.po @@ -25,7 +25,7 @@ msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2023-04-08 09:24+0000\n" -"PO-Revision-Date: 2023-04-14 06:37+0000\n" +"PO-Revision-Date: 2023-05-14 05:37+0000\n" "Last-Translator: return42 <markus.heiser@darmarit.de>\n" "Language-Team: Portuguese (Brazil) <https://translate.codeberg.org/projects/" "searxng/searxng/pt_BR/>\n" @@ -34,7 +34,7 @@ msgstr "" "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.16.4\n" +"X-Generator: Weblate 4.17\n" "Generated-By: Babel 2.12.1\n" #. CONSTANT_NAMES['NO_SUBGROUPING'] @@ -554,11 +554,11 @@ msgstr "Ver o registros de erros e enviar um relatório" #: searx/templates/simple/preferences.html:35 msgid "!bang for this engine" -msgstr "" +msgstr "!bang para esse serviço" #: searx/templates/simple/preferences.html:36 msgid "!bang for its categories" -msgstr "" +msgstr "!bang para essa categoria" #: searx/templates/simple/preferences.html:54 #: searx/templates/simple/stats.html:64 |