From 5f7b7d7509413724202a0dd62dbfcfdbc095afb0 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 5 Apr 2010 20:53:53 +0200 Subject: [PATCH] * move TRANS comment from ea99855b350b326f81bda0ea42be6dff8919b527 down to right before the line with the message, otherwise gettext does not pick it up. * add another TRANS comment --- actions/apigrouplist.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actions/apigrouplist.php b/actions/apigrouplist.php index 42211a03ce..3ea2c30cbb 100644 --- a/actions/apigrouplist.php +++ b/actions/apigrouplist.php @@ -93,6 +93,7 @@ class ApiGroupListAction extends ApiBareAuthAction parent::handle($args); $sitename = common_config('site', 'name'); + // TRANS: %s is a user name $title = sprintf(_("%s's groups"), $this->user->nickname); $taguribase = TagURI::base(); $id = "tag:$taguribase:Groups"; @@ -101,8 +102,8 @@ class ApiGroupListAction extends ApiBareAuthAction array('nickname' => $this->user->nickname) ); - // TRANS: Meant to convey the user is a member of each of the groups listed $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."), $sitename, $this->user->nickname