Skip to content

Commit

Permalink
MAGETWO-46696: Unable to translate inline for checkout #2652
Browse files Browse the repository at this point in the history
  • Loading branch information
ishakhsuvarov committed Dec 14, 2015
1 parent 54a6742 commit 9a49f89
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ define(
stepNavigator.registerStep(
'payment',
null,
'Review & Payments',
$t('Review & Payments'),
this.isVisible,
_.bind(this.navigate, this),
20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ define(
stepNavigator.registerStep(
'shipping',
'',
'Shipping',
$t('Shipping'),
this.visible, _.bind(this.navigate, this),
10
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-->
<tr class="grand totals">
<th class="mark" colspan="1" scope="row">
<strong data-bind="text: title"></strong>
<strong data-bind="i18n: title"></strong>
</th>
<td class="amount" data-th="Order Total">
<strong><span class="price" data-bind="text: getValue()"></span></strong>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
-->
<tr class="totals sub">
<th class="mark" colspan="1" scope="row" data-bind="text: title"></th>
<th class="mark" colspan="1" scope="row" data-bind="i18n: title"></th>
<td class="amount" data-th="Subtotal">
<span class="price" data-bind="text: getValue()"></span>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
-->
<li id="payment" role="presentation" class="checkout-payment-method" data-bind="fadeVisible: isVisible">
<div class="step-title" data-bind="text: title" data-role="title"></div>
<div class="step-title" data-bind="i18n: title" data-role="title"></div>
<div id="checkout-step-payment"
class="step-content"
data-role="content"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- ko if: quoteIsVirtual == 0 -->
<tr class="totals shipping excl">
<th class="mark" scope="row">
<span class="label" data-bind="text: title"></span>
<span class="label" data-bind="i18n: title"></span>
<span class="value" data-bind="text: getShippingMethodTitle()"></span>
</th>
<td class="amount">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<!-- ko if: isTaxDisplayedInGrandTotal && isDisplayed() -->
<tr class="grand totals incl">
<th class="mark" scope="row">
<strong data-bind="text: inclTaxLabel"></strong>
<strong data-bind="i18n: inclTaxLabel"></strong>
</th>
<td data-bind="attr: {'data-th': inclTaxLabel}" class="amount">
<strong><span class="price" data-bind="text: getValue()"></span></strong>
</td>
</tr>
<tr class="grand totals excl">
<th class="mark" scope="row">
<strong data-bind="text: exclTaxLabel"></strong>
<strong data-bind="i18n: exclTaxLabel"></strong>
</th>
<td data-bind="attr: {'data-th': exclTaxLabel}" class="amount">
<strong><span class="price" data-bind="text: getGrandTotalExclTax()"></span></strong>
Expand All @@ -25,7 +25,7 @@
<!-- ko if: !isTaxDisplayedInGrandTotal && isDisplayed() -->
<tr class="grand totals">
<th class="mark" scope="row">
<strong data-bind="text: title"></strong>
<strong data-bind="i18n: title"></strong>
</th>
<td data-bind="attr: {'data-th': title}" class="amount">
<strong><span class="price" data-bind="text: getValue()"></span></strong>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<!-- ko if: isIncludingDisplayed() -->
<tr class="totals shipping incl">
<th class="mark" scope="row">
<span class="label" data-bind="text: title"></span>
<span class="label" data-bind="i18n: title"></span>
<span class="value" data-bind="text: getShippingMethodTitle()"></span>
</th>
<td class="amount">
Expand All @@ -42,7 +42,7 @@
<!-- ko if: isExcludingDisplayed() -->
<tr class="totals shipping excl">
<th class="mark" scope="row">
<span class="label" data-bind="text: title"></span>
<span class="label" data-bind="i18n: title"></span>
<span class="value" data-bind="text: getShippingMethodTitle()"></span>
</th>
<td class="amount">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<!-- ko if: isTaxDisplayedInGrandTotal && isDisplayed() -->
<tr class="grand totals incl">
<th class="mark" scope="row">
<strong data-bind="text: inclTaxLabel"></strong>
<strong data-bind="i18n: inclTaxLabel"></strong>
</th>
<td data-bind="attr: {'data-th': inclTaxLabel}" class="amount">
<strong><span class="price" data-bind="text: getValue()"></span></strong>
</td>
</tr>
<tr class="grand totals excl">
<th class="mark" scope="row">
<strong data-bind="text: exclTaxLabel"></strong>
<strong data-bind="i18n: exclTaxLabel"></strong>
</th>
<td data-bind="attr: {'data-th': exclTaxLabel}" class="amount">
<strong><span class="price" data-bind="text: getGrandTotalExclTax()"></span></strong>
Expand All @@ -25,7 +25,7 @@
<!-- ko if: !isTaxDisplayedInGrandTotal && isDisplayed() -->
<tr class="grand totals">
<th class="mark" scope="row">
<strong data-bind="text: title"></strong>
<strong data-bind="i18n: title"></strong>
</th>
<td data-bind="attr: {'data-th': title}" class="amount">
<strong><span class="price" data-bind="text: getValue()"></span></strong>
Expand All @@ -34,7 +34,7 @@
<!-- /ko -->
<!-- ko if: isBaseGrandTotalDisplayNeeded() && isDisplayed() -->
<tr class="totals charge">
<th class="mark" data-bind="text: basicCurrencyMessage" scope="row"></th>
<th class="mark" data-bind="i18n: basicCurrencyMessage" scope="row"></th>
<td class="amount">
<span class="price" data-bind="text: getBaseValue(), attr: {'data-th': basicCurrencyMessage}"></span>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<!-- ko if: isIncludingDisplayed() -->
<tr class="totals shipping incl">
<th class="mark" scope="row">
<span class="label" data-bind="text: title"></span>
<span class="label" data-bind="i18n: title"></span>
<span class="value" data-bind="text: getShippingMethodTitle()"></span>
</th>
<td class="amount">
Expand All @@ -60,7 +60,7 @@
<!-- ko if: isExcludingDisplayed() -->
<tr class="totals shipping excl">
<th class="mark" scope="row">
<span class="label" data-bind="text: title"></span>
<span class="label" data-bind="i18n: title"></span>
<span class="value" data-bind="text: getShippingMethodTitle()"></span>
</th>
<td class="amount">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
<!-- ko if: isBothPricesDisplayed() -->
<tr class="totals sub excl">
<th class="mark" scope="row">
<span data-bind="text: title"></span>
<span data-bind="text: excludingTaxMessage"></span>
<span data-bind="i18n: title"></span>
<span data-bind="i18n: excludingTaxMessage"></span>
</th>
<td class="amount">
<span class="price" data-bind="text: getValue(), attr: {'data-th': excludingTaxMessage}"></span>
</td>
</tr>
<tr class="totals sub incl">
<th class="mark" scope="row">
<span data-bind="text: title"></span>
<span data-bind="text: includingTaxMessage"></span>
<span data-bind="i18n: title"></span>
<span data-bind="i18n: includingTaxMessage"></span>
</th>
<td class="amount">
<span class="price" data-bind="text: getValueInclTax(), attr: {'data-th': includingTaxMessage}"></span>
Expand All @@ -26,15 +26,15 @@
<!-- /ko -->
<!-- ko if: !isBothPricesDisplayed() && isIncludingTaxDisplayed() -->
<tr class="totals sub">
<th data-bind="text: title" class="mark" scope="row"></th>
<th data-bind="i18n: title" class="mark" scope="row"></th>
<td class="amount">
<span class="price" data-bind="text: getValueInclTax(), attr: {'data-th': title}"></span>
</td>
</tr>
<!-- /ko -->
<!-- ko if: !isBothPricesDisplayed() && !isIncludingTaxDisplayed() -->
<tr class="totals sub">
<th data-bind="text: title" class="mark" scope="row"></th>
<th data-bind="i18n: title" class="mark" scope="row"></th>
<td class="amount">
<span class="price" data-bind="text: getValue(), attr: {'data-th': title}"></span>
</td>
Expand Down

0 comments on commit 9a49f89

Please sign in to comment.