diff options
Diffstat (limited to 'utils/update_languages.py')
-rw-r--r-- | utils/update_languages.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/update_languages.py b/utils/update_languages.py index 193c19278..cc3fa29cc 100644 --- a/utils/update_languages.py +++ b/utils/update_languages.py @@ -35,7 +35,9 @@ languages = {} # To filter out invalid codes and dialects. def valid_code(lang_code): # filter invalid codes + # sl-SL is technically not invalid, but still a mistake if lang_code[:2] == 'xx'\ + or lang_code == 'sl-SL'\ or lang_code == 'jw'\ or lang_code[-2:] == 'UK'\ or lang_code[-2:] == 'XA'\ |