mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
Merge pull request #660 from romainneutron/fix-1487
[3.8] Fix #1487 : Fix feedback request messages
This commit is contained in:
@@ -69,9 +69,9 @@ class MailInfoValidationRequest extends AbstractMailWithLink
|
|||||||
{
|
{
|
||||||
if (0 < $this->duration) {
|
if (0 < $this->duration) {
|
||||||
if (1 < $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 {
|
} 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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user