git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 69778f12 authored by Siebrand Mazeland's avatar Siebrand Mazeland

Update translator documentation.

Whitespace updates.
parent 3d36c755
......@@ -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);
}
}
......
......@@ -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));
}
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment