Skip to content

Commit a160f2b

Browse files
author
Stanislav Idolov
authored
🔃 [EngCom] Public Pull Requests - 2.1-develop
Accepted Public Pull Requests: - #16770: [Backport] Added translation function for Magento_Braintree module's template file. (by @sanganinamrata)
2 parents 21d24db + 705dd4f commit a160f2b

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
@@ -30,6 +30,7 @@ $config = [
3030
class="action-braintree-paypal-logo" disabled>
3131
<img class="braintree-paypal-button-hidden"
3232
src="https://checkout.paypal.com/pwpp/2.17.6/images/pay-with-paypal.png"
33-
alt="Pay with PayPal"/>
33+
alt="<?php echo $block->escapeHtml(__('Pay with PayPal')); ?>"
34+
title="<?php echo $block->escapeHtml(__('Pay with PayPal')); ?>"/>
3435
</button>
3536
</div>

0 commit comments

Comments
 (0)