]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/UserFlag/adminprofileflag.php
Fix plural issue.
[quix0rs-gnu-social.git] / plugins / UserFlag / adminprofileflag.php
index df0450f66a53d6cbd4a80c13d963cee3b3acec94..1aafa3c1bf4394255d7999210de0232b3ee86c78 100644 (file)
@@ -61,7 +61,8 @@ class AdminprofileflagAction extends Action
         // User must be logged in.
 
         if (!common_logged_in()) {
-            $this->clientError(_('Not logged in.'));
+            // TRANS: Error message displayed when trying to perform an action that requires a logged in user.
+            $this->clientError(_m('Not logged in.'));
             return;
         }
 
@@ -85,7 +86,7 @@ class AdminprofileflagAction extends Action
         // User must have the right to review flags
 
         if (!$user->hasRight(UserFlagPlugin::REVIEWFLAGS)) {
-            $this->clientError(_('You cannot review profile flags.'));
+            $this->clientError(_m('You cannot review profile flags.'));
             return false;
         }