summaryrefslogtreecommitdiff
path: root/lib/applicationlist.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/applicationlist.php')
-rw-r--r--lib/applicationlist.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/applicationlist.php b/lib/applicationlist.php
index 6801fb6cf..ff9ac5a20 100644
--- a/lib/applicationlist.php
+++ b/lib/applicationlist.php
@@ -142,10 +142,8 @@ class ApplicationList extends Widget
{
return;
}
-
}
-
/**
* Widget to show a list of connected OAuth clients
*
@@ -279,7 +277,9 @@ class ConnectedAppsList extends Widget
$this->out->element(
'p', array(
'class' => 'access_token'),
- _('Access token starting with: ') . substr($this->connection->token, 0, 7)
+ // TRANS: Access token in the application list.
+ // TRANS: %s are the first 7 characters of the access token.
+ sprintf(_('Access token starting with: %s'), substr($this->connection->token, 0, 7))
);
$this->out->elementStart(
@@ -295,11 +295,10 @@ class ConnectedAppsList extends Widget
$this->out->hidden('oauth_token', $this->connection->token);
$this->out->hidden('token', common_session_token());
// TRANS: Button label
- $this->out->submit('revoke', _('Revoke'));
+ $this->out->submit('revoke', _m('BUTTON','Revoke'));
$this->out->elementEnd('fieldset');
$this->out->elementEnd('form');
$this->out->elementEnd('li');
-
}
}