mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 17:46:28 +08:00
界面语言切换功能,修复nav异常
This commit is contained in:
1 parent
7e7dee4074
commit
0923d6e72b
16 files changed
+53
-36
No files matched your search
@@ -203,11 +203,10 @@ const CATEGORIES = {
|
||||
};
|
||||
const FOOTER_EXTRA_HTMLS = [];
|
||||
const VIEW_LANGS = [
|
||||
{ code: 'zh-CN', name: 'zh-CN' },
|
||||
{ code: 'zh_CN', name: '简体中文' },
|
||||
{ code: 'zh_TW', name: '正體中文' },
|
||||
{ code: 'en', name: 'English' },
|
||||
];
|
||||
const LANGS = {
|
||||
cc: 'cpp',
|
||||
};
|
||||
const LANG_TEXTS = {
|
||||
c: 'C',
|
||||
cc: 'C++',
|
||||
@@ -296,7 +295,6 @@ global.Hydro.model.builtin = module.exports = {
|
||||
CATEGORIES,
|
||||
VIEW_LANGS,
|
||||
FOOTER_EXTRA_HTMLS,
|
||||
LANGS,
|
||||
LANG_TEXTS,
|
||||
LANG_HIGHLIGHT_ID,
|
||||
STATUS,
|
||||
|
||||
Reference in new issue
Block a user