summaryrefslogtreecommitdiff
path: root/scripts/xmppdaemon.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-10 14:18:54 -0800
committerEvan Prodromou <evan@status.net>2010-01-10 14:18:54 -0800
commit15b88697a7c182faead1bbddfe38b59fdc54a0a2 (patch)
tree69b41257e797a7919ffa8ee77619805957d0abe8 /scripts/xmppdaemon.php
parent866dfa6822df54765a9b92336722d86cfad6b123 (diff)
parent63eddf216fac848aa2b7afbbafb0fcc4bf8b7d79 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'scripts/xmppdaemon.php')
-rwxr-xr-xscripts/xmppdaemon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php
index 20105b602..cef9c4bd0 100755
--- a/scripts/xmppdaemon.php
+++ b/scripts/xmppdaemon.php
@@ -298,7 +298,7 @@ class XMPPDaemon extends Daemon
$content_shortened = common_shorten_links($body);
if (Notice::contentTooLong($content_shortened)) {
$from = jabber_normalize_jid($pl['from']);
- $this->from_site($from, sprintf(_("Message too long - maximum is %d characters, you sent %d"),
+ $this->from_site($from, sprintf(_('Message too long - maximum is %1$d characters, you sent %2$d.'),
Notice::maxContent(),
mb_strlen($content_shortened)));
return;