Sort update components

This commit is contained in:
Gres 2020-04-12 17:25:36 +03:00
parent 0b0b0cb09c
commit 250feb9bc5
2 changed files with 4 additions and 2 deletions

View File

@ -78,7 +78,8 @@ for d in it:
print(',"hunspell": {')
comma = ''
unknown_names = []
for lang, file_names in files.items():
for lang in sorted(files.keys()):
file_names = files[lang]
if not lang in language_names:
unknown_names.append(lang)
continue

View File

@ -41,7 +41,8 @@ for f in it:
print(',"recognizers": {')
comma = ''
unknown_names = []
for name, file_names in files.items():
for name in sorted(files.keys()):
file_names = files[name]
if not name in language_names:
unknown_names.append(name)
else: