mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
Improved verification email translations
This commit is contained in:
parent
475b1e7fbd
commit
03f2ab0463
5 changed files with 16 additions and 6 deletions
|
@ -3,7 +3,7 @@ class RegistrarMailer < ApplicationMailer
|
|||
|
||||
def contact_verified(email:, contact:, poi:)
|
||||
@contact = contact
|
||||
subject = 'Successful Contact Verification'
|
||||
subject = default_i18n_subject(contact_code: contact.code)
|
||||
attachments['proof_of_identity.pdf'] = poi
|
||||
mail(to: email, subject: subject)
|
||||
end
|
||||
|
|
|
@ -8,7 +8,7 @@ Teie registripidaja <%= registrar.name %> on palunud Teil kinnitada oma isikut,
|
|||
<br><br>
|
||||
Palun kinnitage oma isikut, et jätkata.
|
||||
<br><br>
|
||||
<a href="<%= @verification_link %>" style="display: inline-block; padding: 10px 20px; background-color: #007BFF; color: white; text-decoration: none; border-radius: 5px;">Jätka eeID-ga</a>
|
||||
<a href="<%= @verification_link + "?ui_locale=et" %>" style="display: inline-block; padding: 10px 20px; background-color: #007BFF; color: white; text-decoration: none; border-radius: 5px;">Jätka eeID-ga</a>
|
||||
<br><br>
|
||||
Kontaktandmed:<br>
|
||||
<%= render 'mailers/shared/registrant/registrant.et.html', registrant: contact, with_phone: true %>
|
||||
|
@ -24,7 +24,7 @@ Your registrar <%= registrar.name %> has requested that you verify your identity
|
|||
<br><br>
|
||||
Please confirm your identity to continue.
|
||||
<br><br>
|
||||
<a href="<%= @verification_link %>" style="display: inline-block; padding: 10px 20px; background-color: #007BFF; color: white; text-decoration: none; border-radius: 5px;">Continue with eeID</a>
|
||||
<a href="<%= @verification_link + "?ui_locale=en" %>" style="display: inline-block; padding: 10px 20px; background-color: #007BFF; color: white; text-decoration: none; border-radius: 5px;">Continue with eeID</a>
|
||||
<br><br>
|
||||
Contact information:<br>
|
||||
<%= render 'mailers/shared/registrant/registrant.en.html', registrant: contact, with_phone: true %>
|
||||
|
|
|
@ -6,7 +6,7 @@ Tere <%= contact.name %>,
|
|||
|
||||
Teie registripidaja <%= registrar.name %> on palunud teil kinnitada oma isikut, et jätkata domeeni toimingutega.
|
||||
Palun kinnitage oma isikut, klõpsates alloleval lingil:
|
||||
<%= @verification_link %>
|
||||
<%= @verification_link + "?ui_locales=et" %>
|
||||
|
||||
Kontaktandmed:
|
||||
<%= render 'mailers/shared/registrant/registrant.et.text', registrant: contact, with_phone: true %>
|
||||
|
@ -21,7 +21,7 @@ Hi <%= contact.name %>,
|
|||
|
||||
Your registrar <%= registrar.name %> has requested that you verify your identity in order to proceed with domain actions.
|
||||
Please confirm your identity to continue by clicking the link below:
|
||||
<%= @verification_link %>
|
||||
<%= @verification_link + "?ui_locales=en" %>
|
||||
|
||||
Contact information:
|
||||
<%= render 'mailers/shared/registrant/registrant.en.text', registrant: contact, with_phone: true %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue