From bd7f74f0a532b1fd96df74b3e631e02a4d4dcfa0 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 8 May 2011 10:12:05 +0200 Subject: [PATCH] Fix i18n issues. Update translator documentation. Whitespace updates. --- plugins/Directory/lib/alphanav.php | 3 --- plugins/Directory/lib/sortablesubscriptionlist.php | 11 ++++++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/plugins/Directory/lib/alphanav.php b/plugins/Directory/lib/alphanav.php index 60a15ee942..fa00b5c074 100644 --- a/plugins/Directory/lib/alphanav.php +++ b/plugins/Directory/lib/alphanav.php @@ -42,7 +42,6 @@ if (!defined('STATUSNET')) { * * @see HTMLOutputter */ - class AlphaNav extends Widget { protected $action = null; @@ -89,7 +88,6 @@ class AlphaNav extends Widget * * @return void */ - function show() { $actionName = $this->action->trimmed('action'); @@ -148,5 +146,4 @@ class AlphaNav extends Widget $this->action->elementEnd('div'); } - } diff --git a/plugins/Directory/lib/sortablesubscriptionlist.php b/plugins/Directory/lib/sortablesubscriptionlist.php index 7685c86a6a..234923c003 100644 --- a/plugins/Directory/lib/sortablesubscriptionlist.php +++ b/plugins/Directory/lib/sortablesubscriptionlist.php @@ -1,5 +1,4 @@ out->elementStart('tr'); $tableHeaders = array( + // TRANS: Column header in table for user nickname. 'nickname' => _m('Nickname'), + // TRANS: Column header in table for timestamp when user was created. 'created' => _m('Created') ); @@ -110,8 +110,10 @@ class SortableSubscriptionList extends SubscriptionList $this->out->elementEnd('th'); } - $this->out->element('th', array('id' => 'subscriptions'), 'Subscriptions'); - $this->out->element('th', array('id' => 'notices'), 'Notices'); + // TRANS: Column header for number of subscriptions. + $this->out->element('th', array('id' => 'subscriptions'), _m('Subscriptions')); + // TRANS: Column header for number of notices. + $this->out->element('th', array('id' => 'notices'), _m('Notices')); $this->out->element('th', array('id' => 'controls'), null); $this->out->elementEnd('tr'); @@ -280,5 +282,4 @@ class SortableSubscriptionListItem extends SubscriptionListItem } } - }