summaryrefslogtreecommitdiff
path: root/actions/oauthconnectionssettings.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-04-10 00:58:57 +0200
committerBrion Vibber <brion@pobox.com>2010-04-09 16:11:20 -0700
commit166c1edba97d065d0fd424621305fd016e644c43 (patch)
tree8c94df27e33e056c263023f012b73c602f61d529 /actions/oauthconnectionssettings.php
parent5c6c9b6f5f40b50570505a366a858e83db9bb2ec (diff)
Fix inconsistencies in clientError() messages
* use correct punctuation * single quotes when replace was possible * wording updated when needed
Diffstat (limited to 'actions/oauthconnectionssettings.php')
-rw-r--r--actions/oauthconnectionssettings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/oauthconnectionssettings.php b/actions/oauthconnectionssettings.php
index f125f4c63..8a206d710 100644
--- a/actions/oauthconnectionssettings.php
+++ b/actions/oauthconnectionssettings.php
@@ -183,7 +183,7 @@ class OauthconnectionssettingsAction extends ConnectSettingsAction
if (!$result) {
common_log_db_error($orig, 'DELETE', __FILE__);
- $this->clientError(_('Unable to revoke access for app: ' . $app->id));
+ $this->clientError(sprintf(_('Unable to revoke access for app: %s.'), $app->id));
return false;
}
@@ -195,7 +195,7 @@ class OauthconnectionssettingsAction extends ConnectSettingsAction
function showEmptyListMessage()
{
- $message = sprintf(_('You have not authorized any applications to use your account.'));
+ $message = _('You have not authorized any applications to use your account.');
$this->elementStart('div', 'guide');
$this->raw(common_markup_to_html($message));