]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Minify/minify.php
Fix PHP syntax errors introduced during localization fixups in a few files.
[quix0rs-gnu-social.git] / plugins / Minify / minify.php
index 64727f5e7e27b7c4fcfc2233bf02a5cb4baf8fb9..9a59c4223c8ec1f613b995eefc01a66275a748ef 100644 (file)
@@ -46,11 +46,11 @@ class MinifyAction extends Action
             if(file_exists($this->file)) {
                 return true;
             } else {
-                $this->clientError(_('f parameter is not a valid path'),404);
+                $this->clientError(_m('The parameter "f" is not a valid path.'),404);
                 return false;
             }
         }else{
-            $this->clientError(_('f parameter is required'),500);
+            $this->clientError(_m('The parameter "f" is required but missing.'),500);
             return false;
         }
     }
@@ -108,10 +108,9 @@ class MinifyAction extends Action
                 header('Content-Type: ' . self::TYPE_CSS);
                 break;
             default:
-                $this->clientError(_('File type not supported'),500);
+                $this->clientError(_m('File type not supported.'),500);
                 return false;
         }
         return $out;
     }
 }
-