]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
_m function for translation seems to be what we use
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 10 Aug 2012 18:11:40 +0000 (20:11 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 12 Aug 2013 10:56:44 +0000 (12:56 +0200)
plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php

index 8cf57c57cda00699b51fad2e3084ad895dda5659..f3ec381e2da8acbd3d94649aa5f43c24d00eb03c 100644 (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;