Skip to content
Snippets Groups Projects
Commit ae97fad6 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

fix double translation of error message

parent a6933efc
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment