Musicreater/languages/lang.py

21 lines
430 B
Python
Raw Normal View History

2022-01-03 20:45:25 +08:00
# -*- coding:utf-8 -*-
2022-01-19 10:46:20 +08:00
DEFAULTLANGUAGE = 'zh-CN'
2022-01-03 20:45:25 +08:00
2022-01-15 00:40:17 +08:00
LANGUAGELIST = {
2022-01-19 10:46:20 +08:00
'zh-CN': (
2022-01-15 00:40:17 +08:00
"简体中文 中国大陆",
"Simplified Chinese, China Mainland",
),
2022-01-19 10:46:20 +08:00
'en-GB': (
2022-01-15 00:40:17 +08:00
"英式英语 大不列颠",
"British English, Great Britain",
),
}
if DEFAULTLANGUAGE == 'zh-CN':
from languages.zhCN import READABLETEXT
elif DEFAULTLANGUAGE == 'en-GB':
from languages.enGB import READABLETEXT