summaryrefslogtreecommitdiff
path: root/actions/oauthappssettings.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-23 19:20:51 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-23 19:20:51 +0200
commit0b6cc7c33d5239bbc9f01c00d3fb8c00a3d6e4c7 (patch)
tree92900692eb6c6e389e70b89052db2de21ef7bde5 /actions/oauthappssettings.php
parenteb30c6651a0f726e44e4b8c318f5c1274969202d (diff)
* translator documentation added.
* superfluous whitespace removed.
Diffstat (limited to 'actions/oauthappssettings.php')
-rw-r--r--actions/oauthappssettings.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/actions/oauthappssettings.php b/actions/oauthappssettings.php
index e75f014ab..c98c90dbf 100644
--- a/actions/oauthappssettings.php
+++ b/actions/oauthappssettings.php
@@ -56,6 +56,7 @@ class OauthappssettingsAction extends SettingsAction
$this->page = ($this->arg('page')) ? ($this->arg('page') + 0) : 1;
if (!common_logged_in()) {
+ // TRANS: Message displayed to an anonymous user trying to view OAuth application list.
$this->clientError(_('You must be logged in to list your applications.'));
return false;
}
@@ -71,6 +72,7 @@ class OauthappssettingsAction extends SettingsAction
function title()
{
+ // TRANS: Page title for OAuth applications
return _('OAuth applications');
}
@@ -82,6 +84,7 @@ class OauthappssettingsAction extends SettingsAction
function getInstructions()
{
+ // TRANS: Page instructions for OAuth applications
return _('Applications you have registered');
}
@@ -120,6 +123,7 @@ class OauthappssettingsAction extends SettingsAction
array('href' => common_local_url('newapplication'),
'class' => 'more'
),
+ // TRANS: Link description to add a new OAuth application.
'Register a new application');
$this->elementEnd('p');
@@ -133,6 +137,7 @@ class OauthappssettingsAction extends SettingsAction
function showEmptyListMessage()
{
+ // TRANS: Empty list message on page with OAuth applications.
$message = sprintf(_('You have not registered any applications yet.'));
$this->elementStart('div', 'guide');
@@ -163,5 +168,4 @@ class OauthappssettingsAction extends SettingsAction
}
}
-
}