summaryrefslogtreecommitdiff
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
parenteb30c6651a0f726e44e4b8c318f5c1274969202d (diff)
* translator documentation added.
* superfluous whitespace removed.
-rw-r--r--actions/apioauthauthorize.php2
-rw-r--r--actions/oauthappssettings.php6
-rw-r--r--classes/Status_network_tag.php1
3 files changed, 6 insertions, 3 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
}
}
-
}
diff --git a/classes/Status_network_tag.php b/classes/Status_network_tag.php
index 3398ac8c8..2273ecb2e 100644
--- a/classes/Status_network_tag.php
+++ b/classes/Status_network_tag.php
@@ -43,7 +43,6 @@ class Status_network_tag extends Safe_DataObject
$this->_connect();
}
-
/* Static get */
function staticGet($k,$v=null)
{