]> source.dussan.org Git - nextcloud-server.git/commitdiff
add translation call for 'Not enough space available' upload error
authorJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 2 Jan 2013 20:00:50 +0000 (21:00 +0100)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 2 Jan 2013 20:00:50 +0000 (21:00 +0100)
apps/files/ajax/upload.php

index e7823bc4ffbb4432406fbb67f5a0829daa3afba8..0909a3f07768b46c6c0d29c5ca5c7f3f72ef4ad6 100644 (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();
 }