summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-09-19 11:32:56 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-09-19 11:32:56 +0200
commitae97fad6322c94765ce7bed0b7c2278d5aa0e701 (patch)
tree9373f5b218d847c48cd65db0e3bb5ba02edf1909 /apps/files
parenta6933efce358db5930c9e6bf516171baa81f8472 (diff)
downloadnextcloud-server-ae97fad6322c94765ce7bed0b7c2278d5aa0e701.tar.gz
nextcloud-server-ae97fad6322c94765ce7bed0b7c2278d5aa0e701.zip
fix double translation of error message
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/file-upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index 3cf43dff506..cca256a5ab0 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -365,7 +365,7 @@ $(document).ready(function() {
} else if (result[0].status !== 'success') {
//delete data.jqXHR;
data.textStatus = 'servererror';
- data.errorThrown = t('files', result.data.message);
+ data.errorThrown = result.data.message; // error message has been translated on server
var fu = $(this).data('blueimp-fileupload') || $(this).data('fileupload');
fu._trigger('fail', e, data);
}