Add translator documentation.

L10n updates.
Whitespace updates.
This commit is contained in:
Siebrand Mazeland 2011-08-19 18:11:31 +02:00
parent d756242f64
commit b1ff67a55e
2 changed files with 9 additions and 5 deletions

View File

@ -84,8 +84,10 @@ class GroupsNav extends MoreMenu
function seeAllItem() { function seeAllItem() {
return array('usergroups', return array('usergroups',
array('nickname' => $this->user->nickname), array('nickname' => $this->user->nickname),
// TRANS: Link description for seeing all groups.
_('See all'), _('See all'),
_('See all groups you belong to')); // TRANS: Link title for seeing all groups.
_('See all groups you belong to.'));
} }
} }

View File

@ -58,11 +58,11 @@ class ListsNav extends MoreMenu
{ {
return 'lists'; return 'lists';
} }
function getItems() function getItems()
{ {
$items = array(); $items = array();
while ($this->lists->fetch()) { while ($this->lists->fetch()) {
$mode = $this->lists->private ? 'private' : 'public'; $mode = $this->lists->private ? 'private' : 'public';
$items[] = array('showprofiletag', $items[] = array('showprofiletag',
@ -84,7 +84,9 @@ class ListsNav extends MoreMenu
{ {
return array('peopletagsbyuser', return array('peopletagsbyuser',
array('nickname' => $this->profile->nickname), array('nickname' => $this->profile->nickname),
// TRANS: Link description for seeing all lists.
_('See all'), _('See all'),
_('See all lists you have created')); // TRANS: Link title for seeing all lists.
_('See all lists you have created.'));
} }
} }