summaryrefslogtreecommitdiff
path: root/lib/applicationlist.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-20 19:34:27 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-20 19:34:27 +0200
commitdc62cf1c0b6f77ebd4e4bf885aa3de7846b3232a (patch)
tree3948a0a0daa392e5aadf1aafad6a34874ae2c568 /lib/applicationlist.php
parent17f5cc4f29c2f9408636dd3e628cf1521b4a08e2 (diff)
* i18n/L10n fixes.
* translator documentation updated/added. * superfluous whitespace removed.
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');
-
}
}