_m function for translation seems to be what we use
This commit is contained in:
parent
2e8b729503
commit
7eecd93473
|
@ -253,7 +253,7 @@ class RequireValidatedEmailPlugin extends Plugin
|
|||
$user = common_current_user();
|
||||
if (!empty($user)) {
|
||||
if (!$this->validated($user)) {
|
||||
$action->element('div', array('class'=>'error'), _('You must validate an email address before posting!'));
|
||||
$action->element('div', array('class'=>'error'), _m('You must validate an email address before posting!'));
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user