Add translation for error message

This commit is contained in:
Brice Maron 2012-05-24 19:16:00 +00:00
parent 2c9311cf48
commit 5fa14806c8
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ $(document).ready(function() {
for(var i=0;i<files.length;i++){ for(var i=0;i<files.length;i++){
if(files[i].size ==0 && files[i].type== '') if(files[i].size ==0 && files[i].type== '')
{ {
OC.dialogs.alert('Unable to upload your file as it is a directory or has 0 bytes','Upload Error'); OC.dialogs.alert(t('files', 'Unable to upload your file as it is a directory or has 0 bytes'), t('files', 'Upload Error'));
return; return;
} }
totalSize+=files[i].size; totalSize+=files[i].size;