diff --git a/src/i18n/langs/cn.json b/src/i18n/langs/cn.json index c5b8c2e5c..5da1a3d89 100644 --- a/src/i18n/langs/cn.json +++ b/src/i18n/langs/cn.json @@ -858,7 +858,7 @@ "AppAuth": "App认证", "OtherAuth": "其它认证", "Ops": "任务", - "OTP": "OTP(虚拟MFA)", + "OTP": "MFA (OTP)", "JMSSSO": "SSO Token 登录", "MessageSub": "消息订阅", "Cleaning": "定期清理", @@ -1216,10 +1216,10 @@ "SMS": "短信" }, "xpack": { - "NavHelp": "导航栏 (帮助)", - "helpDocument": "帮助 (文档)", - "helpSupport": "帮助 (支持)", - "officialWebsite": "帮助 (官网)", + "NavHelp": "导航栏链接", + "helpDocument": "文档链接", + "helpSupport": "支持链接", + "officialWebsite": "官网链接", "helpDocumentTip": "可以更改网站导航栏 帮助 -> 文档 的网址", "helpSupportTip": "可以更改网站导航栏 帮助 -> 支持 的网址", "officialWebsiteTip": "可以更改网站导航栏 帮助 -> 官网 的网址", diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 3284f1219..023180c58 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -825,7 +825,7 @@ "setting": { "Feature": "Feature", "SMSProvider": "SMS provider", - "SMS": "SMS setting", + "SMS": "SMS", "AlibabaCloud": "Alibaba cloud", "TencentCloud": "Tencent cloud", "VerifySignTmpl": "Verification code template", @@ -838,9 +838,9 @@ "AuthLimit": "Auth limit", "Ops": "Task", "OTP": "OTP(MFA)", - "MessageSub": "Message subscription", + "MessageSub": "Message", "Cleaning": "Period clean", - "Perms": "授权", + "Perms": "Perms", "CASSetting": "CAS setting", "Other": "More...", "Auth": "Auth", @@ -849,26 +849,26 @@ "InsecureCommandNotifyToSubscription": "Insecure command notification setting, change to system message subscription, support more notify method", "ApiKeyList": "Api key list", "AssetCount": "Asset count", - "Basic": "Basic setting", + "Basic": "Basic", "Corporation": "Corporation", "Create": "Create", "Edition": "Edition", - "Email": "Email setting", + "Email": "Email", "EmailContent": "Email content setting", "Expired": "Expired", "Hostname": "Hostname", "ImportLicense": "Import license", "ImportLicenseTip": "Please Import License", - "Ldap": "LDAP setting", + "Ldap": "LDAP", "License": "License", "LicenseFile": "License file", "PasswordCheckRule": "Password check rule", - "Security": "Security setting", - "SecuritySetting": "Security setting", + "Security": "Security", + "SecuritySetting": "Security", "SubscriptionID": "Subscription ID", "SystemMessageSubscription": "System messages", "insecureCommandEmailUpdate": "Setting", - "Terminal": "Terminal setting", + "Terminal": "Terminal", "all": "All", "authLdap": "Enable LDAP auth", "authLdapBindDn": "Bind DN", @@ -1005,7 +1005,7 @@ "Comment": "Comment", "MyTickets": "My tickets", "action": "Action", - "IPGroup": "IP 组", + "IPGroup": "IP group", "Reject": "Reject", "date": "Date", "reply": "Reply", @@ -1177,10 +1177,9 @@ "SMS": "SMS" }, "xpack": { - "NavHelp": "Navigation (Help)", - "helpDocument": "Help (Docs)", - "helpSupport": "Help (Support)", - "officialWebsite": "Help (Website)", + "NavHelp": "Navigation Link", + "helpDocument": "Docs link", + "helpSupport": "Support link", "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", diff --git a/src/layout/components/NavHeader/Help.vue b/src/layout/components/NavHeader/Help.vue index 629f05e78..6107a179e 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') }} @@ -43,7 +43,7 @@ export default { case 'support': window.open(this.URLSite.HELP_SUPPORT_URL, '_blank') break - case 'EnterpriseEdition': + case 'enterprise': window.open('https://jumpserver.org/enterprise.html', '_blank') break default: diff --git a/src/views/settings/Other.vue b/src/views/settings/Other.vue index f070b0454..c94af3d0c 100644 --- a/src/views/settings/Other.vue +++ b/src/views/settings/Other.vue @@ -62,11 +62,6 @@ export default { label: this.$t('xpack.helpSupport'), helpText: this.$t('xpack.helpSupportTip'), hidden: () => !this.hasValidLicense() - }, - OFFICIAL_WEBSITE_URL: { - label: this.$t('xpack.officialWebsite'), - helpText: this.$t('xpack.officialWebsiteTip'), - hidden: () => !this.hasValidLicense() } }, submitMethod() { @@ -78,7 +73,7 @@ export default { if (this.hasValidLicense()) { this.fields.push([ this.$t('xpack.NavHelp'), [ - 'HELP_DOCUMENT_URL', 'HELP_SUPPORT_URL', 'OFFICIAL_WEBSITE_URL' + 'HELP_DOCUMENT_URL', 'HELP_SUPPORT_URL' ] ]) }