统一语言配置位置
支持langs继承
支持归类
This commit is contained in:
undefined committed 2021-05-07 20:00:04 +08:00
1 parent 5902b4d4b6
commit 377ef55d49
27 files changed
+253 -658

No files matched your search

-18
View File
@@ -519,23 +519,6 @@ export const CATEGORIES = {
],
};
export const LANG_TEXTS = {
c: 'C',
cc: 'C++',
cs: 'C#',
pas: 'Pascal',
java: 'Java',
py: 'Python',
py3: 'Python 3',
php: 'PHP',
rs: 'Rust',
hs: 'Haskell',
js: 'JavaScript',
go: 'Go',
rb: 'Ruby',
jl: 'Julia',
};
global.Hydro.model.builtin = {
Permission,
PERM,
@@ -547,7 +530,6 @@ global.Hydro.model.builtin = {
BUILTIN_ROLES,
DEFAULT_NODES,
CATEGORIES,
LANG_TEXTS,
STATUS,
STATUS_TEXTS,
STATUS_CODES,