diff --git a/config/locales/en.yml b/config/locales/en.yml index 4e4c9a306..366e59c66 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_private_person: 'Admin contact can be only private person' + admin_contact_can_be_only_private_person: 'Admin contact can be private person only' 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}' diff --git a/doc/epp/contact.md b/doc/epp/contact.md index 7d3a8251e..6dcc6d4d3 100644 --- a/doc/epp/contact.md +++ b/doc/epp/contact.md @@ -28,10 +28,12 @@ Contact Mapping protocol short version: 1 1 Attribute: xmlns:eis="urn:ee:eis:xml:epp:eis-1.0" 1 Contact identificator - Attribute: type="bic/priv/birthday" - "bic" # Business registry code - "priv" # National idendtification number - "birthday" # Birthday date in format in DD-MM-YYYY + Attribute: "type" + "bic" # Business registry code + "priv" # National idendtification number + "birthday" # Birthday date in format in DD-MM-YYYY + Attribute: "cc" + "EE" # Country code in ISO_3166-1 aplha 2 0-1 Base64 encoded document Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id @@ -62,10 +64,12 @@ Contact Mapping protocol short version: 0-1 0-1 Attribute: xmlns:eis="urn:ee:eis:xml:epp:eis-1.0" 0-1 Contact identificator - Attribute: type="bic/priv/birthday" - "bic" # Business registry code - "priv" # National idendtification number - "birthday" # Birthday date in format in DD-MM-YYYY + Attribute: "type" + "bic" # Business registry code + "priv" # National idendtification number + "birthday" # Birthday date in format in DD-MM-YYYY + Attribute: "cc" + "EE" # Country code in ISO_3166-1 aplha 2 0-1 Base64 encoded document. Attribute: type="pdf/bdoc/ddoc/zip/rar/gz/tar/7z" 0-1 Client transaction id diff --git a/spec/epp/domain_spec.rb b/spec/epp/domain_spec.rb index f1d966021..1deb1b4a0 100644 --- a/spec/epp/domain_spec.rb +++ b/spec/epp/domain_spec.rb @@ -691,7 +691,7 @@ describe 'EPP Domain', epp: true do }) response = epp_plain_request(xml, :xml) - response[:msg].should == 'Admin contact can be only private person' + response[:msg].should == 'Admin contact can be private person only' response[:result_code].should == '2306' end end