✨ add internationalization configuration
This commit is contained in:
36
i18n/language/en.toml
Normal file
36
i18n/language/en.toml
Normal file
@@ -0,0 +1,36 @@
|
||||
welcome = "hello"
|
||||
NotFoundUser = "User not found"
|
||||
DeletedSuccess = "deleted successfully!"
|
||||
DeletedFailed = "delete failed!"
|
||||
UpdatedSuccess = "updated successfully!"
|
||||
UpdatedFailed = "update failed!"
|
||||
CreatedSuccess = "created successfully!"
|
||||
CreatedFailed = "create failed!"
|
||||
LoginSuccess = "login successfully!"
|
||||
LoginFailed = "login failed!"
|
||||
LogoutSuccess = "logout successfully!"
|
||||
LogoutFailed = "logout failed!"
|
||||
RegisterSuccess = "register successfully!"
|
||||
RegisterFailed = "register failed!"
|
||||
PhoneNotRegister = "phone number not register!"
|
||||
EmailNotRegister = "email not register!"
|
||||
UsernameNotRegister = "username not register!"
|
||||
PasswordError = "password error!"
|
||||
EmailError = "email error!"
|
||||
PhoneError = "phone error!"
|
||||
UsernameError = "username error!"
|
||||
UsernameExists = "username already exists!"
|
||||
EmailExists = "email already exists!"
|
||||
PhoneExists = "phone number already exists!"
|
||||
PasswordNotSame = "password not same!"
|
||||
PasswordTooShort = "password length must be greater than 6!"
|
||||
PasswordTooLong = "password length must be less than 20!"
|
||||
CaptchaError = "captcha error!"
|
||||
CaptchaExpired = "captcha expired!"
|
||||
CaptchaNotMatch = "captcha not match!"
|
||||
CaptchaSendFailed = "captcha send failed!"
|
||||
CaptchaSendSuccess = "captcha send successfully!"
|
||||
CaptchaTooOften = "captcha too often!"
|
||||
CaptchaTooShort = "captcha length must be greater than 6!"
|
||||
CaptchaTooLong = "captcha length must be less than 20!"
|
||||
CaptchaSendLimit = "captcha send limit!"
|
Reference in New Issue
Block a user