Add contact email translations #2558

This commit is contained in:
Priit Tark 2015-06-03 10:39:07 +03:00
parent 622e6988ef
commit 245bcf2b6b
4 changed files with 9 additions and 4 deletions

View file

@ -9,7 +9,7 @@ Eposti aadressile saadetakse domeenidega seotud infot seal hulgas kinnitustaotlu
<% if @contact.related_domain_descriptions.present? %> <% if @contact.related_domain_descriptions.present? %>
Muudatusega seotud domeenid:<br> Muudatusega seotud domeenid:<br>
<% @contact.related_domain_descriptions.each do |domain, desc| %> <% @contact.related_domain_descriptions.each do |domain, desc| %>
<%= domain %> (<%= desc.map { |d| t(:d) }.join(', ') %>)<br> <%= domain %> (<%= desc.map { |d| t(d, locale: :et) }.join(', ') %>)<br>
<% end %> <% end %>
<% end %> <% end %>
<br> <br>
@ -38,7 +38,7 @@ E-mail addresses are used to send important information regarding your registere
<% if @contact.related_domain_descriptions.present? %> <% if @contact.related_domain_descriptions.present? %>
Domains affected by this update:<br> Domains affected by this update:<br>
<% @contact.related_domain_descriptions.each do |domain, desc| %> <% @contact.related_domain_descriptions.each do |domain, desc| %>
<%= domain %> (<%= desc.map { |d| t(:d) }.join(', ') %>)<br> <%= domain %> (<%= desc.map { |d| t(d, locale: :en) }.join(', ') %>)<br>
<% end %> <% end %>
<% end %> <% end %>
<br> <br>

View file

@ -9,7 +9,7 @@ Eposti aadressile saadetakse domeenidega seotud infot seal hulgas kinnitustaotlu
<% if @contact.related_domain_descriptions.present? %> <% if @contact.related_domain_descriptions.present? %>
Muudatusega seotud domeenid: Muudatusega seotud domeenid:
<% @contact.related_domain_descriptions.each do |domain, desc| %> <% @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 %>
<% end %> <% end %>
@ -38,7 +38,7 @@ E-mail addresses are used to send important information regarding your registere
<% if @contact.related_domain_descriptions.present? %> <% if @contact.related_domain_descriptions.present? %>
Domains affected by this update: Domains affected by this update:
<% @contact.related_domain_descriptions.each do |domain, desc| %> <% @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 %>
<% end %> <% end %>

View file

@ -810,3 +810,5 @@ en:
invalid_csr_or_crt: 'Invalid CSR or CRT' invalid_csr_or_crt: 'Invalid CSR or CRT'
webserver_missing_client_cert_directive: 'Webserver missing client cert directive' webserver_missing_client_cert_directive: 'Webserver missing client cert directive'
webserver_client_cert_directive_should_be_required: 'Webserver client cert directive should be required' webserver_client_cert_directive_should_be_required: 'Webserver client cert directive should be required'
tech: Tech contact
admin: Admin contact

View file

@ -2,3 +2,6 @@ et:
username: 'Kasutajanimi' username: 'Kasutajanimi'
password: 'Parool' password: 'Parool'
log_in: 'Logi sisse' log_in: 'Logi sisse'
registrant: 'Registreerija'
tech: Tehniline kontakt
admin: Halduskontakt