mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
add translation call for 'Not enough space available' upload error
This commit is contained in:
parent
166da88b73
commit
0405edc798
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue