1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

Merge pull request #241 from searxng/update_data_update_languages.py

Update searx.data - update_languages.py
This commit is contained in:
Alexandre Flament 2021-08-02 09:01:57 +02:00 committed by GitHub
commit b6711ba0ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 2 deletions

View File

@ -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"

View File

@ -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'),

View File

@ -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