File tree 1 file changed +5
-5
lines changed
src/main/java/com/github/gribanoveu/cuddle/constants
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
* @version 29.08.2023
6
6
*/
7
7
public class ValidationMessages {
8
- public static final String EXCEPTION_VIOLATION_PATTERN = "Field '%s' - %s" ;
9
- public static final String NOT_BLANK_EXCEPTION_MESSAGE = "cannot be empty " ;
10
- public static final String PATTERN_EXCEPTION_MESSAGE = "must match the expected format " ;
11
- public static final String SIZE_EXCEPTION_MESSAGE = "size should be no larger than expected " ;
12
- public static final String MINIMAL_AGE_EXCEPTION_MESSAGE = "must be at least 18 years old, or have expected format " ;
8
+ public static final String EXCEPTION_VIOLATION_PATTERN = "Поле '%s' - %s" ;
9
+ public static final String NOT_BLANK_EXCEPTION_MESSAGE = "не может быть пустым " ;
10
+ public static final String PATTERN_EXCEPTION_MESSAGE = "должно соответствовать ожидаемому формату " ;
11
+ public static final String SIZE_EXCEPTION_MESSAGE = "размер не должен превышать ожидаемый " ;
12
+ public static final String MINIMAL_AGE_EXCEPTION_MESSAGE = "должен быть не моложе 18 лет или иметь ожидаемый формат " ;
13
13
}
You can’t perform that action at this time.
0 commit comments