diff --git a/nezha-fronted/src/components/common/header.vue b/nezha-fronted/src/components/common/header.vue index 7c7ca221f..a125d53c7 100644 --- a/nezha-fronted/src/components/common/header.vue +++ b/nezha-fronted/src/components/common/header.vue @@ -122,7 +122,7 @@
-
{{$t('overall.changePwd')}}
+
{{$t('overall.changeMima')}}
{{$t('overall.signOut')}}
diff --git a/nezha-fronted/src/components/common/language/cn.js b/nezha-fronted/src/components/common/language/cn.js index af5dbfdea..c04fe001a 100644 --- a/nezha-fronted/src/components/common/language/cn.js +++ b/nezha-fronted/src/components/common/language/cn.js @@ -53,7 +53,7 @@ const cn = { active: "活跃", type: "类别", detail: "详细信息", - changePwd: "修改密码", + changeMima: "修改密码", createCabinet: "创建机柜", createModel: "创建型号", createModule: "创建模块", @@ -108,7 +108,7 @@ const cn = { pageSize: "条/页", login: { username: "登录名", - password: "密码", + mima: "密码", login: "登录" }, dashboard: { @@ -469,7 +469,7 @@ const cn = { remark: "描述", cli: "CLI账号", loginType: "登录类型", - password: "密码", + mima: "密码", ssh: "SSH-Key", account: "用户名", port: "端口", @@ -520,16 +520,16 @@ const cn = { remark: "描述", cli: "CLI账号", loginType: "登录类型", - password: "密码", + mima: "密码", ssh: "SSH key", protocol: "协议", sshProtocol: "SSH", telnetProtocol: "Telnet", userTip: "用户名提示", - passwordTip: "密码提示", - reloginPasswordTip: "RELOGIN提示", - userPwdIntroduce: "请指定用户名和密码提示以便TELNET登录过程可自动运行", - reLoginPwdIntroduce: "请指定密码提示以便RELOGIN登录过程可自动运行", + mimaTip: "密码提示", + reloginMimaTip: "RELOGIN提示", + userMimaIntroduce: "请指定用户名和密码提示以便TELNET登录过程可自动运行", + reLoginMimaIntroduce: "请指定密码提示以便RELOGIN登录过程可自动运行", account: "用户名", port: "端口", upload: "上传", @@ -570,16 +570,16 @@ const cn = { createAccount: "新增用户", editAccount: "编辑用户", notCurrentlySupport: "暂不支持", - password: "密码", - oldPwd: "旧密码", - inputOldPwd: "请输入旧密码", - newPwd: "新密码", - inputNewPwd: "请输入新密码", - confirmPwd: "确认密码", - inputConfirmPwd: "请再次输入密码", - invalidPwd: "无效的密码,最少6个字符", - confirmPwdErr: "两次密码输入不一致", - reinputPwd: "请再次输入密码", + mima: "密码", + oldMima: "旧密码", + inputOldMima: "请输入旧密码", + newMima: "新密码", + inputNewMima: "请输入新密码", + confirmMima: "确认密码", + inputConfirmMima: "请再次输入密码", + invalidMima: "无效的密码,最少6个字符", + confirmMimaErr: "两次密码输入不一致", + reinputMima: "请再次输入密码", notification: "通知" }, roles:{ @@ -749,13 +749,13 @@ const cn = { smtpHost: "SMTP主机", smtpPort: "SMTP端口", smtpAccount: "SMTP账号", - smtpPwd: "SMTP密码", + smtpMima: "SMTP密码", sendAccount: "发送账号", testAccount: "测试账号", useSSL: "SSL", useTLS: "TLS", testConnection: "测试连接", - pwdTip: "提示:一些邮件提供商需要输入的是Token", + mimaTip: "提示:一些邮件提供商需要输入的是Token", sendAccountTip: "提示:发送邮件账号,默认使用SMTP账号作为发送账号", testAccountTip: "提示:仅用来作为测试邮件收件人", sslTip: "如果SMTP端口是465,通常需要启用SSL", @@ -769,7 +769,7 @@ const cn = { ldap: "LDAP", address: "LDAP地址", dn: "Bind DN", - pwd: "密码", + mima: "密码", ou: "用户OU", filter: "用户过滤器", map: "LDAP属性映射", @@ -801,11 +801,11 @@ const cn = { reset: { reset: "重置", type: "类型", - pwd: "密码", + mima: "密码", metric: "指标", alert: "告警", sysConfig: "系统设置", - pwdTip: "请输入密码", + mimaTip: "请输入密码", promptTitle: "确认密码", yes: "是", no: "否" @@ -907,7 +907,7 @@ const cn = { authProtocol: "认证协议", privProtocol: "隐私协议", contextName: "内容名称", - privPassword: "隐私密码" + privMima: "隐私密码" }, endpoint: { createEndpoint: "新增Endpoint", diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js index 71a75c323..f61300cb4 100644 --- a/nezha-fronted/src/components/common/language/en.js +++ b/nezha-fronted/src/components/common/language/en.js @@ -47,7 +47,7 @@ const en = { back: 'Back', //返回 unavailable: 'Unavailable', available: 'Available', - changePwd:'Change password',//修改密码 + changeMima:'Change password',//修改密码 createChart:'Create chart', createProject:'Create project', createEndpoint:'Create endpoint', @@ -113,7 +113,7 @@ const en = { }, login: { username: 'Username', - password: 'Password', + mima: 'Password', login: 'Login' }, dashboard:{ @@ -425,16 +425,16 @@ const en = { remark:'Description',//'描述' cli:'CLI account',//'CLI账号' loginType:'Login type',//'登录类型' - password:'Password',//'密码' + mima:'Password',//'密码' ssh:'SSH key',//'SSH-Key' protocol:"Protocol", sshProtocol:"SSH", telnetProtocol:"Telnet", userTip:"User tip",//用户名提示 - passwordTip:"Password tip",//密码提示 - reloginPasswordTip:"Relogin tip",//密码提示 - userPwdIntroduce:'Please specify a user name and password so that the telenet login process can automatically log in', - reLoginPwdIntroduce:'Please specify the password prompt so that the login process can run automatically', + mimaTip:"Password tip",//密码提示 + reloginMimaTip:"Relogin tip",//密码提示 + userMimaIntroduce:'Please specify a user name and password so that the telenet login process can automatically log in', + reLoginMimaIntroduce:'Please specify the password prompt so that the login process can run automatically', account:'User name',//'用户名' port:'Port',//'端口' upload:'Upload',//'上传' @@ -520,7 +520,7 @@ const en = { remark:'Description',//'描述' cli:'CLI account',//'CLI账号' loginType:'Login type',//'登录类型' - password:'Password',//'密码' + mima:'Password',//'密码' ssh:'SSH-Key',//'SSH-Key' account:'Username',//'用户名' port:'Port',//'端口' @@ -573,16 +573,16 @@ const en = { createAccount: 'New account',//"新增用户" editAccount: 'Edit account',//"编辑用户" notCurrentlySupport: 'Not available',//'暂不支持' - password: 'Password',//'密码' - oldPwd:'Old password', - inputOldPwd:'Please input old password', - newPwd:'New password', - inputNewPwd:'Please input new password', - confirmPwd:'Confirm password', - inputConfirmPwd:'Please input confirm password', - invalidPwd:'invalide password,the length at least 6', - confirmPwdErr:'The two passwords are inconsistent', - reinputPwd:'Enter password again', + mima: 'Password',//'密码' + oldMima:'Old password', + inputOldMima:'Please input old password', + newMima:'New password', + inputNewMima:'Please input new password', + confirmMima:'Confirm password', + inputConfirmMima:'Please input confirm password', + invalidMima:'invalide password,the length at least 6', + confirmMimaErr:'The two passwords are inconsistent', + reinputMima:'Enter password again', notification: 'Notification' }, roles:{ @@ -753,13 +753,13 @@ const en = { smtpHost:'SMTP host', smtpPort:'SMTP port', smtpAccount:'SMTP account', - smtpPwd:'SMTP password', + smtpMima:'SMTP password', sendAccount:'Send account', testAccount:'Test account', useSSL:'SSL', useTLS:'TLS', testConnection:'Test connection', - pwdTip:'Tip:Some email providers need to enter token', + mimaTip:'Tip:Some email providers need to enter token', sendAccountTip:'Tip:The SMTP account is used as the sending account by default', testAccountTip:'Tip:Used only as test mail recipient', sslTip:'If the SMTP port is 465, you usually need to enable SSL', @@ -773,7 +773,7 @@ const en = { ldap:'LDAP', address:'LDAP address', dn:'Bind DN', - pwd:'Password', + mima:'Password', ou:'User OU', filter:'User filter', map:'LDAP field mapping', @@ -805,11 +805,11 @@ const en = { reset:{ reset:'Reset', type:'Type', - pwd:'Password', + mima:'Password', metric:'metric', alert:'alert', sysConfig:'System config', - pwdTip:'Please input your password', + mimaTip:'Please input your password', promptTitle:'Confirm', yes:'Yes', no:'No', @@ -909,7 +909,7 @@ const en = { authProtocol: 'Auth protocol', privProtocol: 'Priv protocol', contextName: 'Context name', - privPassword: 'Priv password', + privMima: 'Priv password', tip: { defaultEndpointSet: 'Default endpoint settings',//"默认的Endpoint设置" relation: 'Module associated Endpoint will configure the following ports/paths/parameters by default'//"组件关联的Endpoint将默认配置以下端口/路径/参数" diff --git a/nezha-fronted/src/components/common/login.vue b/nezha-fronted/src/components/common/login.vue index 9028d6d09..1acc768a5 100644 --- a/nezha-fronted/src/components/common/login.vue +++ b/nezha-fronted/src/components/common/login.vue @@ -11,7 +11,7 @@
- +
diff --git a/nezha-fronted/src/components/common/rightBox/accountBox.vue b/nezha-fronted/src/components/common/rightBox/accountBox.vue index 49d3a3221..52a873ed6 100644 --- a/nezha-fronted/src/components/common/rightBox/accountBox.vue +++ b/nezha-fronted/src/components/common/rightBox/accountBox.vue @@ -24,7 +24,7 @@ v-model="editUser.username" maxlength="64" show-word-limit size="small"> - + diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index 092481a30..76592d815 100644 --- a/nezha-fronted/src/components/common/rightBox/moduleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/moduleBox.vue @@ -165,7 +165,7 @@ -
{{$t('login.password')}}
+
{{$t('login.mima')}}
@@ -204,7 +204,7 @@ -
{{$t('project.module.privPassword')}}
+
{{$t('project.module.privMima')}}
diff --git a/nezha-fronted/src/components/common/rightBox/trafficSetting/trafficSettingTab.vue b/nezha-fronted/src/components/common/rightBox/trafficSetting/trafficSettingTab.vue index e2ad70532..b0fcf89ac 100644 --- a/nezha-fronted/src/components/common/rightBox/trafficSetting/trafficSettingTab.vue +++ b/nezha-fronted/src/components/common/rightBox/trafficSetting/trafficSettingTab.vue @@ -67,7 +67,7 @@ -
{{$t('login.password')}}
+
{{$t('login.mima')}}
@@ -100,7 +100,7 @@ -
{{$t('project.module.privPassword')}}
+
{{$t('project.module.privMima')}}
diff --git a/nezha-fronted/src/components/page/asset/accountConfig.vue b/nezha-fronted/src/components/page/asset/accountConfig.vue index 0a30979b4..24711f088 100644 --- a/nezha-fronted/src/components/page/asset/accountConfig.vue +++ b/nezha-fronted/src/components/page/asset/accountConfig.vue @@ -6,17 +6,17 @@
- {{$t('asset.password')}} + {{$t('asset.mima')}} {{$t('asset.ssh')}} - + - + @@ -30,7 +30,7 @@ - + @@ -71,7 +71,7 @@ - + @@ -86,7 +86,7 @@ - + diff --git a/nezha-fronted/src/components/page/asset/asset.vue b/nezha-fronted/src/components/page/asset/asset.vue index 63a7d974f..b4abb0ae5 100644 --- a/nezha-fronted/src/components/page/asset/asset.vue +++ b/nezha-fronted/src/components/page/asset/asset.vue @@ -667,7 +667,7 @@ detail.account = account.user; let loginType = ""; if (account.authType == 1) { - loginType = this.$t('asset.password'); + loginType = this.$t('asset.mima'); } else if (account.authType == 2) { loginType = this.$t('asset.ssh'); } diff --git a/nezha-fronted/src/components/page/config/changePwd.vue b/nezha-fronted/src/components/page/config/changePwd.vue index a99b36dc9..1cc65c0af 100644 --- a/nezha-fronted/src/components/page/config/changePwd.vue +++ b/nezha-fronted/src/components/page/config/changePwd.vue @@ -1,18 +1,18 @@