Skip to content

Commit b2805eb

Browse files
ENGCOM-2257: Added translation function for Magento_Braintree module's template file. #16690
2 parents f9784f1 + 7264092 commit b2805eb

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)