Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions lib/Compose.php
Original file line number Diff line number Diff line change
Expand Up @@ -1429,10 +1429,11 @@ protected function _prepSendMessageAssert(Horde_Mail_Rfc822_List $email)
Horde::permissionDeniedError('imp', 'max_timelimit');
throw new IMP_Compose_Exception(sprintf(
ngettext(
"You are not allowed to send messages to more than %d recipient within %d hours.",
"You are not allowed to send messages to more than %d recipients within %d hours.",
"You (%s) are not allowed to send messages to more than %d recipient within %d hours.",
"You (%s) are not allowed to send messages to more than %d recipients within %d hours.",
$imp_imap->max_compose_timelimit
),
$GLOBALS['registry']->getAuth(),
$imp_imap->max_compose_timelimit,
$injector->getInstance('IMP_Sentmail')->limit_period
));
Expand All @@ -1444,10 +1445,11 @@ protected function _prepSendMessageAssert(Horde_Mail_Rfc822_List $email)
Horde::permissionDeniedError('imp', 'max_recipients');
throw new IMP_Compose_Exception(sprintf(
ngettext(
"You are not allowed to send messages to more than %d recipient.",
"You are not allowed to send messages to more than %d recipients.",
"You (%s) are not allowed to send messages to more than %d recipient.",
"You (%s) are not allowed to send messages to more than %d recipients.",
$imp_imap->max_compose_recipients
),
$GLOBALS['registry']->getAuth(),
$imp_imap->max_compose_recipients
));
}
Expand Down