Merge pull request #660 from romainneutron/fix-1487

[3.8] Fix #1487 : Fix feedback request messages
This commit is contained in:
Romain Neutron
2013-09-25 02:52:52 -07:00

View File

@@ -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.");
}
}