🐛 Add missing comma
This commit is contained in:
parent
09086f986a
commit
7af19fae31
1 changed files with 18 additions and 16 deletions
|
@ -20,25 +20,27 @@
|
||||||
|
|
||||||
"""Defines a dict of all available locales to the language name"""
|
"""Defines a dict of all available locales to the language name"""
|
||||||
|
|
||||||
OFFSET = 127462 - ord('A')
|
OFFSET = 127462 - ord("A")
|
||||||
|
|
||||||
|
|
||||||
def flag(code):
|
def flag(code):
|
||||||
return chr(ord(code[0]) + OFFSET) + chr(ord(code[1]) + OFFSET)
|
return chr(ord(code[0]) + OFFSET) + chr(ord(code[1]) + OFFSET)
|
||||||
|
|
||||||
|
|
||||||
available_locales = {'en_US': flag('US') + ' English (US)',
|
available_locales = {
|
||||||
'de_DE': flag('DE') + ' Deutsch (DE)',
|
"en_US": flag("US") + " English (US)",
|
||||||
'es_ES': flag('ES') + ' Español (ES)',
|
"de_DE": flag("DE") + " Deutsch (DE)",
|
||||||
'id_ID': flag('ID') + ' Bahasa Indonesia',
|
"es_ES": flag("ES") + " Español (ES)",
|
||||||
'it_IT': flag('IT') + ' Italiano',
|
"id_ID": flag("ID") + " Bahasa Indonesia",
|
||||||
'pt_BR': flag('BR') + ' Português Brasileiro',
|
"it_IT": flag("IT") + " Italiano",
|
||||||
'ru_RU': flag('RU') + ' Русский язык',
|
"pt_BR": flag("BR") + " Português Brasileiro",
|
||||||
'tr_TR': flag('TR') + ' Türkçe',
|
"ru_RU": flag("RU") + " Русский язык",
|
||||||
'zh_CN': flag('CN') + ' 中文(简体)',
|
"tr_TR": flag("TR") + " Türkçe",
|
||||||
'zh_HK': flag('HK') + ' 廣東話',
|
"zh_CN": flag("CN") + " 中文(简体)",
|
||||||
'zh_TW': flag('TW') + ' 中文(台灣)',
|
"zh_HK": flag("HK") + " 廣東話",
|
||||||
'ca_CA': flag('ES') + ' Catalan',
|
"zh_TW": flag("TW") + " 中文(台灣)",
|
||||||
'ml_IN': flag('IN') + ' Malayalam',
|
"ca_CA": flag("ES") + " Catalan",
|
||||||
'vi_VN': flag('VN') + ' Việt Nam'
|
"ml_IN": flag("IN") + " Malayalam",
|
||||||
'hn_IN': flag('IN') + ' Hindi'}
|
"vi_VN": flag("VN") + " Việt Nam",
|
||||||
|
"hn_IN": flag("IN") + " Hindi",
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue