From: Jörn Friedrich Dreyer Date: Wed, 2 Jan 2013 20:00:50 +0000 (+0100) Subject: add translation call for 'Not enough space available' upload error X-Git-Tag: v5.0.0alpha1~265^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0405edc7984c01b5ef4d6cb4ff5154e8bd4dca11;p=nextcloud-server.git add translation call for 'Not enough space available' upload error --- diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php index e7823bc4ffb..0909a3f0776 100644 --- a/apps/files/ajax/upload.php +++ b/apps/files/ajax/upload.php @@ -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(); }