]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/sandbox.php
Fix inconsistencies in clientError() messages
[quix0rs-gnu-social.git] / actions / sandbox.php
index 5b034ff07819da35c5ce1707318aa3b9687ebb77..d1ef4c86b2858cd302f384343571853db231b9ce 100644 (file)
@@ -62,14 +62,14 @@ class SandboxAction extends ProfileFormAction
         assert(!empty($cur)); // checked by parent
 
         if (!$cur->hasRight(Right::SANDBOXUSER)) {
-            $this->clientError(_("You cannot sandbox users on this site."));
+            $this->clientError(_('You cannot sandbox users on this site.'));
             return false;
         }
 
         assert(!empty($this->profile)); // checked by parent
 
         if ($this->profile->isSandboxed()) {
-            $this->clientError(_("User is already sandboxed."));
+            $this->clientError(_('User is already sandboxed.'));
             return false;
         }