summaryrefslogtreecommitdiff
path: root/actions/apidirectmessagenew.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-21 01:53:42 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-21 01:53:42 +0200
commit1603b7afc976cf1c19227f50163b9b48cc839a8b (patch)
tree4aade84df4f6b3f2863276f880572c8af1ea0eb3 /actions/apidirectmessagenew.php
parent8fd44a13bfb765f98086de8897a09e729c3ddf75 (diff)
i18n/L10n updates, translator comments added/fixed, superfluous whitespace removed.
Diffstat (limited to 'actions/apidirectmessagenew.php')
-rw-r--r--actions/apidirectmessagenew.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apidirectmessagenew.php b/actions/apidirectmessagenew.php
index c126cd312..ccef57b3f 100644
--- a/actions/apidirectmessagenew.php
+++ b/actions/apidirectmessagenew.php
@@ -121,9 +121,9 @@ class ApiDirectMessageNewAction extends ApiAuthAction
} else {
$content_shortened = common_shorten_links($this->content);
if (Message::contentTooLong($content_shortened)) {
- // TRANS: Client error displayed when message content is too long.
- // TRANS: %d is the maximum number of characters for a message.
$this->clientError(
+ // TRANS: Client error displayed when message content is too long.
+ // TRANS: %d is the maximum number of characters for a message.
sprintf(_m('That\'s too long. Maximum message size is %d character.', 'That\'s too long. Maximum message size is %d characters.', Message::maxContent()),
Message::maxContent()
),