From 552dd6382f74532c109aa9c77beb532265f38800 Mon Sep 17 00:00:00 2001 From: Kaiser-Yang <624626089@qq.com> Date: Fri, 25 Oct 2024 12:22:04 +0800 Subject: [PATCH] Remove the redundant dollar signs --- src/main/resources/message/validation.properties | 16 ++++++++-------- .../message/validation_zh_CN.properties | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/main/resources/message/validation.properties b/src/main/resources/message/validation.properties index 297f6a0..554f89a 100644 --- a/src/main/resources/message/validation.properties +++ b/src/main/resources/message/validation.properties @@ -13,18 +13,18 @@ Pattern.userDTO.username=Username can only be alphanumeric, hyphen or underline Pattern.userDTO.userPassword=Password can only be alphanumeric, underline, hyphen, dot or at sign # checkEmailValidity validation messages -Email.userController#checkEmailValidity.email=${Email.userDTO.email} -NotBlank.userController#checkEmailValidity.email=${NotBlank.userDTO.email} +Email.userController#checkEmailValidity.email={Email.userDTO.email} +NotBlank.userController#checkEmailValidity.email={NotBlank.userDTO.email} # checkUsernameValidity validation messages -NotBlank.userController#checkUsernameValidity.username=${NotBlank.userDTO.username} +NotBlank.userController#checkUsernameValidity.username={NotBlank.userDTO.username} Size.userController#checkUsernameValidity.username=Username must be between {min} and {max} characters -Pattern.userController#checkUsernameValidity.username=${Pattern.userDTO.username} +Pattern.userController#checkUsernameValidity.username={Pattern.userDTO.username} # checkPasswordValidity validation messages -NotBlank.userController#checkPasswordValidity.password=${NotBlank.userDTO.userPassword} +NotBlank.userController#checkPasswordValidity.password={NotBlank.userDTO.userPassword} Size.userController#checkPasswordValidity.password=Password must be between {min} and {max} characters -Pattern.userController#checkPasswordValidity.password=${Pattern.userDTO.userPassword} +Pattern.userController#checkPasswordValidity.password={Pattern.userDTO.userPassword} # UserSignInDTO validation messages NotBlank.UserSignInDTO.username=Username cannot be blank @@ -39,9 +39,9 @@ Size.RepositoryDTO.description=Repository description must be between {2} and {1 Pattern.RepositoryDTO.name=Repository name can only be alphanumeric, hyphen or underline # checkRepositoryNameValidity validation messages -NotBlank.repositoryController#checkRepositoryNameValidity.repositoryName=${NotBlank.RepositoryDTO.name} +NotBlank.repositoryController#checkRepositoryNameValidity.repositoryName={NotBlank.RepositoryDTO.name} Size.repositoryController#checkRepositoryNameValidity.repositoryName=Repository name must be between {min} and {max} characters -Pattern.repositoryController#checkRepositoryNameValidity.repositoryName=${Pattern.RepositoryDTO.name} +Pattern.repositoryController#checkRepositoryNameValidity.repositoryName={Pattern.RepositoryDTO.name} # SshKeyDTO validation messages Null.SshKeyDTO.id=SSH key ID must be null when creating a new SSH key diff --git a/src/main/resources/message/validation_zh_CN.properties b/src/main/resources/message/validation_zh_CN.properties index c6b522b..74f4c71 100644 --- a/src/main/resources/message/validation_zh_CN.properties +++ b/src/main/resources/message/validation_zh_CN.properties @@ -13,18 +13,18 @@ Pattern.userDTO.username=用户名只能是字母、数字、连字符或下划 Pattern.userDTO.userPassword=密码只能是字母、数字、下划线、连字符、点或@符号 # checkEmailValidity validation messages -Email.userController#checkEmailValidity.email=${Email.userDTO.email} -NotBlank.userController#checkEmailValidity.email=${NotBlank.userDTO.email} +Email.userController#checkEmailValidity.email={Email.userDTO.email} +NotBlank.userController#checkEmailValidity.email={NotBlank.userDTO.email} # checkUsernameValidity validation messages -NotBlank.userController#checkUsernameValidity.username=${NotBlank.userDTO.username} +NotBlank.userController#checkUsernameValidity.username={NotBlank.userDTO.username} Size.userController#checkUsernameValidity.username=用户名必须在{min}至{max}个字符之间 -Pattern.userController#checkUsernameValidity.username=${Pattern.userDTO.username} +Pattern.userController#checkUsernameValidity.username={Pattern.userDTO.username} # checkPasswordValidity validation messages -NotBlank.userController#checkPasswordValidity.password=${NotBlank.userDTO.userPassword} +NotBlank.userController#checkPasswordValidity.password={NotBlank.userDTO.userPassword} Size.userController#checkPasswordValidity.password=密码必须在{min}至{max}个字符之间 -Pattern.userController#checkPasswordValidity.password=${Pattern.userDTO.userPassword} +Pattern.userController#checkPasswordValidity.password={Pattern.userDTO.userPassword} # UserSignInDTO validation messages NotBlank.UserSignInDTO.username=用户名不能为空 @@ -39,9 +39,9 @@ Size.RepositoryDTO.description=仓库描述必须在{2}至{1}个字符之间 Pattern.RepositoryDTO.name=仓库名称只能是字母、数字、连字符或下划线 # checkRepositoryNameValidity validation messages -NotBlank.repositoryController#checkRepositoryNameValidity.repositoryName=${NotBlank.RepositoryDTO.name} +NotBlank.repositoryController#checkRepositoryNameValidity.repositoryName={NotBlank.RepositoryDTO.name} Size.repositoryController#checkRepositoryNameValidity.repositoryName=仓库名称必须在{min}至{max}个字符之间 -Pattern.repositoryController#checkRepositoryNameValidity.repositoryName=${Pattern.RepositoryDTO.name} +Pattern.repositoryController#checkRepositoryNameValidity.repositoryName={Pattern.RepositoryDTO.name} # SshKeyDTO validation messages Null.SshKeyDTO.id=在创建新SSH密钥时,SSH密钥ID必须为空