From 12aaa7007c13759c129816954b5eb35c3a4fe2dc Mon Sep 17 00:00:00 2001 From: Sylvain Date: Thu, 15 Dec 2016 14:27:58 +0100 Subject: [PATCH] fix a bug about notification email for refunf invoices --- CHANGELOG.md | 1 + config/locales/mails.en.yml | 2 +- config/locales/mails.fr.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4da49ae12..c74a72ef5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Added asterisks on mandatory fields in member's form - Fixed wording on SSO screens - Ability to send again the auth-system migration token by email +- Fix a bug: notification email about refund invoice tells about subscription while concerning wallet credit ## v2.4.7 2016 December 14 diff --git a/config/locales/mails.en.yml b/config/locales/mails.en.yml index 56b7901f3..5aac5158e 100644 --- a/config/locales/mails.en.yml +++ b/config/locales/mails.en.yml @@ -140,7 +140,7 @@ en: notify_member_avoir_ready: subject: "Your FabLab's refund invoice" body: - please_find_attached_html: "Please find as attached file your refund invoice from {DATE}, with an amount of {AMOUNT} concerning your {TYPE, select, Reservation{reservation} other{subscription}}." # messageFormat interpolation + please_find_attached_html: "Please find as attached file your refund invoice from {DATE}, with an amount of {AMOUNT} concerning your {TYPE, select, Reservation{reservation} WalletTransaction{wallet credit} other{subscription}}." # messageFormat interpolation invoice_in_your_dashboard_html: "You can access your refund invoice in %{DASHBOARD} on the Fab Lab website." your_dashboard: "your dashboard" diff --git a/config/locales/mails.fr.yml b/config/locales/mails.fr.yml index a34aff9c6..0469bd941 100644 --- a/config/locales/mails.fr.yml +++ b/config/locales/mails.fr.yml @@ -140,7 +140,7 @@ fr: notify_member_avoir_ready: subject: "Votre facture d'avoir du FabLab" body: - please_find_attached_html: "Vous trouverez en pièce jointe votre facture d'avoir du {DATE}, d'un montant de {AMOUNT} concernant votre {TYPE, select, Reservation{réservation} other{abonnement}}." # messageFormat interpolation + please_find_attached_html: "Vous trouverez en pièce jointe votre facture d'avoir du {DATE}, d'un montant de {AMOUNT} concernant votre {TYPE, select, Reservation{réservation} WalletTransaction{crédit du porte-monnaie} other{abonnement}}." # messageFormat interpolation invoice_in_your_dashboard_html: "Vous pouvez à tout moment retrouver votre facture d'avoir dans %{DASHBOARD} sur le site du Fab Lab." your_dashboard: "votre tableau de bord"