Quellcode durchsuchen

update 补全国际化文件

疯狂的狮子li vor 3 Jahren
Ursprung
Commit
296e6171a1

+ 0 - 5
ruoyi-admin/src/main/resources/i18n/messages.properties

@@ -10,12 +10,9 @@ user.password.delete=对不起,您的账号已被删除
 user.blocked=用户已封禁,请联系管理员
 role.blocked=角色已封禁,请联系管理员
 user.logout.success=退出成功
-
 length.not.valid=长度必须在{min}到{max}个字符之间
-
 user.username.not.valid=* 2到20个汉字、字母、数字或下划线组成,且必须以非数字开头
 user.password.not.valid=* 5-50个字符
-
 user.email.not.valid=邮箱格式错误
 user.mobile.phone.number.not.valid=手机号格式错误
 user.login.success=登录成功
@@ -23,11 +20,9 @@ user.register.success=注册成功
 user.notfound=请重新登录
 user.forcelogout=管理员强制退出,请重新登录
 user.unknown.error=未知错误,请重新登录
-
 ##文件上传消息
 upload.exceed.maxSize=上传的文件大小超出限制的文件大小!<br/>允许的文件最大大小是:{0}MB!
 upload.filename.exceed.length=上传的文件名最长{0}个字符
-
 ##权限
 no.permission=您没有数据的权限,请联系管理员添加权限 [{0}]
 no.create.permission=您没有创建数据的权限,请联系管理员添加权限 [{0}]

+ 29 - 30
ruoyi-admin/src/main/resources/i18n/messages_en_US.properties

@@ -1,33 +1,32 @@
 #错误消息
-not.null=
-user.jcaptcha.error=
-user.jcaptcha.expire=
-user.not.exists=
-user.password.not.match=
-user.password.retry.limit.count=
-user.password.retry.limit.exceed=
-user.password.delete=
-user.blocked=
-role.blocked=
-user.logout.success=
-length.not.valid=
-user.username.not.valid=
-user.password.not.valid=
-user.email.not.valid=
-user.mobile.phone.number.not.valid=
-user.login.success=
-user.register.success=register success
-user.notfound=
-user.unknown.error=
-
+not.null=* Required fill in
+user.jcaptcha.error=Captcha error
+user.jcaptcha.expire=Captcha invalid
+user.not.exists=User does not exist/Password error
+user.password.not.match=User does not exist/Password error
+user.password.retry.limit.count=Password input error {0} times
+user.password.retry.limit.exceed=Password input error {0} times, account locked for 10 minutes
+user.password.delete=Sorry, your account has been deleted
+user.blocked=User disabled,please contact administrators
+role.blocked=Role disabled,please contact administrators
+user.logout.success=Exit successful
+length.not.valid=The length must be between {min} and {max} characters
+user.username.not.valid=* 2 to 20 chinese characters, letters, numbers or underscores, and must start with a non number
+user.password.not.valid=* 5-50 characters
+user.email.not.valid=Mailbox format error
+user.mobile.phone.number.not.valid=Phone number format error
+user.login.success=Login successful
+user.register.success=Register successful
+user.notfound=Please login again
+user.forcelogout=The administrator is forced to exit,please login again
+user.unknown.error=Unknown error, please login again
 ##文件上传消息
-upload.exceed.maxSize=
-upload.filename.exceed.length=
-
+upload.exceed.maxSize=The uploaded file size exceeds the limit file size!<br/>the maximum allowed file size is:{0}MB!
+upload.filename.exceed.length=The maximum length of uploaded file name is {0} characters
 ##权限
-no.permission=
-no.create.permission=
-no.update.permission=
-no.delete.permission=
-no.export.permission=
-no.view.permission=
+no.permission=You do not have permission to the data,please contact your administrator to add permissions [{0}]
+no.create.permission=You do not have permission to create data,please contact your administrator to add permissions [{0}]
+no.update.permission=You do not have permission to modify data,please contact your administrator to add permissions [{0}]
+no.delete.permission=You do not have permission to delete data,please contact your administrator to add permissions [{0}]
+no.export.permission=You do not have permission to export data,please contact your administrator to add permissions [{0}]
+no.view.permission=You do not have permission to view data,please contact your administrator to add permissions [{0}]

+ 0 - 5
ruoyi-admin/src/main/resources/i18n/messages_zh_CN.properties

@@ -10,12 +10,9 @@ user.password.delete=对不起,您的账号已被删除
 user.blocked=用户已封禁,请联系管理员
 role.blocked=角色已封禁,请联系管理员
 user.logout.success=退出成功
-
 length.not.valid=长度必须在{min}到{max}个字符之间
-
 user.username.not.valid=* 2到20个汉字、字母、数字或下划线组成,且必须以非数字开头
 user.password.not.valid=* 5-50个字符
-
 user.email.not.valid=邮箱格式错误
 user.mobile.phone.number.not.valid=手机号格式错误
 user.login.success=登录成功
@@ -23,11 +20,9 @@ user.register.success=注册成功
 user.notfound=请重新登录
 user.forcelogout=管理员强制退出,请重新登录
 user.unknown.error=未知错误,请重新登录
-
 ##文件上传消息
 upload.exceed.maxSize=上传的文件大小超出限制的文件大小!<br/>允许的文件最大大小是:{0}MB!
 upload.filename.exceed.length=上传的文件名最长{0}个字符
-
 ##权限
 no.permission=您没有数据的权限,请联系管理员添加权限 [{0}]
 no.create.permission=您没有创建数据的权限,请联系管理员添加权限 [{0}]