Skip to content

Commit 604618a

Browse files
ENGCOM-1820: [Forwardport] Added language translation in template files #15750
- Merge Pull Request #15750 from vijay-wagento/magento2:2.3-develop-PR-port-15371 - Merged commits: 1. 3e21edd
2 parents 943e2cd + 3e21edd commit 604618a

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

app/code/Magento/Braintree/view/adminhtml/templates/form/cc.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ $ccType = $block->getInfoData('cc_type');
8484
name="payment[is_active_payment_token_enabler]"
8585
class="admin__control-checkbox"/>
8686
<label class="label" for="<?= /* @noEscape */ $code ?>_vault">
87-
<span><?= $block->escapeHtml('Save for later use.') ?></span>
87+
<span><?= $block->escapeHtml(__('Save for later use.')) ?></span>
8888
</label>
8989
</div>
9090
<?php endif; ?>

app/code/Magento/Multishipping/i18n/en_US.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,5 @@ Options,Options
8888
"Review Order","Review Order"
8989
"Select Shipping Method","Select Shipping Method"
9090
"We received your order!","We received your order!"
91+
"Ship to:","Ship to:"
92+
"Error:","Error:"

app/code/Magento/Multishipping/view/frontend/templates/checkout/results.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $orderIds = $block->getOrderIds();
3232
<?php $shippingAddress = $block->getOrderShippingAddress($orderId); ?>
3333
<div class="shipping-item">
3434
<?php if ($shippingAddress) : ?>
35-
<span class="shipping-label"><?= $block->escapeHtml('Ship to:'); ?></span>
35+
<span class="shipping-label"><?= $block->escapeHtml(__('Ship to:')); ?></span>
3636
<span class="shipping-address">
3737
<?= $block->escapeHtml($block->formatOrderShippingAddress($shippingAddress)); ?>
3838
</span>
@@ -65,7 +65,7 @@ $orderIds = $block->getOrderIds();
6565
<dl class="shipping-item">
6666
<dt class="shipping-block">
6767
<?php if ($block->isShippingAddress($address)) : ?>
68-
<span class="shipping-label"><?= $block->escapeHtml('Ship to:'); ?></span>
68+
<span class="shipping-label"><?= $block->escapeHtml(__('Ship to:')); ?></span>
6969
<span class="shipping-address">
7070
<?= $block->escapeHtml($block->formatQuoteShippingAddress($address)); ?>
7171
</span>
@@ -76,7 +76,7 @@ $orderIds = $block->getOrderIds();
7676
<?php endif; ?>
7777
</dt>
7878
<dd class="error-block">
79-
<span class="error-label"><?= $block->escapeHtml('Error:'); ?></span>
79+
<span class="error-label"><?= $block->escapeHtml(__('Error:')); ?></span>
8080
<span class="error-description">
8181
<?= /* @noEscape */ $block->getAddressError($address); ?>
8282
</span>

app/code/Magento/Multishipping/view/frontend/templates/checkout/success.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<?php $shippingAddress = $block->getCheckoutData()->getOrderShippingAddress($orderId); ?>
2323
<div class="shipping-item">
2424
<?php if ($shippingAddress) : ?>
25-
<span class="shipping-label"><?= $block->escapeHtml('Ship to:'); ?></span>
25+
<span class="shipping-label"><?= $block->escapeHtml(__('Ship to:')); ?></span>
2626
<span class="shipping-address">
2727
<?= $block->escapeHtml(
2828
$block->getCheckoutData()->formatOrderShippingAddress($shippingAddress)

app/code/Magento/Paypal/view/adminhtml/templates/transparent/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
135135
name="payment[is_active_payment_token_enabler]"
136136
class="admin__control-checkbox"/>
137137
<label class="admin__field-label" for="<?= /* @noEscape */ $code ?>_vault">
138-
<span><?= $block->escapeHtml('Save for later use.') ?></span>
138+
<span><?= $block->escapeHtml(__('Save for later use.')) ?></span>
139139
</label>
140140
</div>
141141
<?php endif; ?>

0 commit comments

Comments
 (0)