Skip to content

Commit c0cf85e

Browse files
ENGCOM-2314: [Backport] Added translation function for Magento_Braintree module's template file. #16770
- Merge Pull Request #16770 from sanganinamrata/magento2:2.1-develop-PR-port-16690 - Merged commits: 1. 48530d2
2 parents 16839c0 + 48530d2 commit c0cf85e

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="<?= $block->escapeHtml(__('Pay with PayPal')) ?>"
34+
title="<?= $block->escapeHtml(__('Pay with PayPal')) ?>"/>
3435
</button>
3536
</div>

0 commit comments

Comments
 (0)