diff options
author | Brion Vibber <brion@pobox.com> | 2009-11-08 23:27:24 +0100 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-11-08 23:27:24 +0100 |
commit | ec6a38a62786c85e8ee30c5726ea81f82465b39d (patch) | |
tree | 31bb66f24f8fb4de55d9f6a21728278fcac804a1 /plugins | |
parent | c7961fe6dc033d1d40ab7d7f9bb994492ae4ea7b (diff) | |
parent | 104a47e4a2903f1c7ea73363a73cee12f0cf14ac (diff) |
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/Facebook/facebook/facebookapi_php5_restlib.php | 2 | ||||
-rw-r--r-- | plugins/Facebook/facebook/jsonwrapper/JSON/JSON.php | 2 | ||||
-rw-r--r-- | plugins/Facebook/facebookaction.php | 2 | ||||
-rw-r--r-- | plugins/Facebook/facebookhome.php | 2 | ||||
-rw-r--r-- | plugins/LinkbackPlugin.php | 2 | ||||
-rw-r--r-- | plugins/Meteor/MeteorPlugin.php | 2 | ||||
-rw-r--r-- | plugins/OpenID/openid.php | 4 | ||||
-rwxr-xr-x | plugins/TwitterBridge/daemons/synctwitterfriends.php | 8 | ||||
-rwxr-xr-x | plugins/TwitterBridge/daemons/twitterstatusfetcher.php | 8 | ||||
-rw-r--r-- | plugins/UserFlag/flagprofile.php | 2 |
10 files changed, 17 insertions, 17 deletions
diff --git a/plugins/Facebook/facebook/facebookapi_php5_restlib.php b/plugins/Facebook/facebook/facebookapi_php5_restlib.php index 55cb7fb86..e2a6fe88b 100755 --- a/plugins/Facebook/facebook/facebookapi_php5_restlib.php +++ b/plugins/Facebook/facebook/facebookapi_php5_restlib.php @@ -2951,7 +2951,7 @@ function toggleDisplay(id, type) { /** - * Bans a list of users from the app. Banned users can't + * Bans a list of users from the app. Banned users cannot * access the app's canvas page and forums. * * @param array $uids an array of user ids diff --git a/plugins/Facebook/facebook/jsonwrapper/JSON/JSON.php b/plugins/Facebook/facebook/jsonwrapper/JSON/JSON.php index 0cddbddb4..92542b47d 100644 --- a/plugins/Facebook/facebook/jsonwrapper/JSON/JSON.php +++ b/plugins/Facebook/facebook/jsonwrapper/JSON/JSON.php @@ -124,7 +124,7 @@ class Services_JSON * "{...}" syntax creates associative arrays * instead of objects in decode(). * - SERVICES_JSON_SUPPRESS_ERRORS: error suppression. - * Values which can't be encoded (e.g. resources) + * Values which cannot be encoded (e.g. resources) * appear as NULL instead of throwing errors. * By default, a deeply-nested resource will * bubble up with an error, so all return values diff --git a/plugins/Facebook/facebookaction.php b/plugins/Facebook/facebookaction.php index a10fdf90d..1d8b5217b 100644 --- a/plugins/Facebook/facebookaction.php +++ b/plugins/Facebook/facebookaction.php @@ -513,7 +513,7 @@ class FacebookNoticeList extends NoticeList /** * show the list of notices * - * "Uses up" the stream by looping through it. So, probably can't + * "Uses up" the stream by looping through it. So, probably cannot * be called twice on the same list. * * @return int count of notices listed. diff --git a/plugins/Facebook/facebookhome.php b/plugins/Facebook/facebookhome.php index 91c0cc6b8..ee6e6620b 100644 --- a/plugins/Facebook/facebookhome.php +++ b/plugins/Facebook/facebookhome.php @@ -108,7 +108,7 @@ class FacebookhomeAction extends FacebookAction $user = User::staticGet('nickname', $nickname); if (!$user) { - $this->showLoginForm(_("Server error - couldn't get user!")); + $this->showLoginForm(_("Server error. Could not get user.")); } $flink = DB_DataObject::factory('foreign_link'); diff --git a/plugins/LinkbackPlugin.php b/plugins/LinkbackPlugin.php index 915d15c07..bc433b896 100644 --- a/plugins/LinkbackPlugin.php +++ b/plugins/LinkbackPlugin.php @@ -125,7 +125,7 @@ class LinkbackPlugin extends Plugin if (!extension_loaded('xmlrpc')) { if (!dl('xmlrpc.so')) { - common_log(LOG_ERR, "Can't pingback; xmlrpc extension not available."); + common_log(LOG_ERR, "Cannot pingback; xmlrpc extension not available."); } } diff --git a/plugins/Meteor/MeteorPlugin.php b/plugins/Meteor/MeteorPlugin.php index 5b345d7c2..f3cbc3eea 100644 --- a/plugins/Meteor/MeteorPlugin.php +++ b/plugins/Meteor/MeteorPlugin.php @@ -85,7 +85,7 @@ class MeteorPlugin extends RealtimePlugin // May throw an exception. $this->_socket = stream_socket_client("tcp://{$controlserver}:{$this->controlport}"); if (!$this->_socket) { - throw new Exception("Couldn't connect to {$controlserver} on {$this->controlport}"); + throw new Exception("Could not connect to {$controlserver} on {$this->controlport}"); } } diff --git a/plugins/OpenID/openid.php b/plugins/OpenID/openid.php index ff7a93899..cd042226b 100644 --- a/plugins/OpenID/openid.php +++ b/plugins/OpenID/openid.php @@ -36,7 +36,7 @@ function oid_store() { static $store = null; if (!$store) { - # Can't be called statically + # Cannot be called statically $user = new User(); $conn = $user->getDatabaseConnection(); $store = new Auth_OpenID_MySQLStore($conn); @@ -192,7 +192,7 @@ function oid_authenticate($openid_url, $returnto, $immediate=false) $form_html = preg_replace('/&/', '&', $form_html); - // Display an error if the form markup couldn't be generated; + // Display an error if the form markup could not be generated; // otherwise, render the HTML. if (Auth_OpenID::isFailure($form_html)) { common_server_error(sprintf(_('Could not create OpenID form: %s'), $form_html->message)); diff --git a/plugins/TwitterBridge/daemons/synctwitterfriends.php b/plugins/TwitterBridge/daemons/synctwitterfriends.php index 671e3c7af..6a155b301 100755 --- a/plugins/TwitterBridge/daemons/synctwitterfriends.php +++ b/plugins/TwitterBridge/daemons/synctwitterfriends.php @@ -126,7 +126,7 @@ class SyncTwitterFriendsDaemon extends ParallelizingDaemon $conn->disconnect(); - // XXX: Couldn't find a less brutal way to blow + // XXX: Could not find a less brutal way to blow // away a cached connection global $_DB_DATAOBJECT; @@ -188,7 +188,7 @@ class SyncTwitterFriendsDaemon extends ParallelizingDaemon if (empty($more_friends)) { common_log(LOG_WARNING, $this->name() . - " - Couldn't retrieve page $i " . + " - Could not retrieve page $i " . "of Twitter user $flink->foreign_id friends."); continue; } else { @@ -222,11 +222,11 @@ class SyncTwitterFriendsDaemon extends ParallelizingDaemon if (!save_twitter_user($friend_id, $friend_name)) { common_log(LOG_WARNING, $this-name() . - " - Couldn't save $screen_name's friend, $friend_name."); + " - Could not save $screen_name's friend, $friend_name."); continue; } - // Check to see if there's a related local user + // Check to see if there is a related local user $friend_flink = Foreign_link::getByForeignID($friend_id, TWITTER_SERVICE); diff --git a/plugins/TwitterBridge/daemons/twitterstatusfetcher.php b/plugins/TwitterBridge/daemons/twitterstatusfetcher.php index b5428316b..ab610e553 100755 --- a/plugins/TwitterBridge/daemons/twitterstatusfetcher.php +++ b/plugins/TwitterBridge/daemons/twitterstatusfetcher.php @@ -147,7 +147,7 @@ class TwitterStatusFetcher extends ParallelizingDaemon $conn->disconnect(); - // XXX: Couldn't find a less brutal way to blow + // XXX: Could not find a less brutal way to blow // away a cached connection global $_DB_DATAOBJECT; @@ -158,7 +158,7 @@ class TwitterStatusFetcher extends ParallelizingDaemon { if (empty($flink)) { common_log(LOG_WARNING, $this->name() . - " - Can't retrieve Foreign_link for foreign ID $fid"); + " - Cannot retrieve Foreign_link for foreign ID $fid"); return; } @@ -458,7 +458,7 @@ class TwitterStatusFetcher extends ParallelizingDaemon $profile = Profile::staticGet($profile_id); if (empty($profile)) { - common_debug($this->name() . " - Couldn't get profile: $profile_id!"); + common_debug($this->name() . " - Could not get profile: $profile_id!"); return; } @@ -537,7 +537,7 @@ class TwitterStatusFetcher extends ParallelizingDaemon $ok = file_put_contents($avatarfile, $response->getBody()); if (!$ok) { common_log(LOG_WARNING, $this->name() . - " - Couldn't open file $filename"); + " - Could not open file $filename"); return false; } } else { diff --git a/plugins/UserFlag/flagprofile.php b/plugins/UserFlag/flagprofile.php index c72b74c6a..84c343c48 100644 --- a/plugins/UserFlag/flagprofile.php +++ b/plugins/UserFlag/flagprofile.php @@ -135,7 +135,7 @@ class FlagprofileAction extends Action $ufp->created = common_sql_now(); if (!$ufp->insert()) { - throw new ServerException(sprintf(_("Couldn't flag profile '%s' with flag '%s'."), + throw new ServerException(sprintf(_("Could not flag profile '%s' with flag '%s'."), $this->profile->nickname, $this->flag)); } |