diff --git a/design/standard/javascript/ezmultiupload.js b/design/standard/javascript/ezmultiupload.js index 1631280..01027f1 100644 --- a/design/standard/javascript/ezmultiupload.js +++ b/design/standard/javascript/ezmultiupload.js @@ -139,7 +139,7 @@ YUI.add('ezmultiupload', function (Y) { init: function () { Y.on('domready', function () { Y.Uploader = Y.UploaderHTML5; - Y.ez.MultiUpload.uploader = new Y.Uploader(); + Y.ez.MultiUpload.uploader = new Y.Uploader({selectButtonLabel: Y.ez.MultiUpload.cfg.selectButtonLabel}); if (Y.Uploader.TYPE == "html5") { Y.ez.MultiUpload.uploader.set("uploadURL", Y.ez.MultiUpload.cfg.uploadURL); diff --git a/design/standard/templates/ezmultiupload/upload.tpl b/design/standard/templates/ezmultiupload/upload.tpl index cbd8be5..43a9b03 100644 --- a/design/standard/templates/ezmultiupload/upload.tpl +++ b/design/standard/templates/ezmultiupload/upload.tpl @@ -22,6 +22,7 @@ allFilesRecived: "{'All files received.'|i18n('extension/ezmultiupload')|wash(javascript)}", uploadCanceled: "{'Upload canceled.'|i18n('extension/ezmultiupload')|wash(javascript)}", thumbnailCreated: "{'Thumbnail created.'|i18n('extension/ezmultiupload')|wash(javascript)}", + selectButtonLabel: "{'Select files'|i18n('extension/ezmultiupload')|wash(javascript)}", multipleFiles: true {rdelim}; Y.ez.MultiUpload.init();