Skip to content

Commit 0b24b39

Browse files
author
Serhiy Zhovnir
committed
#20461 Add translate component
1 parent b9390c9 commit 0b24b39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/file-uploader.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ define([
1313
'Magento_Ui/js/modal/alert',
1414
'Magento_Ui/js/lib/validation/validator',
1515
'Magento_Ui/js/form/element/abstract',
16+
'mage/translate',
1617
'jquery/file-uploader'
17-
], function ($, _, utils, uiAlert, validator, Element) {
18+
], function ($, _, utils, uiAlert, validator, Element, $t) {
1819
'use strict';
1920

2021
return Element.extend({

0 commit comments

Comments
 (0)