Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit ee4bc6b2 authored by Markus Heiser's avatar Markus Heiser Committed by GitHub
Browse files

Merge pull request #1479 from searxng/translations_update

Update translations
parents 2864a67c f90aed7e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ RTL_LOCALES: Set[str] = set()
ADDITIONAL_TRANSLATIONS = {
    "oc": "Occitan",
    "szl": "Ślōnski (Silesian)",
    "pap": "Papiamento",
}
"""Additional languages SearXNG has translations for but not supported by
python-babel (see :py:obj:`locales_initialize`)."""
@@ -41,6 +42,7 @@ LOCALE_BEST_MATCH = {
    "szl": "pl",
    "nl-BE": "nl",
    "zh-HK": "zh-Hant-TW",
    "pap": "pt-BR",
}
"""Map a locale we do not have a translations for to a locale we have a
translation for. By example: use Taiwan version of the translation for Hong
@@ -79,6 +81,9 @@ def get_translations():
    if has_request_context() and flask.request.form.get('use-translation') == 'szl':
        babel_ext = flask_babel.current_app.extensions['babel']
        return Translations.load(next(babel_ext.translation_directories), 'szl')
    if has_request_context() and flask.request.form.get('use-translation') == 'pap':
        babel_ext = flask_babel.current_app.extensions['babel']
        return Translations.load(next(babel_ext.translation_directories), 'pap')
    return _flask_babel_get_translations()


+159 B (10.6 KiB)

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+10 −9
Original line number Diff line number Diff line
@@ -6,21 +6,23 @@
# ButterflyOfFire ButterflyOfFire, 2018
# ButterflyOfFire, 2018
# d506c013dc1b502e7a53f91ebcbf8f29_985b4b3, 2017-2018
# 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-02 08:59+0000\n"
"PO-Revision-Date: 2022-05-06 07:18+0000\n"
"PO-Revision-Date: 2022-07-08 07:17+0000\n"
"Last-Translator: Markus Heiser <markus.heiser@darmarit.de>\n"
"Language-Team: Arabic <https://weblate.bubu1.eu/projects/searxng/searxng/ar/>"
"\n"
"Language: ar\n"
"Language-Team: Arabic "
"<https://weblate.bubu1.eu/projects/searxng/searxng/ar/>\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : "
"n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"X-Generator: Weblate 4.13.1\n"
"Generated-By: Babel 2.10.3\n"

#. CONSTANT_NAMES['DEFAULT_GROUP_NAME']
@@ -254,7 +256,7 @@ msgstr "{title} (قديما)"

#: searx/engines/pdbe.py:103
msgid "This entry has been superseded by"
msgstr ""
msgstr "هذا الإدخال تم استبداله بـ"

#: searx/engines/pubmed.py:78
msgid "No abstract is available for this publication."
@@ -302,7 +304,7 @@ msgstr ""

#: searx/plugins/self_info.py:20
msgid "Self Informations"
msgstr ""
msgstr "معلومات شخصية"

#: searx/plugins/self_info.py:21
msgid ""
@@ -1294,4 +1296,3 @@ msgstr "إخفاء الفيديو"

#~ msgid "preferences"
#~ msgstr "التفضيلات"
−11 B (18.1 KiB)

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+7 −7
Original line number Diff line number Diff line
@@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2022-07-02 08:59+0000\n"
"PO-Revision-Date: 2022-07-02 09:00+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']
@@ -249,7 +250,7 @@ msgstr "Вземете упътвания"

#: searx/engines/pdbe.py:96
msgid "{title} (OBSOLETE)"
msgstr "{заглавие} (ОСТАРЯЛО)"
msgstr "{title} (ОСТАРЯЛО)"

#: searx/engines/pdbe.py:103
msgid "This entry has been superseded by"
@@ -1317,4 +1318,3 @@ msgstr "скрий видеото"

#~ msgid "preferences"
#~ msgstr "предпочитания"
Loading