Skip to content

Commit 78a580f

Browse files
committed
MAGETWO-99606: Braintree - JS SDK v3 support
1 parent edd8a2c commit 78a580f

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Braintree/view/adminhtml/web/js

1 file changed

+2
-2
lines changed

app/code/Magento/Braintree/view/adminhtml/web/js/braintree.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ define([
172172
$('body').trigger('processStop');
173173
})
174174
.catch(function () {
175-
self.error('Braintree can\'t be initialized.');
175+
self.error($t('Braintree can\'t be initialized.'));
176176
});
177177
},
178178

@@ -308,7 +308,7 @@ define([
308308

309309
self.hostedFieldsInstance.tokenize(function (err, payload) {
310310
if (err) {
311-
self.error('Some payment input fields are invalid.');
311+
self.error($t('Some payment input fields are invalid.'));
312312

313313
return false;
314314
}

0 commit comments

Comments
 (0)