Skip to content

Commit

Permalink
fixed js translation
Browse files Browse the repository at this point in the history
  • Loading branch information
torhoehn committed Oct 30, 2018
1 parent 45a7e0c commit b51e3be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ define([
'Magento_Checkout/js/model/totals',
'jquery',
'mage/translate'
], function (ko, Component, quote, totals, $) {
], function (ko, Component, quote, totals, $, $t) {
'use strict';

var isTaxDisplayedInGrandTotal = window.checkoutConfig.includeTaxInGrandTotal,
Expand All @@ -24,7 +24,7 @@ define([
return Component.extend({
defaults: {
isTaxDisplayedInGrandTotal: isTaxDisplayedInGrandTotal,
notCalculatedMessage: $.mage.__('Not yet calculated'),
notCalculatedMessage: $t('Not yet calculated'),
template: 'Magento_Tax/checkout/summary/tax'
},
totals: quote.getTotals(),
Expand Down

0 comments on commit b51e3be

Please sign in to comment.