Skip to content

Commit f681682

Browse files
author
Stanislav Idolov
authored
ENGCOM-2330: [Forwardport] Added translation function for Magento_Braintree module's template file. #16771
2 parents 4e3d8a2 + d34ed1a commit f681682

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Braintree/view/frontend/templates/paypal

1 file changed

+2
-1
lines changed

app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ $config = [
2929
class="action-braintree-paypal-logo" disabled>
3030
<img class="braintree-paypal-button-hidden"
3131
src="https://checkout.paypal.com/pwpp/2.17.6/images/pay-with-paypal.png"
32-
alt="Pay with PayPal"/>
32+
alt="<?= $block->escapeHtml(__('Pay with PayPal')) ?>"
33+
title="<?= $block->escapeHtml(__('Pay with PayPal')) ?>"/>
3334
</button>
3435
</div>

0 commit comments

Comments
 (0)