* move TRANS comment from ea99855b35 down to right before the line with the message, otherwise gettext does not pick it up.

* add another TRANS comment
This commit is contained in:
Siebrand Mazeland 2010-04-05 20:53:53 +02:00
parent ea99855b35
commit 5f7b7d7509

View File

@ -93,6 +93,7 @@ class ApiGroupListAction extends ApiBareAuthAction
parent::handle($args); parent::handle($args);
$sitename = common_config('site', 'name'); $sitename = common_config('site', 'name');
// TRANS: %s is a user name
$title = sprintf(_("%s's groups"), $this->user->nickname); $title = sprintf(_("%s's groups"), $this->user->nickname);
$taguribase = TagURI::base(); $taguribase = TagURI::base();
$id = "tag:$taguribase:Groups"; $id = "tag:$taguribase:Groups";
@ -101,8 +102,8 @@ class ApiGroupListAction extends ApiBareAuthAction
array('nickname' => $this->user->nickname) array('nickname' => $this->user->nickname)
); );
// TRANS: Meant to convey the user is a member of each of the groups listed
$subtitle = sprintf( $subtitle = sprintf(
// TRANS: Meant to convey the user %2$s is a member of each of the groups listed on site %1$s
_("%1\$s groups %2\$s is a member of."), _("%1\$s groups %2\$s is a member of."),
$sitename, $sitename,
$this->user->nickname $this->user->nickname