diff --git a/lib/Compose.php b/lib/Compose.php index 92279a058..7544c3625 100644 --- a/lib/Compose.php +++ b/lib/Compose.php @@ -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 )); @@ -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 )); }