From 0b6cc7c33d5239bbc9f01c00d3fb8c00a3d6e4c7 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 23 Oct 2010 19:20:51 +0200 Subject: [PATCH] * translator documentation added. * superfluous whitespace removed. --- actions/apioauthauthorize.php | 2 +- actions/oauthappssettings.php | 6 +++++- classes/Status_network_tag.php | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/actions/apioauthauthorize.php b/actions/apioauthauthorize.php index b83582702e..f2f1071d9b 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 e75f014ab5..c98c90dbf8 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 3398ac8c84..2273ecb2e5 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) { -- 2.39.5