init
This commit is contained in:
36
src/i18n/pages/form/en.ts
Normal file
36
src/i18n/pages/form/en.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
// Improved versions of each word or sentence
|
||||
export default {
|
||||
common: {
|
||||
queryBtn: 'Query',
|
||||
addBtn: 'Add',
|
||||
editBtn: 'Edit',
|
||||
delBtn: 'Delete',
|
||||
viewBtn: 'View',
|
||||
detailBtn: 'Details',
|
||||
exportBtn: 'Export',
|
||||
expandBtn: 'expand/phrase ',
|
||||
refreshCacheBtn: 'Refresh cache',
|
||||
importBtn: 'Import',
|
||||
importUserTip: 'Import user',
|
||||
queryDeptTip: 'Enter department name',
|
||||
resetBtn: 'Reset',
|
||||
copyBtn:'Copy',
|
||||
action: 'Action',
|
||||
optSuccessText: 'Operation successful',
|
||||
optConfirmText: 'Confirm this operation?',
|
||||
editSuccessText: 'Successfully edited',
|
||||
addSuccessText: 'Successfully added',
|
||||
delSuccessText: 'Successfully deleted',
|
||||
delConfirmText: 'This operation will permanently delete',
|
||||
confirmButtonText: 'Confirm',
|
||||
cancelButtonText: 'Cancel',
|
||||
download: 'Download',
|
||||
expand: 'Expand',
|
||||
selectAll: 'SelectAll',
|
||||
},
|
||||
message: {
|
||||
box: {
|
||||
title: 'System prompt',
|
||||
},
|
||||
},
|
||||
};
|
||||
35
src/i18n/pages/form/zh-cn.ts
Normal file
35
src/i18n/pages/form/zh-cn.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
// 定义通用内容
|
||||
export default {
|
||||
common: {
|
||||
queryBtn: '查询',
|
||||
addBtn: '新 增',
|
||||
editBtn: '修 改',
|
||||
expandBtn: '展开/折叠',
|
||||
delBtn: '删除',
|
||||
viewBtn: '查看',
|
||||
detailBtn: '详情',
|
||||
refreshCacheBtn: '刷新缓存',
|
||||
exportBtn: '导出',
|
||||
importBtn: '导入',
|
||||
queryDeptTip: '请输入部门名称',
|
||||
resetBtn: '重置',
|
||||
copyBtn: '复制',
|
||||
action: '操作',
|
||||
optSuccessText: '操作成功',
|
||||
editSuccessText: '修改成功',
|
||||
addSuccessText: '添加成功',
|
||||
delSuccessText: '删除成功',
|
||||
delConfirmText: '此操作将永久删除',
|
||||
optConfirmText: '是否确认本操作',
|
||||
confirmButtonText: '确 认',
|
||||
cancelButtonText: '取 消',
|
||||
download: '下载',
|
||||
expand: '展开/折叠',
|
||||
selectAll: '全选/不全选',
|
||||
},
|
||||
message: {
|
||||
box: {
|
||||
title: '系统提示',
|
||||
},
|
||||
},
|
||||
};
|
||||
87
src/i18n/pages/login/en.ts
Normal file
87
src/i18n/pages/login/en.ts
Normal file
@@ -0,0 +1,87 @@
|
||||
export default {
|
||||
label: {
|
||||
one1: 'Account login',
|
||||
two2: 'SMS login',
|
||||
three3: 'Social login',
|
||||
register: 'Create account',
|
||||
},
|
||||
link: {
|
||||
one3: 'Third party login',
|
||||
two4: 'Links',
|
||||
},
|
||||
password: {
|
||||
accountPlaceholder1: 'The username "admin" is common, please use another',
|
||||
accountPlaceholder2: 'Password',
|
||||
accountPlaceholder3: 'Please enter the verification code',
|
||||
phonePlaceholder4: 'Please enter your phone number',
|
||||
accountBtnText: 'Sign in',
|
||||
resetBtnText: 'Reset',
|
||||
registerBtnText: 'Create account',
|
||||
readAccept: 'I have read and accept',
|
||||
privacyPolicy: 'the Privacy Policy',
|
||||
oldPassword: 'Please enter old password',
|
||||
newPassword: 'Please enter new password',
|
||||
confirmPassword: 'Please confirm new password',
|
||||
backToLogin: 'Back to login',
|
||||
mobileLogin: 'Mobile Login',
|
||||
createAccount: 'Create Account',
|
||||
imageCodeTip: 'Please enter code',
|
||||
},
|
||||
mobile: {
|
||||
placeholder1: 'Please enter your mobile number',
|
||||
placeholder2: 'Please enter the verification code',
|
||||
codeText: 'Get code',
|
||||
btnText: 'Sign in',
|
||||
mobileLogin: 'Mobile Login',
|
||||
backToLogin: 'Back to login',
|
||||
createAccount: 'Create Account',
|
||||
sendSuccess: 'Verification code sent successfully',
|
||||
seconds: 'seconds to resend',
|
||||
mobileRequired: 'Please enter your mobile number',
|
||||
codeRequired: 'Please enter verification code',
|
||||
codeLength: 'Verification code must be 4 digits',
|
||||
sendFailed: 'Failed to send verification code',
|
||||
loginSuccess: 'Login successful',
|
||||
loginFailed: 'Login failed',
|
||||
signIn: 'Sign In',
|
||||
},
|
||||
scan: {
|
||||
text: 'Use your wechat device to scan and quickly log in or create an account',
|
||||
wechatApp: 'Scan with WeChat',
|
||||
appErrorTip: 'The login fails because the application is not configured',
|
||||
},
|
||||
signInText: 'Welcome back!',
|
||||
browserMsgText:
|
||||
'Tip: For best results, we recommend using Google Chrome, Microsoft Edge (version 80 or higher), or the 360 browser with speed mode enabled.',
|
||||
expire: {
|
||||
oldPassword: 'Please enter old password',
|
||||
newPassword: 'Please enter new password',
|
||||
confirmPassword: 'Please confirm new password',
|
||||
passwordRule: 'The two passwords do not match',
|
||||
passwordScore: 'Password strength is too low',
|
||||
resetSuccess: 'Password reset successfully',
|
||||
},
|
||||
tenantSelect: {
|
||||
select: 'Select Tenant',
|
||||
loadError: 'Failed to get tenant list',
|
||||
},
|
||||
verify: {
|
||||
imageCode: 'Please enter verification code',
|
||||
},
|
||||
register: {
|
||||
usernameEmpty: 'Username cannot be empty',
|
||||
usernameLength: 'Username length must be between 5 and 20 characters',
|
||||
phoneEmpty: 'Phone number cannot be empty',
|
||||
passwordEmpty: 'Password cannot be empty',
|
||||
passwordLength: 'Password length must be between 6 and 20 characters',
|
||||
passwordStrength: 'Password strength is too low',
|
||||
termsRequired: 'Please read and accept the terms',
|
||||
},
|
||||
divider: {
|
||||
or: 'or',
|
||||
},
|
||||
socialLogin: {
|
||||
wechatWork: 'WeCom',
|
||||
dingtalk: 'DingTalk',
|
||||
},
|
||||
};
|
||||
84
src/i18n/pages/login/zh-cn.ts
Normal file
84
src/i18n/pages/login/zh-cn.ts
Normal file
@@ -0,0 +1,84 @@
|
||||
// 定义内容
|
||||
export default {
|
||||
label: {
|
||||
one1: '用户名登录',
|
||||
two2: '手机号登录',
|
||||
three3: '社交登录',
|
||||
register: '注册账号',
|
||||
},
|
||||
link: {
|
||||
one3: '第三方登录',
|
||||
two4: '友情链接',
|
||||
},
|
||||
password: {
|
||||
accountPlaceholder1: '请输入用户名',
|
||||
accountPlaceholder2: '请输入密码',
|
||||
accountPlaceholder3: '请输入验证码',
|
||||
phonePlaceholder4: '请输入手机号',
|
||||
accountBtnText: '登 录',
|
||||
registerBtnText: '注 册',
|
||||
resetBtnText: '重 置',
|
||||
readAccept: '我已仔细阅读并接受',
|
||||
privacyPolicy: '《隐私政策》',
|
||||
oldPassword: '请输入原密码',
|
||||
newPassword: '请输入新密码',
|
||||
confirmPassword: '请确认新密码',
|
||||
backToLogin: '返回登录',
|
||||
mobileLogin: '验证码登录',
|
||||
createAccount: '注册账号',
|
||||
imageCodeTip: '请输入验证码',
|
||||
},
|
||||
mobile: {
|
||||
placeholder1: '请输入手机号',
|
||||
placeholder2: '请输入验证码',
|
||||
codeText: '获取验证码',
|
||||
btnText: '登 录',
|
||||
mobileLogin: '验证码登录',
|
||||
backToLogin: '返回登录',
|
||||
createAccount: '注册账号',
|
||||
sendSuccess: '验证码发送功',
|
||||
seconds: '秒后重发',
|
||||
mobileRequired: '请输入手机号码',
|
||||
codeRequired: '请输入验证码',
|
||||
codeLength: '验证码必须是4位数字',
|
||||
sendFailed: '发送验证码失败',
|
||||
loginSuccess: '登录成功',
|
||||
loginFailed: '登录失败',
|
||||
signIn: '登 录',
|
||||
},
|
||||
scan: {
|
||||
text: '打开微信扫一扫,快速登录/注册',
|
||||
wechatApp: '微信扫码体验移动端',
|
||||
appErrorTip: '应用未配置,登录失败',
|
||||
},
|
||||
signInText: '欢迎回来!',
|
||||
browserMsgText: '* 温馨提示:建议使用谷歌、Microsoft Edge,版本 80 及以上浏览器,360浏览器请使用极速模式',
|
||||
expire: {
|
||||
oldPassword: '请输入原密码',
|
||||
newPassword: '请输入新密码',
|
||||
confirmPassword: '请确认新密码',
|
||||
passwordRule: '两次输入的密码不一致',
|
||||
passwordScore: '密码强度太低',
|
||||
resetSuccess: '密码重置成功',
|
||||
},
|
||||
tenantSelect: {
|
||||
select: '选择租户',
|
||||
loadError: '获取租户列表失败',
|
||||
},
|
||||
register: {
|
||||
usernameEmpty: '用户名不能为空',
|
||||
usernameLength: '用户名称长度必须介于 5 和 20 之间',
|
||||
phoneEmpty: '手机号不能为空',
|
||||
passwordEmpty: '密码不能为空',
|
||||
passwordLength: '用户密码长度必须介于 6 和 20 之间',
|
||||
passwordStrength: '密码强度太低',
|
||||
termsRequired: '请阅读并同意条款',
|
||||
},
|
||||
divider: {
|
||||
or: '或',
|
||||
},
|
||||
socialLogin: {
|
||||
wechatWork: '企微',
|
||||
dingtalk: '钉钉',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user