diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-19 11:32:56 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-19 11:32:56 +0200 |
commit | ae97fad6322c94765ce7bed0b7c2278d5aa0e701 (patch) | |
tree | 9373f5b218d847c48cd65db0e3bb5ba02edf1909 /apps/files | |
parent | a6933efce358db5930c9e6bf516171baa81f8472 (diff) | |
download | nextcloud-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.js | 2 |
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); } |