From cc78aca0d2db7c58ee4433d6ecb0a57d54ef5d8a Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 6 Apr 2011 15:08:39 +0200 Subject: [PATCH] L10n and whitespace updates. --- plugins/AnonymousFave/AnonymousFavePlugin.php | 4 ++-- plugins/AnonymousFave/Fave_tally.php | 6 +++--- plugins/AnonymousFave/anonfavor.php | 2 +- plugins/ApiLogger/ApiLoggerPlugin.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/AnonymousFave/AnonymousFavePlugin.php b/plugins/AnonymousFave/AnonymousFavePlugin.php index 917f5a7e8c..af6ea20bd3 100644 --- a/plugins/AnonymousFave/AnonymousFavePlugin.php +++ b/plugins/AnonymousFave/AnonymousFavePlugin.php @@ -235,7 +235,7 @@ class AnonymousFavePlugin extends Plugin if (!$id) { // 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 @@ -246,7 +246,7 @@ class AnonymousFavePlugin extends Plugin if (!$result) { // 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( diff --git a/plugins/AnonymousFave/Fave_tally.php b/plugins/AnonymousFave/Fave_tally.php index f48a1e82b3..7a44c2350d 100644 --- a/plugins/AnonymousFave/Fave_tally.php +++ b/plugins/AnonymousFave/Fave_tally.php @@ -152,7 +152,7 @@ class Fave_tally extends Memcached_DataObject $msg = sprintf( // TRANS: Server exception. // 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 ); throw new ServerException($msg); @@ -181,7 +181,7 @@ class Fave_tally extends Memcached_DataObject $msg = sprintf( // TRANS: Server exception. // 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 ); throw new ServerException($msg); @@ -212,7 +212,7 @@ class Fave_tally extends Memcached_DataObject $msg = sprintf( // TRANS: Server exception. // 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 ); throw new ServerException($msg); diff --git a/plugins/AnonymousFave/anonfavor.php b/plugins/AnonymousFave/anonfavor.php index ad13525a07..f20d55a863 100644 --- a/plugins/AnonymousFave/anonfavor.php +++ b/plugins/AnonymousFave/anonfavor.php @@ -57,7 +57,7 @@ class AnonFavorAction extends RedirectingAction if (empty($profile) || $_SERVER['REQUEST_METHOD'] != 'POST') { // 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; } diff --git a/plugins/ApiLogger/ApiLoggerPlugin.php b/plugins/ApiLogger/ApiLoggerPlugin.php index a35fce7c55..bea78f78a3 100644 --- a/plugins/ApiLogger/ApiLoggerPlugin.php +++ b/plugins/ApiLogger/ApiLoggerPlugin.php @@ -83,7 +83,7 @@ class ApiLoggerPlugin extends Plugin 'homepage' => 'http://status.net/wiki/Plugin:ApiLogger', 'rawdescription' => // TRANS: Plugin description. - _m('Logging of API requests.')); + _m('Allows random sampling of API requests.')); return true; } }