]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix i18n issues.
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 8 May 2011 08:12:05 +0000 (10:12 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 8 May 2011 08:12:05 +0000 (10:12 +0200)
Update translator documentation.
Whitespace updates.

plugins/Directory/lib/alphanav.php
plugins/Directory/lib/sortablesubscriptionlist.php

index 60a15ee94227a560cf68372e0b0a17b13296b990..fa00b5c074022897292eb8bbdf6926d722253221 100644 (file)
@@ -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');
     }
-
 }
index 7685c86a6a160780068a1d3d4afe65fbccb517b9..234923c00323f3c904b44f44ef8892e265b07c7c 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /**
  * StatusNet, the distributed open-source microblogging tool
  *
@@ -43,7 +42,6 @@ require_once INSTALLDIR . '/lib/subscriptionlist.php';
  * @license  http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
  * @link     http://status.net/
  */
-
 class SortableSubscriptionList extends SubscriptionList
 {
     /** Owner of this list */
@@ -63,7 +61,9 @@ class SortableSubscriptionList extends SubscriptionList
         $this->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
         }
 
     }
-
 }