We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0b6cc7c3 authored by Siebrand Mazeland's avatar Siebrand Mazeland

* translator documentation added.

* superfluous whitespace removed.
parent eb30c665
......@@ -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
);
......
......@@ -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
}
}
}
......@@ -43,7 +43,6 @@ class Status_network_tag extends Safe_DataObject
$this->_connect();
}
/* Static get */
function staticGet($k,$v=null)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment