summaryrefslogtreecommitdiff
path: root/lib/mailhandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mailhandler.php')
-rw-r--r--lib/mailhandler.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/mailhandler.php b/lib/mailhandler.php
index e9ba41839..69eb26bdd 100644
--- a/lib/mailhandler.php
+++ b/lib/mailhandler.php
@@ -57,8 +57,9 @@ class MailHandler
$msg = $this->cleanup_msg($msg);
$msg = common_shorten_links($msg);
if (Notice::contentTooLong($msg)) {
- $this->error($from, sprintf(_('That\'s too long. '.
- 'Max notice size is %d chars.'),
+ $this->error($from, sprintf(_('That\'s too long. Maximum notice size is %d character.',
+ 'That\'s too long. Maximum notice size is %d characters.',
+ Notice::maxContent()),
Notice::maxContent()));
}