Add translation for error message
This commit is contained in:
parent
2c9311cf48
commit
5fa14806c8
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue