X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FMinify%2Fminify.php;h=e012a40272c27d5eef0c89209ae7c4e101a06e8e;hb=59119482ca34540bd7f0a2a1aa994de1d5328ea2;hp=bac1df8e2d1414c186b53dfad1e141d083512330;hpb=2db8aa3ec3f6804f8f16efe754aafb149f4035c9;p=quix0rs-gnu-social.git diff --git a/plugins/Minify/minify.php b/plugins/Minify/minify.php index bac1df8e2d..e012a40272 100644 --- a/plugins/Minify/minify.php +++ b/plugins/Minify/minify.php @@ -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; } } -