diff --git a/app/views/contact_mailer/email_updated.html.erb b/app/views/contact_mailer/email_updated.html.erb index 438bbdbb5..e4785444b 100644 --- a/app/views/contact_mailer/email_updated.html.erb +++ b/app/views/contact_mailer/email_updated.html.erb @@ -9,7 +9,7 @@ Eposti aadressile saadetakse domeenidega seotud infot seal hulgas kinnitustaotlu <% if @contact.related_domain_descriptions.present? %> Muudatusega seotud domeenid:
<% @contact.related_domain_descriptions.each do |domain, desc| %> - <%= domain %> (<%= desc.map { |d| t(:d) }.join(', ') %>)
+ <%= domain %> (<%= desc.map { |d| t(d, locale: :et) }.join(', ') %>)
<% end %> <% end %>
@@ -38,7 +38,7 @@ E-mail addresses are used to send important information regarding your registere <% if @contact.related_domain_descriptions.present? %> Domains affected by this update:
<% @contact.related_domain_descriptions.each do |domain, desc| %> - <%= domain %> (<%= desc.map { |d| t(:d) }.join(', ') %>)
+ <%= domain %> (<%= desc.map { |d| t(d, locale: :en) }.join(', ') %>)
<% end %> <% end %>
diff --git a/app/views/contact_mailer/email_updated.text.erb b/app/views/contact_mailer/email_updated.text.erb index a304c5c66..61d875351 100644 --- a/app/views/contact_mailer/email_updated.text.erb +++ b/app/views/contact_mailer/email_updated.text.erb @@ -9,7 +9,7 @@ Eposti aadressile saadetakse domeenidega seotud infot seal hulgas kinnitustaotlu <% if @contact.related_domain_descriptions.present? %> Muudatusega seotud domeenid: <% @contact.related_domain_descriptions.each do |domain, desc| %> - <%= domain %> (<%= desc.map { |d| t(:d) }.join(', ') %>) + <%= domain %> (<%= desc.map { |d| t(d, locale: :et) }.join(', ') %>) <% end %> <% end %> @@ -38,7 +38,7 @@ E-mail addresses are used to send important information regarding your registere <% if @contact.related_domain_descriptions.present? %> Domains affected by this update: <% @contact.related_domain_descriptions.each do |domain, desc| %> - <%= domain %> (<%= desc.map { |d| t(:d) }.join(', ') %>) + <%= domain %> (<%= desc.map { |d| t(d, locale: :en) }.join(', ') %>) <% end %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 954e89eeb..9203bf6ff 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -810,3 +810,5 @@ en: invalid_csr_or_crt: 'Invalid CSR or CRT' webserver_missing_client_cert_directive: 'Webserver missing client cert directive' webserver_client_cert_directive_should_be_required: 'Webserver client cert directive should be required' + tech: Tech contact + admin: Admin contact diff --git a/config/locales/et.yml b/config/locales/et.yml index 37e1e9dea..2e56c701f 100644 --- a/config/locales/et.yml +++ b/config/locales/et.yml @@ -2,3 +2,6 @@ et: username: 'Kasutajanimi' password: 'Parool' log_in: 'Logi sisse' + registrant: 'Registreerija' + tech: Tehniline kontakt + admin: Halduskontakt