add translation call for 'Not enough space available' upload error

This commit is contained in:
Jörn Friedrich Dreyer 2013-01-02 21:00:50 +01:00
parent 166da88b73
commit 0405edc798
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ foreach($files['size'] as $size) {
$totalSize+=$size;
}
if($totalSize>OC_Filesystem::free_space($dir)) {
OCP\JSON::error(array('data' => array( 'message' => 'Not enough space available' )));
OCP\JSON::error(array('data' => array( 'message' => $l->t( 'Not enough space available' ))));
exit();
}