Skip to content

Commit c0aa25e

Browse files
author
Stanislav Idolov
authored
ENGCOM-2314: [Backport] Added translation function for Magento_Braintree module's template file. #16770
2 parents 21d24db + c0cf85e commit c0aa25e

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)