Add "si" to LANG_INFO

cf https://github.com/django/django/blob/master/django/conf/locale/__init__.py#L10

"get_language_info_list" would not run otherwise.
This commit is contained in:
Yohan Boniface 2020-03-09 09:27:01 +01:00
parent ab122d6de2
commit 4a43b870c1

View file

@ -25,6 +25,12 @@ LANG_INFO.update({
'name': 'Chinese', 'name': 'Chinese',
'name_local': '简体中文', 'name_local': '简体中文',
}, },
'si': {
'bidi': False,
'code': 'si',
'name': 'Sinhala',
'name_local': 'සිංහල',
},
}) })
# Local time zone for this installation. Choices can be found here: # Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name