summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/action.php2
-rw-r--r--lib/attachmentlist.php2
-rw-r--r--lib/noticelist.php2
-rw-r--r--lib/profilelist.php2
-rw-r--r--lib/serverexception.php2
-rw-r--r--lib/settingsaction.php2
-rw-r--r--lib/util.php2
-rw-r--r--lib/xmppqueuehandler.php2
8 files changed, 8 insertions, 8 deletions
diff --git a/lib/action.php b/lib/action.php
index 34b17063a..80f398fbd 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -456,7 +456,7 @@ class Action extends HTMLOutputter // lawsuit
_('Help'), _('Help me!'), false, 'nav_help');
if ($user || !common_config('site', 'private')) {
$this->menuItem(common_local_url('peoplesearch'),
- _('Search'), _('Search for users or text'), false, 'nav_search');
+ _('Search'), _('Search for people or text'), false, 'nav_search');
}
Event::handle('EndPrimaryNav', array($this));
}
diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php
index 60095dace..51ceca857 100644
--- a/lib/attachmentlist.php
+++ b/lib/attachmentlist.php
@@ -71,7 +71,7 @@ class AttachmentList extends Widget
/**
* show the list of notices
*
- * "Uses up" the stream by looping through it. So, probably cannot
+ * "Uses up" the stream by looping through it. So, probably can't
* be called twice on the same list.
*
* @return int count of notices listed.
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 206724676..4e5623ded 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -75,7 +75,7 @@ class NoticeList extends Widget
/**
* show the list of notices
*
- * "Uses up" the stream by looping through it. So, probably cannot
+ * "Uses up" the stream by looping through it. So, probably can't
* be called twice on the same list.
*
* @return int count of notices listed.
diff --git a/lib/profilelist.php b/lib/profilelist.php
index f3eb66658..bbb722701 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -269,7 +269,7 @@ class ProfileListItem extends Widget
$usf = new UnsubscribeForm($this->out, $this->profile);
$usf->show();
} else {
- // Is it a local user? cannot remote sub from a list
+ // Is it a local user? can't remote sub from a list
// XXX: make that possible!
$other = User::staticGet('id', $this->profile->id);
if (!empty($other)) {
diff --git a/lib/serverexception.php b/lib/serverexception.php
index 6b2d55a0b..7dc9765ad 100644
--- a/lib/serverexception.php
+++ b/lib/serverexception.php
@@ -34,7 +34,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
/**
* Class for server exceptions
*
- * Subclass of PHP Exception for server errors. The user typically cannot fix these.
+ * Subclass of PHP Exception for server errors. The user typically can't fix these.
*
* @category Exception
* @package StatusNet
diff --git a/lib/settingsaction.php b/lib/settingsaction.php
index 4193ea521..c3669868d 100644
--- a/lib/settingsaction.php
+++ b/lib/settingsaction.php
@@ -72,7 +72,7 @@ class SettingsAction extends CurrentUserDesignAction
$this->clientError(_('Not logged in.'));
return;
} else if (!common_is_real_login()) {
- // Cookie theft means that automatic logins cannot
+ // Cookie theft means that automatic logins can't
// change important settings or see private info, and
// _all_ our settings are important
common_set_returnto($this->selfUrl());
diff --git a/lib/util.php b/lib/util.php
index 8f7521e59..b4f5af1af 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -576,7 +576,7 @@ function common_linkify($url) {
} elseif (is_string($longurl_data)) {
$longurl = $longurl_data;
} else {
- throw new ServerException("Cannot linkify url '$url'");
+ throw new ServerException("Can't linkify url '$url'");
}
}
$attrs = array('href' => $canon, 'title' => $longurl, 'rel' => 'external');
diff --git a/lib/xmppqueuehandler.php b/lib/xmppqueuehandler.php
index 29008da64..7caa078ae 100644
--- a/lib/xmppqueuehandler.php
+++ b/lib/xmppqueuehandler.php
@@ -43,7 +43,7 @@ class XmppQueueHandler extends QueueHandler
$this->conn = jabber_connect($this->_id.$this->transport());
if (empty($this->conn)) {
- $this->log(LOG_ERR, "Could not connect to server.");
+ $this->log(LOG_ERR, "Couldn't connect to server.");
return false;
}