mirror of
https://github.com/Evolix/chexpire.git
synced 2024-06-05 09:04:29 +02:00
Localization of notification mail templates
This commit is contained in:
parent
1fb78a55f9
commit
f646a96953
|
@ -0,0 +1,13 @@
|
|||
<%- if @check.comment.present? -%>
|
||||
<p>
|
||||
Vous avez saisi le commentaire suivant pour ce domaine :
|
||||
|
||||
<blockquote>
|
||||
<%= @check.comment -%>
|
||||
</blockquote>
|
||||
</p>
|
||||
<%- end -%>
|
||||
|
||||
<%- if @check.vendor.present? -%>
|
||||
Fournisseur : <%= @check.vendor %>
|
||||
<% end %>
|
|
@ -0,0 +1,11 @@
|
|||
<%- if @check.comment.present? -%>
|
||||
Vous avez saisi le commentaire suivant pour ce domaine :
|
||||
|
||||
<%= @check.comment -%>
|
||||
<%- end -%>
|
||||
|
||||
|
||||
|
||||
<%- if @check.vendor.present? -%>
|
||||
Fournisseur : <%= @check.vendor %>
|
||||
<% end %>
|
|
@ -0,0 +1,11 @@
|
|||
<br />
|
||||
<br />
|
||||
--
|
||||
|
||||
<p>
|
||||
Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> avant la date d'expiration.</br>
|
||||
Vous pouvez gérer les notifications pour cette vérification à ce adresse :
|
||||
<%= link_to nil, edit_check_url(check) %>
|
||||
</p>
|
||||
|
||||
<p>L'équipe Chexpire</p>
|
|
@ -0,0 +1,8 @@
|
|||
--
|
||||
|
||||
Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> avant
|
||||
la date d'expiration.
|
||||
Vous pouvez gérer les notifications pour cette vérification à ce adresse :
|
||||
<%= edit_check_url(check) %>
|
||||
|
||||
L'équipe Chexpire
|
|
@ -0,0 +1,10 @@
|
|||
<br />
|
||||
<br />
|
||||
--
|
||||
|
||||
<p>Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> avant la dernière date d'expiration connue.<br />
|
||||
Vous pouvez gérer les notifications pour cette vérification à ce adresse :
|
||||
<%= link_to nil, edit_check_url(check) %>
|
||||
</p>
|
||||
|
||||
<p>L'équipe Chexpire</p>
|
|
@ -0,0 +1,8 @@
|
|||
--
|
||||
|
||||
Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %>
|
||||
avant la dernière date d'expiration connue.
|
||||
Vous pouvez gérer les notifications pour cette vérification à ce adresse :
|
||||
<%= edit_check_url(check) %>
|
||||
|
||||
L'équipe Chexpire
|
|
@ -0,0 +1,12 @@
|
|||
<p>
|
||||
Salut,
|
||||
<br />
|
||||
<br />
|
||||
le domaine <strong><%= @check.domain %></strong> va expirer le
|
||||
<strong><%= format_utc(@check.domain_expires_at) %></strong>.
|
||||
</p>
|
||||
<br />
|
||||
|
||||
<%= render "check_comment_vendor" %>
|
||||
|
||||
<%= render "footer_expires_soon", delay: @notification.delay, check: @check %>
|
|
@ -0,0 +1,9 @@
|
|||
Salut,
|
||||
|
||||
le domaine <%= @check.domain %> va expirer le <%= format_utc(@check.domain_expires_at) %>.
|
||||
|
||||
|
||||
<%= render "check_comment_vendor" %>
|
||||
|
||||
|
||||
<%= render "footer_expires_soon", delay: @notification.delay, check: @check %>
|
|
@ -11,18 +11,6 @@ or delete the check by following this link:
|
|||
|
||||
<%= edit_check_url(@check) %>
|
||||
|
||||
|
||||
<%- if @check.comment.present? -%>
|
||||
You wrote the following comment with this domain:
|
||||
|
||||
<%= @check.comment -%>
|
||||
<%- end -%>
|
||||
|
||||
|
||||
|
||||
<%- if @check.vendor.present? -%>
|
||||
Vendor: <%= @check.vendor %>
|
||||
<% end %>
|
||||
|
||||
<%= render "check_comment_vendor" %>
|
||||
|
||||
<%= render "footer_recurrent_failures", delay: @notification.delay, check: @check %>
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<p>
|
||||
Salut,
|
||||
<br />
|
||||
<br />
|
||||
|
||||
Nous avons rencontré de <strong>multiples erreurs</strong> pendant l'exécution des vérifications du domaine <strong><%= @check.domain %></strong>.
|
||||
Nous ne pouvons plus interroger la base Whois pour vérifier la date d'expiration.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
La dernière date d'expiration connue est le <%= format_utc(@check.domain_expires_at) %>.
|
||||
<br />
|
||||
Notre dernière vérification réussie a eu lieu le <%= format_utc(@check.last_success_at) %>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Si vous avez supprimé le domaine ou ne l'avez pas renouvellé, merci de désactiver la vérification associée, avec ce lien :<br /><br />
|
||||
<%= link_to nil, edit_check_url(@check) %>
|
||||
</p>
|
||||
<br />
|
||||
<%= render "check_comment_vendor" %>
|
||||
|
||||
|
||||
<%= render "footer_recurrent_failures", delay: @notification.delay, check: @check %>
|
|
@ -0,0 +1,13 @@
|
|||
Salut,
|
||||
|
||||
Nous avons rencontré de multiples erreurs pendant l'exécution des vérifications
|
||||
du domaine <strong><%= @check.domain %></strong>.
|
||||
Nous ne pouvons plus interroger la base Whois pour vérifier la date d'expiration.
|
||||
|
||||
Si vous avez supprimé le domaine ou ne l'avez pas renouvellé,
|
||||
merci de désactiver la vérification associée, avec ce lien :
|
||||
<%= edit_check_url(@check) %>
|
||||
|
||||
<%= render "check_comment_vendor" %>
|
||||
|
||||
<%= render "footer_recurrent_failures", delay: @notification.delay, check: @check %>
|
Loading…
Reference in a new issue