mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 15:19:55 +02:00
Citizen message fix
This commit is contained in:
parent
6717f1a3b0
commit
3bd5be4e22
2 changed files with 2 additions and 2 deletions
|
@ -207,7 +207,7 @@ class Epp::Domain < Domain
|
|||
|
||||
if action != 'rem'
|
||||
if x['type'] == 'admin' && c.bic?
|
||||
add_epp_error('2306', 'contact', x.text, [:domain_contacts, :admin_contact_can_be_only_citizen])
|
||||
add_epp_error('2306', 'contact', x.text, [:domain_contacts, :admin_contact_can_be_only_private_person])
|
||||
next
|
||||
end
|
||||
end
|
||||
|
|
|
@ -68,7 +68,7 @@ en:
|
|||
domain_contacts:
|
||||
invalid: 'Contacts are invalid'
|
||||
not_found: 'Contact was not found'
|
||||
admin_contact_can_be_only_citizen: 'Admin contact can be only citizen'
|
||||
admin_contact_can_be_only_private_person: 'Admin contact can be only private person'
|
||||
admin_contacts:
|
||||
out_of_range: 'Admin contacts count must be between %{min}-%{max}'
|
||||
less_than_or_equal_to: 'Admin contacts count must be less than or equal to %{count}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue