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');
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 ; ?>
Original file line number Diff line number Diff 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:"
Original file line number Diff line number Diff 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>
Original file line number Diff line number Diff line change 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 )
Original file line number Diff line number Diff 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 ; ?>
You can’t perform that action at this time.
0 commit comments