diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-21 13:20:21 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-21 13:20:21 +0200 |
commit | cb74822e7ad0d03fa0b4dbc3b9c4c14778ba3841 (patch) | |
tree | 86311962b61e35aaa7ae8627e76efafbc5ed887b /actions/newmessage.php | |
parent | 500157998a0d48ead7ea71f1cb77fc77c0ee7238 (diff) |
i18n/L10n consistency updates.
Diffstat (limited to 'actions/newmessage.php')
-rw-r--r-- | actions/newmessage.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/actions/newmessage.php b/actions/newmessage.php index 25e58feab..c58ed3849 100644 --- a/actions/newmessage.php +++ b/actions/newmessage.php @@ -147,8 +147,11 @@ class NewmessageAction extends Action $content_shortened = common_shorten_links($this->content); if (Message::contentTooLong($content_shortened)) { - $this->showForm(sprintf(_('That\'s too long. ' . - 'Max message size is %d chars.'), + // TRANS: Form validation error displayed when message content is too long. + // TRANS: %d is the maximum number of characters for a message. + $this->showForm(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())); return; } |