File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed
Braintree/view/adminhtml/templates/form
view/frontend/templates/checkout
Paypal/view/adminhtml/templates/transparent Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ $ccType = $block->getInfoData('cc_type');
84
84
name="payment[is_active_payment_token_enabler]"
85
85
class="admin__control-checkbox"/>
86
86
<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>
88
88
</label>
89
89
</div>
90
90
<?php endif ; ?>
Original file line number Diff line number Diff line change @@ -88,3 +88,5 @@ Options,Options
88
88
"Review Order","Review Order"
89
89
"Select Shipping Method","Select Shipping Method"
90
90
"We received your order!","We received your order!"
91
+ "Ship to:","Ship to:"
92
+ "Error:","Error:"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ $orderIds = $block->getOrderIds();
32
32
<?php $ shippingAddress = $ block ->getOrderShippingAddress ($ orderId ); ?>
33
33
<div class="shipping-item">
34
34
<?php if ($ shippingAddress ) : ?>
35
- <span class="shipping-label"><?= $ block ->escapeHtml ('Ship to: ' ); ?> </span>
35
+ <span class="shipping-label"><?= $ block ->escapeHtml (__ ( 'Ship to: ' ) ); ?> </span>
36
36
<span class="shipping-address">
37
37
<?= $ block ->escapeHtml ($ block ->formatOrderShippingAddress ($ shippingAddress )); ?>
38
38
</span>
@@ -65,7 +65,7 @@ $orderIds = $block->getOrderIds();
65
65
<dl class="shipping-item">
66
66
<dt class="shipping-block">
67
67
<?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>
69
69
<span class="shipping-address">
70
70
<?= $ block ->escapeHtml ($ block ->formatQuoteShippingAddress ($ address )); ?>
71
71
</span>
@@ -76,7 +76,7 @@ $orderIds = $block->getOrderIds();
76
76
<?php endif ; ?>
77
77
</dt>
78
78
<dd class="error-block">
79
- <span class="error-label"><?= $ block ->escapeHtml ('Error: ' ); ?> </span>
79
+ <span class="error-label"><?= $ block ->escapeHtml (__ ( 'Error: ' ) ); ?> </span>
80
80
<span class="error-description">
81
81
<?= /* @noEscape */ $ block ->getAddressError ($ address ); ?>
82
82
</span>
Original file line number Diff line number Diff line change 22
22
<?php $ shippingAddress = $ block ->getCheckoutData ()->getOrderShippingAddress ($ orderId ); ?>
23
23
<div class="shipping-item">
24
24
<?php if ($ shippingAddress ) : ?>
25
- <span class="shipping-label"><?= $ block ->escapeHtml ('Ship to: ' ); ?> </span>
25
+ <span class="shipping-label"><?= $ block ->escapeHtml (__ ( 'Ship to: ' ) ); ?> </span>
26
26
<span class="shipping-address">
27
27
<?= $ block ->escapeHtml (
28
28
$ block ->getCheckoutData ()->formatOrderShippingAddress ($ shippingAddress )
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
135
135
name="payment[is_active_payment_token_enabler]"
136
136
class="admin__control-checkbox"/>
137
137
<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>
139
139
</label>
140
140
</div>
141
141
<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments