* translator documentation added.

* superfluous whitespace removed.
This commit is contained in:
Siebrand Mazeland 2010-10-23 19:20:51 +02:00
parent eb30c6651a
commit 0b6cc7c33d
3 changed files with 6 additions and 3 deletions

View File

@ -579,7 +579,7 @@ class ApiOauthAuthorizeAction extends Action
$title = sprintf( $title = sprintf(
// TRANS: Header of user notification after authorising an application access to a profile. // TRANS: Header of user notification after authorising an application access to a profile.
// TRANS: %s is the authorised application name. // TRANS: %s is the authorised application name.
_("You have successfully authorized %s."), _('You have successfully authorized %s.'),
$this->app->name $this->app->name
); );

View File

@ -56,6 +56,7 @@ class OauthappssettingsAction extends SettingsAction
$this->page = ($this->arg('page')) ? ($this->arg('page') + 0) : 1; $this->page = ($this->arg('page')) ? ($this->arg('page') + 0) : 1;
if (!common_logged_in()) { 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.')); $this->clientError(_('You must be logged in to list your applications.'));
return false; return false;
} }
@ -71,6 +72,7 @@ class OauthappssettingsAction extends SettingsAction
function title() function title()
{ {
// TRANS: Page title for OAuth applications
return _('OAuth applications'); return _('OAuth applications');
} }
@ -82,6 +84,7 @@ class OauthappssettingsAction extends SettingsAction
function getInstructions() function getInstructions()
{ {
// TRANS: Page instructions for OAuth applications
return _('Applications you have registered'); return _('Applications you have registered');
} }
@ -120,6 +123,7 @@ class OauthappssettingsAction extends SettingsAction
array('href' => common_local_url('newapplication'), array('href' => common_local_url('newapplication'),
'class' => 'more' 'class' => 'more'
), ),
// TRANS: Link description to add a new OAuth application.
'Register a new application'); 'Register a new application');
$this->elementEnd('p'); $this->elementEnd('p');
@ -133,6 +137,7 @@ class OauthappssettingsAction extends SettingsAction
function showEmptyListMessage() function showEmptyListMessage()
{ {
// TRANS: Empty list message on page with OAuth applications.
$message = sprintf(_('You have not registered any applications yet.')); $message = sprintf(_('You have not registered any applications yet.'));
$this->elementStart('div', 'guide'); $this->elementStart('div', 'guide');
@ -163,5 +168,4 @@ class OauthappssettingsAction extends SettingsAction
} }
} }
} }

View File

@ -43,7 +43,6 @@ class Status_network_tag extends Safe_DataObject
$this->_connect(); $this->_connect();
} }
/* Static get */ /* Static get */
function staticGet($k,$v=null) function staticGet($k,$v=null)
{ {