diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-18 10:25:13 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-18 10:25:13 +0200 |
commit | ca3d803f1dd9050b850a455a47ad06c0ad3e32e7 (patch) | |
tree | e8d38e844789d813f0401a0ec17b10049129ac33 | |
parent | 234b1e6c236118d915af458b8db966e425645d68 (diff) |
Update i18n/L10n.
-rw-r--r-- | plugins/Minify/MinifyPlugin.php | 3 | ||||
-rw-r--r-- | plugins/Minify/minify.php | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/plugins/Minify/MinifyPlugin.php b/plugins/Minify/MinifyPlugin.php index 13010e75a..6c1e49eb9 100644 --- a/plugins/Minify/MinifyPlugin.php +++ b/plugins/Minify/MinifyPlugin.php @@ -177,8 +177,7 @@ class MinifyPlugin extends Plugin 'author' => 'Craig Andrews', 'homepage' => 'http://status.net/wiki/Plugin:Minify', 'rawdescription' => - _m('The Minify plugin minifies your CSS and Javascript, removing whitespace and comments.')); + _m('The Minify plugin minifies StatusNet\'s CSS and JavaScript, removing whitespace and comments.')); return true; } } - diff --git a/plugins/Minify/minify.php b/plugins/Minify/minify.php index 64727f5e7..9a59c4223 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; } } - |