Skip to content

Commit

Permalink
Fix EZP-27090: Added translated label for select button
Browse files Browse the repository at this point in the history
(cherry picked from commit cdca8c4)
  • Loading branch information
yannickroger committed Mar 22, 2017
1 parent a1de631 commit 884e4b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion design/standard/javascript/ezmultiupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions design/standard/templates/ezmultiupload/upload.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 884e4b0

Please sign in to comment.