i18n fixes.
Translator documentation updates.
This commit is contained in:
parent
ac955699b6
commit
074be0d51e
|
@ -169,15 +169,18 @@ class ApprovegroupAction extends Action
|
||||||
$this->startHTML('text/xml;charset=utf-8');
|
$this->startHTML('text/xml;charset=utf-8');
|
||||||
$this->elementStart('head');
|
$this->elementStart('head');
|
||||||
// TRANS: Title for leave group page after group join request is approved/disapproved.
|
// 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->element('title', null, sprintf(_m('TITLE','%1$s\'s request for %2$s'),
|
||||||
$this->profile->nickname,
|
$this->profile->nickname,
|
||||||
$this->group->nickname));
|
$this->group->nickname));
|
||||||
$this->elementEnd('head');
|
$this->elementEnd('head');
|
||||||
$this->elementStart('body');
|
$this->elementStart('body');
|
||||||
if ($this->approve) {
|
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) {
|
} 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('body');
|
||||||
$this->elementEnd('html');
|
$this->elementEnd('html');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user