]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Update translator documentation.
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 5 Apr 2011 23:55:29 +0000 (01:55 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 5 Apr 2011 23:55:29 +0000 (01:55 +0200)
Whitespace updates.

lib/defaultlocalnav.php
lib/groupeditform.php
lib/groupsnav.php

index 1201ae746829814fa3011710176a5a5f1c4d62ec..84a6267ac97861037092a1acc460c21c565dd403 100644 (file)
@@ -67,6 +67,7 @@ class DefaultLocalNav extends Menu
             if (!empty($user)) {
                 $sn = new GroupsNav($this->action, $user);
                 if ($sn->haveGroups()) {
+                    // TRANS: Menu item in default local navigation panel.
                     $this->submenu(_m('MENU', 'Groups'), $sn);
                 }
             }
index c1218ab35450d27a0993e641b4543f4fe7fb5ffa..b795c1387daa2b5bc64f402fefc12a5f53cc9155 100644 (file)
@@ -202,10 +202,12 @@ class GroupEditForm extends Form
                 $this->out->elementEnd('li');
             }
             $this->out->elementStart('li');
-            $this->out->checkbox('private', _('Private'), 
+            // TRANS: Checkbox field label on group edit form to mark a group private.
+            $this->out->checkbox('private', _m('LABEL','Private'), 
                                   ($this->out->arg('private')) ? $this->out->arg('private') :
                                  ((!empty($this->group)) ? $this->group->isPrivate() : false),
-                                 _('New members must be approved by admin and all posts are forced to be private'));
+                                 // TRANS: Checkbox field title on group edit form to mark a group private.
+                                 _('New members must be approved by admin and all posts are forced to be private.'));
             $this->out->elementEnd('li');
             Event::handle('EndGroupEditFormData', array($this));
         }
index 1d2066f2e59435de632ea342beb49d3081ad58d1..26058c2b7ef8ae5656dba4f246d79a6549481394 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2011, StatusNet, Inc.
  *
  * Menu for streams
- * 
+ *
  * PHP version 5
  *
  * This program is free software: you can redistribute it and/or modify
@@ -44,7 +44,6 @@ if (!defined('STATUSNET')) {
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
  * @link      http://status.net/
  */
-
 class GroupsNav extends Menu
 {
     protected $user;
@@ -74,7 +73,7 @@ class GroupsNav extends Menu
         $this->out->elementStart('ul', array('class' => 'nav'));
 
         if (Event::handle('StartGroupsNav', array($this))) {
-            
+
             while ($this->groups->fetch()) {
                 $this->out->menuItem(($this->groups->mainpage) ?
                                      $this->groups->mainpage :
@@ -82,7 +81,7 @@ class GroupsNav extends Menu
                                                       array('nickname' => $this->groups->nickname)),
                                      $this->groups->getBestName(),
                                      '',
-                                     $action == 'showgroup' && 
+                                     $action == 'showgroup' &&
                                      $this->action->arg('nickname') == $this->groups->nickname,
                                      'nav_timeline_group_'.$this->groups->nickname);
             }