_m function for translation seems to be what we use

This commit is contained in:
Mikael Nordfeldth 2012-08-10 20:11:40 +02:00
parent 2e8b729503
commit 7eecd93473

View File

@ -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;