NFLmusic库文件
This commit is contained in:
60
nflmusic/theme_language.py
Normal file
60
nflmusic/theme_language.py
Normal file
@ -0,0 +1,60 @@
|
||||
themename = {
|
||||
"简体中文": {
|
||||
"颗粒": "alt",
|
||||
"白云": "yeti",
|
||||
"冷静": "superhero",
|
||||
"黑夜": "darkly",
|
||||
"光泽": "xpnative",
|
||||
"圆润": "vista",
|
||||
"魔法": "cyborg",
|
||||
"默认": "default",
|
||||
"圣洁": "litera",
|
||||
"宇宙": "solar",
|
||||
"微醺": "journal",
|
||||
"海洋": "lumen",
|
||||
"直率": "flatly",
|
||||
"热烈": "united",
|
||||
"黯淡": "clam",
|
||||
"玄幻": "pulse",
|
||||
"天空": "morph",
|
||||
"方块": "winnative",
|
||||
"缤纷": "cosmo",
|
||||
"自然": "minty",
|
||||
"砂岩": "sandstone",
|
||||
"经典": "classic"
|
||||
},
|
||||
"English(US)": {
|
||||
"Alt": "alt",
|
||||
"Cloud": "yeti",
|
||||
"Calm": "superhero",
|
||||
"Dark": "darkly",
|
||||
"Xpnative": "xpnative",
|
||||
"Round": "vista",
|
||||
"Magic": "cyborg",
|
||||
"Default": "default",
|
||||
"Light": "litera",
|
||||
"Universe": "solar",
|
||||
"Wine": "journal",
|
||||
"Ocean": "lumen",
|
||||
"Direct": "flatly",
|
||||
"Hot": "united",
|
||||
"Dim": "clam",
|
||||
"Fantasy": "pulse",
|
||||
"Sky": "morph",
|
||||
"Blocks": "winnative",
|
||||
"Colorful": "cosmo",
|
||||
"Nature": "minty",
|
||||
"Sandstone": "sandstone",
|
||||
"Classic": "classic"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
def get(lang):
|
||||
return themename[lang]
|
||||
|
||||
|
||||
def catch(lang, key):
|
||||
for find in themename[lang].keys():
|
||||
if key == themename[lang][find]:
|
||||
return find
|
Reference in New Issue
Block a user