From c33b325666a23a6cbf3cf93b74ef9844f0689062 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Wed, 25 Sep 2013 11:01:21 +0200 Subject: [PATCH] Fix #1487 : Fix feedback request messages --- .../Phrasea/Notification/Mail/MailInfoValidationRequest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Alchemy/Phrasea/Notification/Mail/MailInfoValidationRequest.php b/lib/Alchemy/Phrasea/Notification/Mail/MailInfoValidationRequest.php index 3bed35b906..47dde62fe9 100644 --- a/lib/Alchemy/Phrasea/Notification/Mail/MailInfoValidationRequest.php +++ b/lib/Alchemy/Phrasea/Notification/Mail/MailInfoValidationRequest.php @@ -69,9 +69,9 @@ class MailInfoValidationRequest extends AbstractMailWithLink { if (0 < $this->duration) { if (1 < $this->duration) { - return $this->message . "\n\n" . "You have 1 day to validate the selection."; + return $this->message . "\n\n" . sprintf(_("You have %d days to validate the selection."), $this->duration); } else { - return $this->message . "\n\n" . sprintf(_("You have %d days to validate the selection.", $this->duration)); + return $this->message . "\n\n" . _("You have 1 day to validate the selection."); } }