From 074be0d51ebfeff1d0cc3ec0d572e8eb2442a355 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Fri, 25 Mar 2011 17:12:53 +0100 Subject: [PATCH] i18n fixes. Translator documentation updates. --- actions/approvegroup.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/actions/approvegroup.php b/actions/approvegroup.php index 690c76360f..5039cfae6b 100644 --- a/actions/approvegroup.php +++ b/actions/approvegroup.php @@ -169,15 +169,18 @@ class ApprovegroupAction extends Action $this->startHTML('text/xml;charset=utf-8'); $this->elementStart('head'); // TRANS: Title for leave group page after group join request is approved/disapproved. + // TRANS: %1$s is the user nickname, %2$s is the group nickname. $this->element('title', null, sprintf(_m('TITLE','%1$s\'s request for %2$s'), $this->profile->nickname, $this->group->nickname)); $this->elementEnd('head'); $this->elementStart('body'); if ($this->approve) { - $this->element('p', 'success', _m('Join request approved.')); + // TRANS: Message on page for group admin after approving a join request. + $this->element('p', 'success', _('Join request approved.')); } elseif ($this->cancel) { - $this->element('p', 'success', _m('Join request canceled.')); + // TRANS: Message on page for group admin after rejecting a join request. + $this->element('p', 'success', _('Join request canceled.')); } $this->elementEnd('body'); $this->elementEnd('html');