mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
created birth date validator
This commit is contained in:
parent
33a855fbe7
commit
addeebfeb3
6 changed files with 32 additions and 34 deletions
|
@ -8,12 +8,6 @@ en:
|
|||
valid_ident: >-
|
||||
Ident update is not allowed.
|
||||
Consider creating new contact object
|
||||
valid_ident_date_format: >-
|
||||
Ident update is not allowed.
|
||||
Date format is invalid
|
||||
valid_ident_date_range: >-
|
||||
Ident update is not allowed.
|
||||
Age must be over 0 and under 150
|
||||
ident_update: >-
|
||||
Only ident type and country can be updated in case of invalid ident.
|
||||
Please create new contact object to update ident code
|
||||
|
|
|
@ -9,3 +9,4 @@ en:
|
|||
code:
|
||||
invalid_national_id: does not conform to national identification number format of %{country}
|
||||
invalid_reg_no: does not conform to registration number format of %{country}
|
||||
invalid_birth_date: Birth date is invalid, age must be over 0 and under 150
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue