mirror of https://github.com/searxng/searxng.git
Merge pull request #241 from searxng/update_data_update_languages.py
Update searx.data - update_languages.py
This commit is contained in:
commit
b6711ba0ad
|
@ -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"
|
||||
|
|
|
@ -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'),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue