Citizen message fix

This commit is contained in:
Martin Lensment 2015-03-20 11:08:51 +02:00
parent 6717f1a3b0
commit 3bd5be4e22
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@ class Epp::Domain < Domain
if action != 'rem' if action != 'rem'
if x['type'] == 'admin' && c.bic? 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 next
end end
end end

View file

@ -68,7 +68,7 @@ en:
domain_contacts: domain_contacts:
invalid: 'Contacts are invalid' invalid: 'Contacts are invalid'
not_found: 'Contact was not found' 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: admin_contacts:
out_of_range: 'Admin contacts count must be between %{min}-%{max}' 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}' less_than_or_equal_to: 'Admin contacts count must be less than or equal to %{count}'