diff --git a/nezha-fronted/src/components/common/header.vue b/nezha-fronted/src/components/common/header.vue index 3f6671310..065f2c81b 100644 --- a/nezha-fronted/src/components/common/header.vue +++ b/nezha-fronted/src/components/common/header.vue @@ -122,7 +122,7 @@
-
{{$t('overall.changeMima')}}
+
{{$t('overall.changePwd')}}
{{$t('overall.signOut')}}
diff --git a/nezha-fronted/src/components/common/language/cn.js b/nezha-fronted/src/components/common/language/cn.js index c04fe001a..af5dbfdea 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: "详细信息", - changeMima: "修改密码", + changePwd: "修改密码", createCabinet: "创建机柜", createModel: "创建型号", createModule: "创建模块", @@ -108,7 +108,7 @@ const cn = { pageSize: "条/页", login: { username: "登录名", - mima: "密码", + password: "密码", login: "登录" }, dashboard: { @@ -469,7 +469,7 @@ const cn = { remark: "描述", cli: "CLI账号", loginType: "登录类型", - mima: "密码", + password: "密码", ssh: "SSH-Key", account: "用户名", port: "端口", @@ -520,16 +520,16 @@ const cn = { remark: "描述", cli: "CLI账号", loginType: "登录类型", - mima: "密码", + password: "密码", ssh: "SSH key", protocol: "协议", sshProtocol: "SSH", telnetProtocol: "Telnet", userTip: "用户名提示", - mimaTip: "密码提示", - reloginMimaTip: "RELOGIN提示", - userMimaIntroduce: "请指定用户名和密码提示以便TELNET登录过程可自动运行", - reLoginMimaIntroduce: "请指定密码提示以便RELOGIN登录过程可自动运行", + passwordTip: "密码提示", + reloginPasswordTip: "RELOGIN提示", + userPwdIntroduce: "请指定用户名和密码提示以便TELNET登录过程可自动运行", + reLoginPwdIntroduce: "请指定密码提示以便RELOGIN登录过程可自动运行", account: "用户名", port: "端口", upload: "上传", @@ -570,16 +570,16 @@ const cn = { createAccount: "新增用户", editAccount: "编辑用户", notCurrentlySupport: "暂不支持", - mima: "密码", - oldMima: "旧密码", - inputOldMima: "请输入旧密码", - newMima: "新密码", - inputNewMima: "请输入新密码", - confirmMima: "确认密码", - inputConfirmMima: "请再次输入密码", - invalidMima: "无效的密码,最少6个字符", - confirmMimaErr: "两次密码输入不一致", - reinputMima: "请再次输入密码", + password: "密码", + oldPwd: "旧密码", + inputOldPwd: "请输入旧密码", + newPwd: "新密码", + inputNewPwd: "请输入新密码", + confirmPwd: "确认密码", + inputConfirmPwd: "请再次输入密码", + invalidPwd: "无效的密码,最少6个字符", + confirmPwdErr: "两次密码输入不一致", + reinputPwd: "请再次输入密码", notification: "通知" }, roles:{ @@ -749,13 +749,13 @@ const cn = { smtpHost: "SMTP主机", smtpPort: "SMTP端口", smtpAccount: "SMTP账号", - smtpMima: "SMTP密码", + smtpPwd: "SMTP密码", sendAccount: "发送账号", testAccount: "测试账号", useSSL: "SSL", useTLS: "TLS", testConnection: "测试连接", - mimaTip: "提示:一些邮件提供商需要输入的是Token", + pwdTip: "提示:一些邮件提供商需要输入的是Token", sendAccountTip: "提示:发送邮件账号,默认使用SMTP账号作为发送账号", testAccountTip: "提示:仅用来作为测试邮件收件人", sslTip: "如果SMTP端口是465,通常需要启用SSL", @@ -769,7 +769,7 @@ const cn = { ldap: "LDAP", address: "LDAP地址", dn: "Bind DN", - mima: "密码", + pwd: "密码", ou: "用户OU", filter: "用户过滤器", map: "LDAP属性映射", @@ -801,11 +801,11 @@ const cn = { reset: { reset: "重置", type: "类型", - mima: "密码", + pwd: "密码", metric: "指标", alert: "告警", sysConfig: "系统设置", - mimaTip: "请输入密码", + pwdTip: "请输入密码", promptTitle: "确认密码", yes: "是", no: "否" @@ -907,7 +907,7 @@ const cn = { authProtocol: "认证协议", privProtocol: "隐私协议", contextName: "内容名称", - privMima: "隐私密码" + privPassword: "隐私密码" }, endpoint: { createEndpoint: "新增Endpoint", diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js index f61300cb4..71a75c323 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', - changeMima:'Change password',//修改密码 + changePwd:'Change password',//修改密码 createChart:'Create chart', createProject:'Create project', createEndpoint:'Create endpoint', @@ -113,7 +113,7 @@ const en = { }, login: { username: 'Username', - mima: 'Password', + password: 'Password', login: 'Login' }, dashboard:{ @@ -425,16 +425,16 @@ const en = { remark:'Description',//'描述' cli:'CLI account',//'CLI账号' loginType:'Login type',//'登录类型' - mima:'Password',//'密码' + password:'Password',//'密码' ssh:'SSH key',//'SSH-Key' protocol:"Protocol", sshProtocol:"SSH", telnetProtocol:"Telnet", userTip:"User tip",//用户名提示 - 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', + 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', account:'User name',//'用户名' port:'Port',//'端口' upload:'Upload',//'上传' @@ -520,7 +520,7 @@ const en = { remark:'Description',//'描述' cli:'CLI account',//'CLI账号' loginType:'Login type',//'登录类型' - mima:'Password',//'密码' + password:'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',//'暂不支持' - 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', + 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', notification: 'Notification' }, roles:{ @@ -753,13 +753,13 @@ const en = { smtpHost:'SMTP host', smtpPort:'SMTP port', smtpAccount:'SMTP account', - smtpMima:'SMTP password', + smtpPwd:'SMTP password', sendAccount:'Send account', testAccount:'Test account', useSSL:'SSL', useTLS:'TLS', testConnection:'Test connection', - mimaTip:'Tip:Some email providers need to enter token', + pwdTip:'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', - mima:'Password', + pwd:'Password', ou:'User OU', filter:'User filter', map:'LDAP field mapping', @@ -805,11 +805,11 @@ const en = { reset:{ reset:'Reset', type:'Type', - mima:'Password', + pwd:'Password', metric:'metric', alert:'alert', sysConfig:'System config', - mimaTip:'Please input your password', + pwdTip:'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', - privMima: 'Priv password', + privPassword: '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 1acc768a5..9028d6d09 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 d7b1f86c8..330bd0c14 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" :disabled="editUser.username==='admin' && editUser.userId==1"> - + diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index 76592d815..092481a30 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.mima')}}
+
{{$t('login.password')}}
@@ -204,7 +204,7 @@ -
{{$t('project.module.privMima')}}
+
{{$t('project.module.privPassword')}}
diff --git a/nezha-fronted/src/components/common/rightBox/trafficSetting/trafficSettingTab.vue b/nezha-fronted/src/components/common/rightBox/trafficSetting/trafficSettingTab.vue index b0fcf89ac..e2ad70532 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.mima')}}
+
{{$t('login.password')}}
@@ -100,7 +100,7 @@ -
{{$t('project.module.privMima')}}
+
{{$t('project.module.privPassword')}}
diff --git a/nezha-fronted/src/components/page/asset/accountConfig.vue b/nezha-fronted/src/components/page/asset/accountConfig.vue index 24711f088..0a30979b4 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.mima')}} + {{$t('asset.password')}} {{$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 c6675a8f2..a78cf49c3 100644 --- a/nezha-fronted/src/components/page/asset/asset.vue +++ b/nezha-fronted/src/components/page/asset/asset.vue @@ -687,7 +687,7 @@ detail.account = account.user; let loginType = ""; if (account.authType == 1) { - loginType = this.$t('asset.mima'); + loginType = this.$t('asset.password'); } 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 1cc65c0af..a99b36dc9 100644 --- a/nezha-fronted/src/components/page/config/changePwd.vue +++ b/nezha-fronted/src/components/page/config/changePwd.vue @@ -1,18 +1,18 @@