diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-28 01:19:04 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-28 01:21:21 +0200 |
commit | 04ae500749ea2e5937ac1f28ef8c7edf4f99f0a1 (patch) | |
tree | 030549cd14592ca2f07c16babee27f0d67ddcf4a /actions/apistatusesupdate.php | |
parent | a12474a99d0322123b1c8318dfa609d5d5392c7f (diff) |
* i18n/L10n fixes.
* translator documentation updated.
* superfluous whitespace removed.
Diffstat (limited to 'actions/apistatusesupdate.php')
-rw-r--r-- | actions/apistatusesupdate.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/apistatusesupdate.php b/actions/apistatusesupdate.php index 822ebacbd..666ed9fa3 100644 --- a/actions/apistatusesupdate.php +++ b/actions/apistatusesupdate.php @@ -160,7 +160,6 @@ class ApiStatusesUpdateAction extends ApiAuthAction * @param array $args $_REQUEST args * * @return boolean success flag - * */ function prepare($args) { @@ -227,6 +226,7 @@ class ApiStatusesUpdateAction extends ApiAuthAction } if (empty($this->auth_user)) { + // TRANS: Client error displayed when updating a status for a non-existing user. $this->clientError(_('No such user.'), 404, $this->format); return; } @@ -234,7 +234,6 @@ class ApiStatusesUpdateAction extends ApiAuthAction $status_shortened = common_shorten_links($this->status); if (Notice::contentTooLong($status_shortened)) { - // Note: Twitter truncates anything over 140, flags the status // as "truncated." @@ -304,6 +303,8 @@ class ApiStatusesUpdateAction extends ApiAuthAction if (Notice::contentTooLong($status_shortened)) { $upload->delete(); + // TRANS: Client error displayed exceeding the maximum notice length. + // TRANS: %d is the maximum lenth for a notice. $msg = _m('Maximum notice size is %d character, including attachment URL.', 'Maximum notice size is %d characters, including attachment URL.', Notice::maxContent()); |