master
iotcat 4 years ago
parent f9861de219
commit 4c25c95267
  1. 10
      js/main.js

@ -45,10 +45,10 @@ function select(){
(function(){ (function(){
var options = {}; var options = {};
$('.js-uploader__box').uploader({ $('.js-uploader__box').uploader({
'selectButtonCopy': ((page.tran.getLang() == 'zh')?'请选择或拖拽文件':'Please select or drag and drop files'), 'selectButtonCopy': '<span class=".zh">请选择或拖拽文件</span><span class=".en">Please select or drag and drop files</span>',
'instructionsCopy': ((page.tran.getLang() == 'zh')?'你可以选择或拖拽多个文件':'You can select or drag multiple files'), 'instructionsCopy': '<span class=".zh">你可以选择或拖拽多个文件</span><span class=".en">You can select or drag multiple files</span>',
'submitButtonCopy': ((page.tran.getLang() == 'zh')?'上传选择的文件':'Upload selected file'), 'submitButtonCopy': '<span class=".zh">上传选择的文件</span><span class=".en">Upload selected file</span>',
'furtherInstructionsCopy': ((page.tran.getLang() == 'zh')?'你可以选择或拖拽更多的文件':'You can select or drag and drop more files'), 'furtherInstructionsCopy': '<span class=".zh">你可以选择或拖拽更多的文件</span><span class=".en">You can select or drag and drop more files</span>',
'secondarySelectButtonCopy':((page.tran.getLang() == 'zh')?'选择更多的文件':'Select more files') 'secondarySelectButtonCopy':'<span class=".zh">选择更多的文件</span><span class=".en">Select more files</span>'
}); });
}()); }());
Loading…
Cancel
Save