summaryrefslogtreecommitdiff
path: root/actions
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
parenteb30c6651a0f726e44e4b8c318f5c1274969202d (diff)
* translator documentation added.
* superfluous whitespace removed.
Diffstat (limited to 'actions')
-rw-r--r--actions/apioauthauthorize.php2
-rw-r--r--actions/oauthappssettings.php6
2 files changed, 6 insertions, 2 deletions
diff --git a/actions/apioauthauthorize.php b/actions/apioauthauthorize.php
index b83582702..f2f1071d9 100644
--- a/actions/apioauthauthorize.php
+++ b/actions/apioauthauthorize.php
@@ -579,7 +579,7 @@ class ApiOauthAuthorizeAction extends Action
$title = sprintf(
// TRANS: Header of user notification after authorising an application access to a profile.
// TRANS: %s is the authorised application name.
- _("You have successfully authorized %s."),
+ _('You have successfully authorized %s.'),
$this->app->name
);
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
}
}
-
}