Update i18n/L10n.
This commit is contained in:
parent
234b1e6c23
commit
ca3d803f1d
|
@ -177,8 +177,7 @@ class MinifyPlugin extends Plugin
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'http://status.net/wiki/Plugin:Minify',
|
'homepage' => 'http://status.net/wiki/Plugin:Minify',
|
||||||
'rawdescription' =>
|
'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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,11 +46,11 @@ class MinifyAction extends Action
|
||||||
if(file_exists($this->file)) {
|
if(file_exists($this->file)) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} 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;
|
return false;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
$this->clientError(_('f parameter is required'),500);
|
$this->clientError(_m('The parameter "f" is required but missing.'),500);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -108,10 +108,9 @@ class MinifyAction extends Action
|
||||||
header('Content-Type: ' . self::TYPE_CSS);
|
header('Content-Type: ' . self::TYPE_CSS);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$this->clientError(_('File type not supported'),500);
|
$this->clientError(_m('File type not supported.'),500);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user