新增中英文切换
This commit is contained in:
93
mail-worker/src/i18n/en.js
Normal file
93
mail-worker/src/i18n/en.js
Normal file
@@ -0,0 +1,93 @@
|
||||
const en = {
|
||||
IncorrectPwd: 'Incorrect password',
|
||||
addAccountDisabled: 'Add email account function is disabled',
|
||||
regDisabled: 'Sign up is disabled',
|
||||
emptyEmail: 'Email cannot be empty',
|
||||
notEmail: 'Invalid email',
|
||||
notExistDomain: 'Email domain does not exist',
|
||||
isDelAccount: 'This Email has been deleted',
|
||||
isRegAccount: 'This Email is already signed up',
|
||||
accountLimit: 'Email account limit reached',
|
||||
delMyAccount: 'Cannot delete your own email account',
|
||||
noUserAccount: 'This email does not belong to the current user',
|
||||
usernameLengthLimit: 'Username length exceeds the limit',
|
||||
noOsDomainSendPic: 'Cannot send body images: R2 domain not configured',
|
||||
noOsSendPic: 'Cannot send body images: R2 object storage not configured',
|
||||
noOsDomainSendAtt: 'Cannot send attachments: R2 domain not configured',
|
||||
noOsSendAtt: 'Cannot send attachments: R2 object storage not configured',
|
||||
disabledSend: 'Email sending is disabled',
|
||||
noSeparateSend: 'Attachments are not supported in separate sending',
|
||||
userNoSendTotal: 'User has no remaining sends',
|
||||
daySendLimit: 'Daily send limit reached',
|
||||
totalSendLimit: 'Total send limit reached',
|
||||
daySendLack: 'Not enough remaining sends today',
|
||||
totalSendLack: 'Not enough total remaining sends',
|
||||
senderAccountNotExist: 'Sender email does not exist',
|
||||
noResendToken: 'Resend API token not configured',
|
||||
sendEmailNotCurUser: 'Sender email does not belong to current user',
|
||||
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',
|
||||
notEmailDomain: 'Invalid email domain',
|
||||
emptyRegKey: 'Invite code cannot be empty',
|
||||
notExistRegKey: 'Invite code does not exist',
|
||||
noRegKeyTotal: 'Invite code usage limit reached',
|
||||
regKeyExpire: 'Invite code has expired',
|
||||
emailAndPwdEmpty: 'Email and password cannot be empty',
|
||||
notExistUser: 'Email does not exist',
|
||||
isDelUser: 'This email has been deleted',
|
||||
isBanUser: 'This email has been banned',
|
||||
regKeyUseCount: 'Usage count cannot be empty',
|
||||
emptyRegKeyExpire: 'Valid until time cannot be empty',
|
||||
isExistRegKye: 'Invite code already exists',
|
||||
roleNotExist: 'Role does not exist',
|
||||
emptyRoleName: 'Role name cannot be empty',
|
||||
roleNameExist: 'Role name already exists',
|
||||
delDefRole: 'Default role cannot be deleted',
|
||||
notJsonDomain: 'Environment variable "domain" must be in JSON format',
|
||||
noOsUpBack: 'Cannot upload background: R2 object storage not configured',
|
||||
noOsDomainUpBack: 'Cannot upload background: R2 domain not configured',
|
||||
starNotExistEmail: 'Starred email does not exist',
|
||||
emptyBotToken: 'Verification token cannot be empty',
|
||||
botVerifyFail: 'Bot verification failed, please try again',
|
||||
authExpired: 'Authentication expired, please log in again',
|
||||
unauthorized: 'Unauthorized',
|
||||
perms: {
|
||||
"邮件": "Email",
|
||||
"邮件发送": "Send email",
|
||||
"邮件删除": "Delete email",
|
||||
"邮箱侧栏": "Account",
|
||||
"邮箱查看": "View account",
|
||||
"邮箱添加": "Add account",
|
||||
"邮箱删除": "Delete account",
|
||||
"个人设置": "Settings",
|
||||
"用户注销": "Delete user",
|
||||
"分析页": "Analytics",
|
||||
"数据查看": "View data",
|
||||
"用户信息": "All users",
|
||||
"用户查看": "View user",
|
||||
"用户添加": "Add user",
|
||||
"密码修改": "Change password",
|
||||
"状态修改": "Change status",
|
||||
"权限修改": "Change role",
|
||||
"用户删除": "Delete user",
|
||||
"邮件列表": "All mail",
|
||||
"邮件查看": "View email",
|
||||
"权限控制": "Role",
|
||||
"身份查看": "View role",
|
||||
"身份修改": "Change role",
|
||||
"身份删除": "Delete role",
|
||||
"注册密钥": "Invite code",
|
||||
"密钥查看": "View code",
|
||||
"密钥添加": "Add code",
|
||||
"密钥删除": "Delete code",
|
||||
"系统设置": "System settings",
|
||||
"设置查看": "View settings",
|
||||
"设置修改": "Change settings",
|
||||
"物理清空": "Physical purge",
|
||||
"发件重置": "Reset send count"
|
||||
}
|
||||
};
|
||||
|
||||
export default en;
|
||||
Reference in New Issue
Block a user