diff options
author | Alexandre Flament <alex@al-f.net> | 2021-08-02 09:01:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 09:01:57 +0200 |
commit | b6711ba0ad8eb12347a9492920f55876b58c8643 (patch) | |
tree | fccdca56ae27e546be990bb09cebbc52e4117b45 | |
parent | 0fc1dcbfa5a93b16f3c33d1c114c9cd539f59f19 (diff) | |
parent | 274edd523c73126576f2b6d704171440ab1b2907 (diff) | |
download | searxng-b6711ba0ad8eb12347a9492920f55876b58c8643.tar.gz searxng-b6711ba0ad8eb12347a9492920f55876b58c8643.zip |
Merge pull request #241 from searxng/update_data_update_languages.py
Update searx.data - update_languages.py
-rw-r--r-- | searx/data/engines_languages.json | 16 | ||||
-rw-r--r-- | searx/languages.py | 1 | ||||
-rwxr-xr-x | searx_extra/update/update_languages.py | 2 |
3 files changed, 17 insertions, 2 deletions
diff --git a/searx/data/engines_languages.json b/searx/data/engines_languages.json index a64918959..2e861e1e6 100644 --- a/searx/data/engines_languages.json +++ b/searx/data/engines_languages.json @@ -26142,6 +26142,10 @@ "english_name": "Danish", "name": "Dansk" }, + "dag": { + "english_name": "Dagbani", + "name": "Dagbanli" + }, "de": { "english_name": "German", "name": "Deutsch" @@ -26866,6 +26870,10 @@ "english_name": "Serbo-Croatian", "name": "Srpskohrvatski / \u0421\u0440\u043f\u0441\u043a\u043e\u0445\u0440\u0432\u0430\u0442\u0441\u043a\u0438" }, + "shi": { + "english_name": "Tachelhit", + "name": "Tacl\u1e25it" + }, "shn": { "english_name": "Shan", "name": "\u101c\u102d\u1075\u103a\u1088\u1010\u1086\u1038" @@ -27384,6 +27392,10 @@ "english_name": "Danish", "name": "Dansk" }, + "dag": { + "english_name": "Dagbani", + "name": "Dagbanli" + }, "de": { "english_name": "German", "name": "Deutsch" @@ -28108,6 +28120,10 @@ "english_name": "Serbo-Croatian", "name": "Srpskohrvatski / \u0421\u0440\u043f\u0441\u043a\u043e\u0445\u0440\u0432\u0430\u0442\u0441\u043a\u0438" }, + "shi": { + "english_name": "Tachelhit", + "name": "Tacl\u1e25it" + }, "shn": { "english_name": "Shan", "name": "\u101c\u102d\u1075\u103a\u1088\u1010\u1086\u1038" diff --git a/searx/languages.py b/searx/languages.py index f9c9f65e1..5f52d03f3 100644 --- a/searx/languages.py +++ b/searx/languages.py @@ -38,7 +38,6 @@ language_codes = \ ('he-IL', 'עברית', '', 'Hebrew'), ('hr-HR', 'Hrvatski', '', 'Croatian'), ('hu-HU', 'Magyar', '', 'Hungarian'), - ('hy-AM', 'Հայերեն', '', 'Armenian'), ('id-ID', 'Indonesia', '', 'Indonesian'), ('is-IS', 'Íslenska', '', 'Icelandic'), ('it-IT', 'Italiano', '', 'Italian'), diff --git a/searx_extra/update/update_languages.py b/searx_extra/update/update_languages.py index 1b43e01af..3f8a989eb 100755 --- a/searx_extra/update/update_languages.py +++ b/searx_extra/update/update_languages.py @@ -109,7 +109,7 @@ def join_language_lists(engines_languages): # Filter language list so it only includes the most supported languages and countries def filter_language_list(all_languages): - min_engines_per_lang = 15 + min_engines_per_lang = 13 min_engines_per_country = 10 main_engines = [engine_name for engine_name in engines.keys() if 'general' in engines[engine_name].categories and |