From c9c8b25db683e0f1f3686aab959d97e0b9b24864 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Mon, 2 Jul 2018 18:38:00 +0200 Subject: [PATCH] Fixed missing delay->interval renaming in FR emails. --- app/views/notifications_mailer/_footer_expires_soon.fr.html.erb | 2 +- app/views/notifications_mailer/_footer_expires_soon.fr.text.erb | 2 +- .../notifications_mailer/_footer_recurrent_failures.fr.html.erb | 2 +- .../notifications_mailer/_footer_recurrent_failures.fr.text.erb | 2 +- app/views/notifications_mailer/domain_expires_soon.fr.html.erb | 2 +- app/views/notifications_mailer/domain_expires_soon.fr.text.erb | 2 +- .../notifications_mailer/domain_recurrent_failures.fr.html.erb | 2 +- .../notifications_mailer/domain_recurrent_failures.fr.text.erb | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb b/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb index d6f13b9..2389402 100644 --- a/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb +++ b/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb @@ -3,7 +3,7 @@ --

- Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> avant la date d'expiration.
+ Vous avez reçu ce courriel à <%= pluralize(interval, "jour", "jours") %> avant la date d'expiration.
Vous pouvez gérer les notifications pour cette vérification à ce adresse : <%= link_to nil, edit_check_url(check) %>

diff --git a/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb b/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb index 35d29f2..6c3880b 100644 --- a/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb +++ b/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb @@ -1,6 +1,6 @@ -- -Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> avant +Vous avez reçu ce courriel à <%= pluralize(interval, "jour", "jours") %> avant la date d'expiration. Vous pouvez gérer les notifications pour cette vérification à ce adresse : <%= edit_check_url(check) %> diff --git a/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb b/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb index 8d68f9d..bb35480 100644 --- a/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb +++ b/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb @@ -2,7 +2,7 @@
-- -

Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> avant la dernière date d'expiration connue.
+

Vous avez reçu ce courriel à <%= pluralize(interval, "jour", "jours") %> avant la dernière date d'expiration connue.
Vous pouvez gérer les notifications pour cette vérification à ce adresse : <%= link_to nil, edit_check_url(check) %>

diff --git a/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb b/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb index ca48eea..a77dd21 100644 --- a/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb +++ b/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb @@ -1,6 +1,6 @@ -- -Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> +Vous avez reçu ce courriel à <%= pluralize(interval, "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) %> diff --git a/app/views/notifications_mailer/domain_expires_soon.fr.html.erb b/app/views/notifications_mailer/domain_expires_soon.fr.html.erb index 365f986..9b39910 100644 --- a/app/views/notifications_mailer/domain_expires_soon.fr.html.erb +++ b/app/views/notifications_mailer/domain_expires_soon.fr.html.erb @@ -9,4 +9,4 @@ <%= render "check_comment_vendor" %> -<%= render "footer_expires_soon", delay: @notification.delay, check: @check %> +<%= render "footer_expires_soon", interval: @notification.interval, check: @check %> diff --git a/app/views/notifications_mailer/domain_expires_soon.fr.text.erb b/app/views/notifications_mailer/domain_expires_soon.fr.text.erb index 7d11568..2caad62 100644 --- a/app/views/notifications_mailer/domain_expires_soon.fr.text.erb +++ b/app/views/notifications_mailer/domain_expires_soon.fr.text.erb @@ -6,4 +6,4 @@ le domaine <%= @check.domain %> va expirer le <%= format_utc(@check.domain_expir <%= render "check_comment_vendor" %> -<%= render "footer_expires_soon", delay: @notification.delay, check: @check %> +<%= render "footer_expires_soon", interval: @notification.interval, check: @check %> diff --git a/app/views/notifications_mailer/domain_recurrent_failures.fr.html.erb b/app/views/notifications_mailer/domain_recurrent_failures.fr.html.erb index 94e15ba..770a090 100644 --- a/app/views/notifications_mailer/domain_recurrent_failures.fr.html.erb +++ b/app/views/notifications_mailer/domain_recurrent_failures.fr.html.erb @@ -21,4 +21,4 @@ Si vous avez supprimé le domaine ou ne l'avez pas renouvellé, merci de désact <%= render "check_comment_vendor" %> -<%= render "footer_recurrent_failures", delay: @notification.delay, check: @check %> +<%= render "footer_recurrent_failures", interval: @notification.interval, check: @check %> diff --git a/app/views/notifications_mailer/domain_recurrent_failures.fr.text.erb b/app/views/notifications_mailer/domain_recurrent_failures.fr.text.erb index 64b76c5..89e3e14 100644 --- a/app/views/notifications_mailer/domain_recurrent_failures.fr.text.erb +++ b/app/views/notifications_mailer/domain_recurrent_failures.fr.text.erb @@ -10,4 +10,4 @@ merci de désactiver la vérification associée, avec ce lien : <%= render "check_comment_vendor" %> -<%= render "footer_recurrent_failures", delay: @notification.delay, check: @check %> +<%= render "footer_recurrent_failures", interval: @notification.interval, check: @check %>