From 6ca89e13198ed3b1e67e8f8209022affc4377603 Mon Sep 17 00:00:00 2001 From: return42 Date: Fri, 29 Nov 2024 00:14:40 +0000 Subject: [PATCH] [data] update searx.data - update_engine_traits.py --- searx/data/engine_traits.json | 21 ++++++++++++++------- searx/sxng_locales.py | 1 + 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/searx/data/engine_traits.json b/searx/data/engine_traits.json index aa7f36718..f0c818f38 100644 --- a/searx/data/engine_traits.json +++ b/searx/data/engine_traits.json @@ -3,6 +3,7 @@ "all_locale": "", "custom": { "content": [ + "audiobook", "book_comic", "book_fiction", "book_nonfiction", @@ -36,18 +37,17 @@ "data_type": "traits_v1", "languages": { "af": "af", - "an": "an", "ar": "ar", + "az": "az", + "ba": "ba", "be": "be", "bg": "bg", "bn": "bn", "bo": "bo", "ca": "ca", "cs": "cs", - "cy": "cy", "da": "da", "de": "de", - "dz": "dz", "el": "el", "en": "en", "eo": "eo", @@ -63,6 +63,7 @@ "hi": "hi", "hr": "hr", "hu": "hu", + "hy": "hy", "id": "id", "it": "it", "ja": "ja", @@ -73,7 +74,6 @@ "ko": "ko", "ky": "ky", "la": "la", - "lb": "lb", "lt": "lt", "lv": "lv", "ml": "ml", @@ -82,21 +82,25 @@ "ms": "ms", "nl": "nl", "no": "no", + "pa": "pa", "pl": "pl", "pt": "pt", "qu": "qu", "ro": "ro", "ru": "ru", "rw": "rw", - "sa": "sa", - "se": "se", + "shn": "shn", "sk": "sk", "sl": "sl", + "sq": "sq", "sr": "sr", "sv": "sv", + "sw": "sw", "ta": "ta", + "te": "te", "th": "th", "tr": "tr", + "ug": "ug", "uk": "uk", "ur": "ur", "vi": "vi", @@ -1638,6 +1642,7 @@ "hu": "hu", "id": "id", "it": "it", + "ja-JP": "ja-jp", "ko": "ko", "lt": "lt", "lv": "lv", @@ -1739,6 +1744,7 @@ "hu": "hu", "id": "id", "it": "it", + "ja-JP": "ja-jp", "ko": "ko", "lt": "lt", "lv": "lv", @@ -1840,6 +1846,7 @@ "hu": "hu", "id": "id", "it": "it", + "ja-JP": "ja-jp", "ko": "ko", "lt": "lt", "lv": "lv", @@ -1941,6 +1948,7 @@ "hu": "hu", "id": "id", "it": "it", + "ja-JP": "ja-jp", "ko": "ko", "lt": "lt", "lv": "lv", @@ -7146,7 +7154,6 @@ "te": "telugu", "tg": "tajik", "th": "thai", - "ti": "tigrinya", "tk": "turkmen", "tr": "turkish", "tt": "tatar", diff --git a/searx/sxng_locales.py b/searx/sxng_locales.py index bcbf8029e..2ff2b2cd6 100644 --- a/searx/sxng_locales.py +++ b/searx/sxng_locales.py @@ -98,6 +98,7 @@ sxng_locales = ( ('sv', 'Svenska', '', 'Swedish', '\U0001f310'), ('sv-SE', 'Svenska', 'Sverige', 'Swedish', '\U0001f1f8\U0001f1ea'), ('ta', 'தமிழ்', '', 'Tamil', '\U0001f310'), + ('te', 'తెలుగు', '', 'Telugu', '\U0001f310'), ('th', 'ไทย', '', 'Thai', '\U0001f310'), ('th-TH', 'ไทย', 'ไทย', 'Thai', '\U0001f1f9\U0001f1ed'), ('tr', 'Türkçe', '', 'Turkish', '\U0001f310'),