X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FUserFlag%2Fadminprofileflag.php;h=1aafa3c1bf4394255d7999210de0232b3ee86c78;hb=9e78c631fb8afc09e29ace1380c335dcd7f93341;hp=df0450f66a53d6cbd4a80c13d963cee3b3acec94;hpb=6c77d86b7f39c35eac0fcc3f13c0beba3e694318;p=quix0rs-gnu-social.git diff --git a/plugins/UserFlag/adminprofileflag.php b/plugins/UserFlag/adminprofileflag.php index df0450f66a..1aafa3c1bf 100644 --- a/plugins/UserFlag/adminprofileflag.php +++ b/plugins/UserFlag/adminprofileflag.php @@ -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; }