✨ add internationalization configuration
This commit is contained in:
36
i18n/language/zh.toml
Normal file
36
i18n/language/zh.toml
Normal file
@@ -0,0 +1,36 @@
|
||||
welcome = "欢迎"
|
||||
NotFoundUser = "未找到用户!"
|
||||
DeletedSuccess = "删除成功!"
|
||||
DeletedFailed = "删除失败!"
|
||||
UpdatedSuccess = "更新成功!"
|
||||
UpdatedFailed = "更新失败!"
|
||||
CreatedSuccess = "创建成功!"
|
||||
CreatedFailed = "创建失败!"
|
||||
LoginSuccess = "登录成功!"
|
||||
LoginFailed = "登录失败!"
|
||||
LogoutSuccess = "登出成功!"
|
||||
LogoutFailed = "登出失败!"
|
||||
RegisterSuccess = "注册成功!"
|
||||
RegisterFailed = "注册失败!"
|
||||
PhoneNotRegister = "该手机号未注册!"
|
||||
EmailNotRegister = "该邮箱未注册!"
|
||||
UsernameNotRegister = "该用户名未注册!"
|
||||
PasswordError = "密码错误!"
|
||||
EmailError = "邮箱错误!"
|
||||
PhoneError = "手机号错误!"
|
||||
UsernameError = "用户名错误!"
|
||||
UsernameExists = "用户名已存在!"
|
||||
EmailExists = "邮箱已存在!"
|
||||
PhoneExists = "手机号已存在!"
|
||||
PasswordNotSame = "两次密码输入不一致!"
|
||||
PasswordTooShort = "密码长度不能少于6位!"
|
||||
PasswordTooLong = "密码长度不能多于20位!"
|
||||
CaptchaError = "验证码错误!"
|
||||
CaptchaExpired = "验证码已过期!"
|
||||
CaptchaNotMatch = "验证码不匹配!"
|
||||
CaptchaSendFailed = "验证码发送失败!"
|
||||
CaptchaSendSuccess = "验证码发送成功!"
|
||||
CaptchaTooOften = "验证码发送过于频繁!"
|
||||
CaptchaTooShort = "验证码长度不能少于6位!"
|
||||
CaptchaTooLong = "验证码长度不能多于20位!"
|
||||
CaptchaSendLimit = "验证码发送次数已达上限!"
|
Reference in New Issue
Block a user