Skip to content

Commit b51e3be

Browse files
committed
fixed js translation
1 parent 45a7e0c commit b51e3be

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary

1 file changed

+2
-2
lines changed

app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/tax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ define([
1414
'Magento_Checkout/js/model/totals',
1515
'jquery',
1616
'mage/translate'
17-
], function (ko, Component, quote, totals, $) {
17+
], function (ko, Component, quote, totals, $, $t) {
1818
'use strict';
1919

2020
var isTaxDisplayedInGrandTotal = window.checkoutConfig.includeTaxInGrandTotal,
@@ -24,7 +24,7 @@ define([
2424
return Component.extend({
2525
defaults: {
2626
isTaxDisplayedInGrandTotal: isTaxDisplayedInGrandTotal,
27-
notCalculatedMessage: $.mage.__('Not yet calculated'),
27+
notCalculatedMessage: $t('Not yet calculated'),
2828
template: 'Magento_Tax/checkout/summary/tax'
2929
},
3030
totals: quote.getTotals(),

0 commit comments

Comments
 (0)