Skip to content

Commit e80ea11

Browse files
committed
Statuses translation:)
1 parent af86969 commit e80ea11

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

example.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
return true;
2626
return confirm("You are trying to upload " + total + " files. Are you sure?");
2727
},
28+
onProgress: function(event, progress, name, number, total) {
29+
console.log(progress, number);
30+
},
2831
setName: function(text) {
2932
$("#progress_report_name").text(text);
3033
},

jquery.html5_upload.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
method: 'post',
3434

3535
STATUSES: {
36-
'STARTED': 'Запуск',
37-
'PROGRESS': 'Загрузка',
38-
'LOADED': 'Обработка',
39-
'FINISHED': 'Завершено'
36+
'STARTED' : 'Started',
37+
'PROGRESS' : 'Progress',
38+
'LOADED' : 'Loaded',
39+
'FINISHED' : 'Finished'
4040
},
4141
headers: {
4242
"Cache-Control":"no-cache",

0 commit comments

Comments
 (0)