diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index f5f0cfbef..fb7633ef4 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -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 diff --git a/config/locales/en.yml b/config/locales/en.yml index d4ed0cefc..069cc352e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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}'