From 2d174bc46d11b67fbe997c850c5d3422e99cf955 Mon Sep 17 00:00:00 2001 From: jiangweidong Date: Wed, 10 Nov 2021 16:06:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=91=98=E9=85=8D=E7=BD=AE=E5=AF=BC=E8=88=AA=E6=A0=8F=E4=B8=8A?= =?UTF-8?q?=E5=B8=AE=E5=8A=A9=E4=B8=AD=E7=9A=84url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/cn.json | 7 ++++++ src/i18n/langs/en.json | 7 ++++++ src/layout/components/NavHeader/Help.vue | 29 +++++++++++++++++++++--- src/views/settings/Other.vue | 29 +++++++++++++++++++++++- 4 files changed, 68 insertions(+), 4 deletions(-) diff --git a/src/i18n/langs/cn.json b/src/i18n/langs/cn.json index 8181ae449..a3fc9446f 100644 --- a/src/i18n/langs/cn.json +++ b/src/i18n/langs/cn.json @@ -1215,6 +1215,13 @@ "SMS": "短信" }, "xpack": { + "NavHelp": "导航栏 (帮助)", + "helpDocument": "帮助 (文档)", + "helpSupport": "帮助 (支持)", + "officialWebsite": "帮助 (官网)", + "helpDocumentTip": "可以更改网站导航栏 帮助 -> 文档 的网址", + "helpSupportTip": "可以更改网站导航栏 帮助 -> 支持 的网址", + "officialWebsiteTip": "可以更改网站导航栏 帮助 -> 官网 的网址", "Admin": "管理员", "Asset": "资产", "Database": "数据库", diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 6200a927d..47f1aa0fb 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -1176,6 +1176,13 @@ "SMS": "SMS" }, "xpack": { + "NavHelp": "Navigation (Help)", + "helpDocument": "Help (Docs)", + "helpSupport": "Help (Support)", + "officialWebsite": "Help (Website)", + "helpDocumentTip": "You can change the URL of the site navigation bar help -> Docs", + "helpSupportTip": "You can change the URL of the site navigation bar help -> Support", + "officialWebsiteTip": "You can change the URL of the site navigation bar help -> Website", "Admin": "Admin", "Asset": "Asset", "Database": "Database", diff --git a/src/layout/components/NavHeader/Help.vue b/src/layout/components/NavHeader/Help.vue index 58451149f..629f05e78 100644 --- a/src/layout/components/NavHeader/Help.vue +++ b/src/layout/components/NavHeader/Help.vue @@ -6,7 +6,7 @@ {{ $t('common.nav.Docs') }} {{ $t('common.nav.Support') }} - {{ $t('common.nav.EnterpriseEdition') }} + {{ $t('common.nav.EnterpriseEdition') }} @@ -14,17 +14,40 @@