summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-01-02 21:00:50 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-01-02 21:00:50 +0100
commit0405edc7984c01b5ef4d6cb4ff5154e8bd4dca11 (patch)
tree2635b212245263eb2490ba2e921aa1afeab4af23 /apps
parent166da88b73df7720cd7d6a29924bd3beb45af375 (diff)
downloadnextcloud-server-0405edc7984c01b5ef4d6cb4ff5154e8bd4dca11.tar.gz
nextcloud-server-0405edc7984c01b5ef4d6cb4ff5154e8bd4dca11.zip
add translation call for 'Not enough space available' upload error
Diffstat (limited to 'apps')
-rw-r--r--apps/files/ajax/upload.php2
1 files changed, 1 insertions, 1 deletions
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();
}