新增设置注册邮箱前缀最小位数

This commit is contained in:
eoao
2025-11-08 22:25:00 +08:00
parent a343a4a08f
commit 56b42d29b3
18 changed files with 192 additions and 43 deletions

View File

@@ -27,7 +27,8 @@ const en = {
notExistEmailReply: 'Mail does not exist and cannot be replied to',
pwdLengthLimit: 'Password length exceeds the limit',
emailLengthLimit: 'Email length exceeds the limit',
pwdMinLengthLimit: 'Password must be at least 6 characters',
minEmailPrefix: 'Email must be at least {{msg}} characters',
pwdMinLength: 'Password must be at least 6 characters',
notEmailDomain: 'Invalid email domain',
emptyRegKey: 'Invite code cannot be empty',
notExistRegKey: 'Invite code does not exist',

View File

@@ -25,6 +25,6 @@ i18next.init({
resources,
});
export const t = (key) => i18next.t(key)
export const t = (key, values) => i18next.t(key, values)
export default i18next;

View File

@@ -27,7 +27,8 @@ const zh = {
notExistEmailReply: '邮件不存在无法回复',
pwdLengthLimit: '密码长度超出限制',
emailLengthLimit: '邮箱长度超出限制',
pwdMinLengthLimit: '密码不能小于6位',
minEmailPrefix: '邮箱名不能小于{{msg}}位',
pwdMinLength: '密码不能小于6位',
notEmailDomain: '非法邮箱域名',
emptyRegKey: '注册码不能为空',
notExistRegKey: '注册码不存在',