mirror of
https://github.com/certd/certd.git
synced 2026-06-26 13:17:33 +08:00
perf: 优化中英文翻译与切换
This commit is contained in:
@@ -1,36 +1,35 @@
|
||||
import i18n from '/@/locales/i18n';
|
||||
import i18n from "/@/locales/i18n";
|
||||
|
||||
export const headerResource = [
|
||||
{
|
||||
title: i18n.global.t("certd.helpDoc"),
|
||||
path: "https://certd.docmirror.cn",
|
||||
meta: {
|
||||
icon: "ion:document-text-outline"
|
||||
}
|
||||
},
|
||||
{
|
||||
title: i18n.global.t("certd.source"),
|
||||
name: "source",
|
||||
key: "source",
|
||||
meta: {
|
||||
icon: "ion:git-branch-outline"
|
||||
},
|
||||
children: [
|
||||
{
|
||||
title: i18n.global.t("certd.github"),
|
||||
path: "https://github.com/certd/certd",
|
||||
meta: {
|
||||
icon: "ion:logo-github"
|
||||
}
|
||||
},
|
||||
{
|
||||
title: i18n.global.t("certd.gitee"),
|
||||
path: "https://gitee.com/certd/certd",
|
||||
meta: {
|
||||
icon: "ion:logo-octocat"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
title: "certd.helpDoc",
|
||||
path: "https://certd.docmirror.cn",
|
||||
meta: {
|
||||
icon: "ion:document-text-outline",
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "certd.source",
|
||||
name: "source",
|
||||
key: "source",
|
||||
meta: {
|
||||
icon: "ion:git-branch-outline",
|
||||
},
|
||||
children: [
|
||||
{
|
||||
title: "certd.github",
|
||||
path: "https://github.com/certd/certd",
|
||||
meta: {
|
||||
icon: "ion:logo-github",
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "certd.gitee",
|
||||
path: "https://gitee.com/certd/certd",
|
||||
meta: {
|
||||
icon: "ion:logo-octocat",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user