add translation call for 'Not enough space available' upload error
This commit is contained in:
parent
166da88b73
commit
0405edc798
|
@ -41,7 +41,7 @@ foreach($files['size'] as $size) {
|
||||||
$totalSize+=$size;
|
$totalSize+=$size;
|
||||||
}
|
}
|
||||||
if($totalSize>OC_Filesystem::free_space($dir)) {
|
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();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue