L10n and whitespace updates.

This commit is contained in:
Siebrand Mazeland 2011-04-06 15:08:39 +02:00
parent e25cb9b570
commit cc78aca0d2
4 changed files with 7 additions and 7 deletions

View File

@ -235,7 +235,7 @@ class AnonymousFavePlugin extends Plugin
if (!$id) { if (!$id) {
// TRANS: Server exception. // TRANS: Server exception.
throw new ServerException(_m("Couldn't create anonymous user session.")); throw new ServerException(_m("Could not create anonymous user session."));
} }
// Stick the Profile ID into the nickname // Stick the Profile ID into the nickname
@ -246,7 +246,7 @@ class AnonymousFavePlugin extends Plugin
if (!$result) { if (!$result) {
// TRANS: Server exception. // TRANS: Server exception.
throw new ServerException(_m("Couldn't create anonymous user session.")); throw new ServerException(_m("Could not create anonymous user session."));
} }
common_log( common_log(

View File

@ -152,7 +152,7 @@ class Fave_tally extends Memcached_DataObject
$msg = sprintf( $msg = sprintf(
// TRANS: Server exception. // TRANS: Server exception.
// TRANS: %d is the notice ID (number). // TRANS: %d is the notice ID (number).
_m("Couldn't update favorite tally for notice ID %d."), _m("Could not update favorite tally for notice ID %d."),
$noticeID $noticeID
); );
throw new ServerException($msg); throw new ServerException($msg);
@ -181,7 +181,7 @@ class Fave_tally extends Memcached_DataObject
$msg = sprintf( $msg = sprintf(
// TRANS: Server exception. // TRANS: Server exception.
// TRANS: %d is the notice ID (number). // TRANS: %d is the notice ID (number).
_m("Couldn't update favorite tally for notice ID %d."), _m("Could not update favorite tally for notice ID %d."),
$noticeID $noticeID
); );
throw new ServerException($msg); throw new ServerException($msg);
@ -212,7 +212,7 @@ class Fave_tally extends Memcached_DataObject
$msg = sprintf( $msg = sprintf(
// TRANS: Server exception. // TRANS: Server exception.
// TRANS: %d is the notice ID (number). // TRANS: %d is the notice ID (number).
_m("Couldn't create favorite tally for notice ID %d."), _m("Could not create favorite tally for notice ID %d."),
$noticeID $noticeID
); );
throw new ServerException($msg); throw new ServerException($msg);

View File

@ -57,7 +57,7 @@ class AnonFavorAction extends RedirectingAction
if (empty($profile) || $_SERVER['REQUEST_METHOD'] != 'POST') { if (empty($profile) || $_SERVER['REQUEST_METHOD'] != 'POST') {
// TRANS: Client error. // TRANS: Client error.
$this->clientError( _m('Could not favor notice! Please make sure your browser has cookies enabled.') $this->clientError(_m('Could not favor notice! Please make sure your browser has cookies enabled.')
); );
return; return;
} }

View File

@ -83,7 +83,7 @@ class ApiLoggerPlugin extends Plugin
'homepage' => 'http://status.net/wiki/Plugin:ApiLogger', 'homepage' => 'http://status.net/wiki/Plugin:ApiLogger',
'rawdescription' => 'rawdescription' =>
// TRANS: Plugin description. // TRANS: Plugin description.
_m('Logging of API requests.')); _m('Allows random sampling of API requests.'));
return true; return true;
} }
} }