$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
);
$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;
}
function title()
{
+ // TRANS: Page title for OAuth applications
return _('OAuth applications');
}
function getInstructions()
{
+ // TRANS: Page instructions for OAuth applications
return _('Applications you have registered');
}
array('href' => common_local_url('newapplication'),
'class' => 'more'
),
+ // TRANS: Link description to add a new OAuth application.
'Register a new application');
$this->elementEnd('p');
function showEmptyListMessage()
{
+ // TRANS: Empty list message on page with OAuth applications.
$message = sprintf(_('You have not registered any applications yet.'));
$this->elementStart('div', 'guide');
}
}
-
}