From 1449824165c53c04d6c825515fc2d707cd5b4907 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 25 Jun 2024 15:12:54 +0200 Subject: [PATCH] [data] update searx.data - update_engine_traits.py $ make data.traits Last GH action has been failed [1], the bugfixes from - https://github.com/searxng/searxng/pull/3611 - https://github.com/searxng/searxng/pull/3612 were necessary to update the data. [1] https://github.com/searxng/searxng/actions/runs/9278028691/job/25528337485 Signed-off-by: Markus Heiser --- searx/data/engine_traits.json | 53 +++++++++++++++++++++++++++++++---- searx/sxng_locales.py | 1 + 2 files changed, 49 insertions(+), 5 deletions(-) diff --git a/searx/data/engine_traits.json b/searx/data/engine_traits.json index 413d98ae0..19abf0755 100644 --- a/searx/data/engine_traits.json +++ b/searx/data/engine_traits.json @@ -68,6 +68,7 @@ "jv": "jv", "ka": "ka", "kk": "kk", + "kn": "kn", "ko": "ko", "la": "la", "lb": "lb", @@ -90,7 +91,6 @@ "sr": "sr", "sv": "sv", "ta": "ta", - "th": "th", "tr": "tr", "uk": "uk", "ur": "ur", @@ -1745,14 +1745,17 @@ "all_locale": "all", "custom": { "ui_lang": { + "bg": "bg", "ca": "ca", "cs": "cs", + "da": "da", "de-DE": "de-de", "el": "el", "en-CA": "en-ca", "en-GB": "en-gb", "en-US": "en-us", "es": "es", + "et": "et", "fi-FI": "fi-fi", "fr-CA": "fr-ca", "fr-FR": "fr-fr", @@ -1760,13 +1763,20 @@ "hu": "hu", "it": "it", "ja-JP": "ja-jp", + "lt": "lt", + "lv": "lv", + "nb": "nb", "nl": "nl", "pl": "pl", "pt-BR": "pt-br", "ro": "ro", + "sk": "sk", + "sl": "sl", "sq-AL": "sq-al", + "sv": "sv", "sw-KE": "sw-ke", - "tr": "tr" + "tr": "tr", + "uk": "uk" } }, "data_type": "traits_v1", @@ -1826,14 +1836,17 @@ "all_locale": "all", "custom": { "ui_lang": { + "bg": "bg", "ca": "ca", "cs": "cs", + "da": "da", "de-DE": "de-de", "el": "el", "en-CA": "en-ca", "en-GB": "en-gb", "en-US": "en-us", "es": "es", + "et": "et", "fi-FI": "fi-fi", "fr-CA": "fr-ca", "fr-FR": "fr-fr", @@ -1841,13 +1854,20 @@ "hu": "hu", "it": "it", "ja-JP": "ja-jp", + "lt": "lt", + "lv": "lv", + "nb": "nb", "nl": "nl", "pl": "pl", "pt-BR": "pt-br", "ro": "ro", + "sk": "sk", + "sl": "sl", "sq-AL": "sq-al", + "sv": "sv", "sw-KE": "sw-ke", - "tr": "tr" + "tr": "tr", + "uk": "uk" } }, "data_type": "traits_v1", @@ -1907,14 +1927,17 @@ "all_locale": "all", "custom": { "ui_lang": { + "bg": "bg", "ca": "ca", "cs": "cs", + "da": "da", "de-DE": "de-de", "el": "el", "en-CA": "en-ca", "en-GB": "en-gb", "en-US": "en-us", "es": "es", + "et": "et", "fi-FI": "fi-fi", "fr-CA": "fr-ca", "fr-FR": "fr-fr", @@ -1922,13 +1945,20 @@ "hu": "hu", "it": "it", "ja-JP": "ja-jp", + "lt": "lt", + "lv": "lv", + "nb": "nb", "nl": "nl", "pl": "pl", "pt-BR": "pt-br", "ro": "ro", + "sk": "sk", + "sl": "sl", "sq-AL": "sq-al", + "sv": "sv", "sw-KE": "sw-ke", - "tr": "tr" + "tr": "tr", + "uk": "uk" } }, "data_type": "traits_v1", @@ -1988,14 +2018,17 @@ "all_locale": "all", "custom": { "ui_lang": { + "bg": "bg", "ca": "ca", "cs": "cs", + "da": "da", "de-DE": "de-de", "el": "el", "en-CA": "en-ca", "en-GB": "en-gb", "en-US": "en-us", "es": "es", + "et": "et", "fi-FI": "fi-fi", "fr-CA": "fr-ca", "fr-FR": "fr-fr", @@ -2003,13 +2036,20 @@ "hu": "hu", "it": "it", "ja-JP": "ja-jp", + "lt": "lt", + "lv": "lv", + "nb": "nb", "nl": "nl", "pl": "pl", "pt-BR": "pt-br", "ro": "ro", + "sk": "sk", + "sl": "sl", "sq-AL": "sq-al", + "sv": "sv", "sw-KE": "sw-ke", - "tr": "tr" + "tr": "tr", + "uk": "uk" } }, "data_type": "traits_v1", @@ -6200,6 +6240,7 @@ "MQ", "MT", "MU", + "MV", "MW", "MX", "MY", @@ -6212,6 +6253,7 @@ "NL", "NO", "NP", + "NU", "NZ", "OM", "PA", @@ -6746,6 +6788,7 @@ "bpy", "br", "bs", + "btm", "bug", "bxr", "ca", diff --git a/searx/sxng_locales.py b/searx/sxng_locales.py index 0c45d05c1..d6f4f71fd 100644 --- a/searx/sxng_locales.py +++ b/searx/sxng_locales.py @@ -56,6 +56,7 @@ sxng_locales = ( ('fr-CA', 'Français', 'Canada', 'French', '\U0001f1e8\U0001f1e6'), ('fr-CH', 'Français', 'Suisse', 'French', '\U0001f1e8\U0001f1ed'), ('fr-FR', 'Français', 'France', 'French', '\U0001f1eb\U0001f1f7'), + ('gl', 'Galego', '', 'Galician', '\U0001f310'), ('he', 'עברית', '', 'Hebrew', '\U0001f1ee\U0001f1f1'), ('hi', 'हिन्दी', '', 'Hindi', '\U0001f310'), ('hr', 'Hrvatski', '', 'Croatian', '\U0001f310'),