refactor: 补充登录页与注册页的国际化内容并添加切换语言按钮

This commit is contained in:
QianRj
2024-11-27 17:25:09 +08:00
parent eb406fbb26
commit 7c1525fd21
6 changed files with 343 additions and 51 deletions
+58 -2
View File
@@ -4,11 +4,67 @@
"document": "项目文档"
},
"login": {
"selectPlaceholder": "请选择/输入公司名称",
"username": "用户名",
"password": "密码",
"login": "登 录",
"code": "请输入验证码",
"copyright": ""
"logging": "登 录 中...",
"code": "验证码",
"rememberPassword": "记住我",
"switchRegisterPage": "立即注册",
"rule": {
"tenantId": {
"required": "请输入您的租户编号"
},
"username": {
"required": "请输入您的账号"
},
"password": {
"required": "请输入您的密码"
},
"code": {
"required": "请输入验证码"
}
},
"social": {
"wechat": "微信登录",
"maxkey": "MaxKey登录",
"topiam": "TopIam登录",
"gitee": "Gitee登录",
"github": "Github登录"
}
},
"register": {
"selectPlaceholder": "请选择/输入公司名称",
"username": "用户名",
"password": "密码",
"confirmPassword": "确认密码",
"register": "注 册",
"registering": "注 册 中...",
"registerSuccess": "恭喜你,您的账号 {username} 注册成功!",
"code": "验证码",
"switchLoginPage": "使用已有账户登录",
"rule": {
"tenantId": {
"required": "请输入您的租户编号"
},
"username": {
"required": "请输入您的账号",
"length": "用户账号长度必须介于 {min} 和 {max} 之间"
},
"password": {
"required": "请输入您的密码",
"length": "用户密码长度必须介于 {min} 和 {max} 之间",
"pattern": "不能包含非法字符:{strings}"
},
"code": {
"required": "请输入验证码"
},
"confirmPassword": {
"required": "请再次输入您的密码",
"equalToPassword": "两次输入的密码不一致"
}
}
},
"navbar": {
"full": "全屏",