From: Siebrand Mazeland Date: Thu, 24 Mar 2011 15:52:32 +0000 (+0100) Subject: Fix i18n. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3810482d1c06667b76991f52726bc82fd82a8c0a;p=quix0rs-gnu-social.git Fix i18n. --- diff --git a/lib/implugin.php b/lib/implugin.php index 2811e7d644..c75e6a38af 100644 --- a/lib/implugin.php +++ b/lib/implugin.php @@ -482,9 +482,12 @@ abstract class ImPlugin extends Plugin $body = trim(strip_tags($body)); $content_shortened = common_shorten_links($body); if (Notice::contentTooLong($content_shortened)) { - $this->sendFromSite($screenname, sprintf(_('Message too long - maximum is %1$d characters, you sent %2$d.'), - Notice::maxContent(), - mb_strlen($content_shortened))); + $this->sendFromSite($screenname, + sprintf(_m('Message too long - maximum is %1$d character, you sent %2$d.', + 'Message too long - maximum is %1$d characters, you sent %2$d.', + Notice::maxContent()), + Notice::maxContent(), + mb_strlen($content_shortened))); return; }