From eba08c41f3540dfe43c09407bf6f31365b549762 Mon Sep 17 00:00:00 2001 From: claudiosmweb Date: Tue, 21 Oct 2014 19:31:37 -0200 Subject: [PATCH] alt attribute from paypal logo now is translatable --- includes/gateways/paypal/class-wc-gateway-paypal.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/gateways/paypal/class-wc-gateway-paypal.php b/includes/gateways/paypal/class-wc-gateway-paypal.php index e21d49d0fd3..37c94d276d4 100644 --- a/includes/gateways/paypal/class-wc-gateway-paypal.php +++ b/includes/gateways/paypal/class-wc-gateway-paypal.php @@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) { * * @class WC_Paypal * @extends WC_Gateway_Paypal - * @version 2.0.0 + * @version 2.3.0 * @package WooCommerce/Classes/Payment * @author WooThemes */ @@ -150,10 +150,10 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway { if ( is_array( $icon ) ) { $icon_html = ''; foreach ( $icon as $i ) { - $icon_html .= 'PayPal Acceptance Mark'; + $icon_html .= '' . __( 'PayPal Acceptance Mark', 'woocommerce' ) . ''; } } else { - $icon_html = 'PayPal Acceptance Mark'; + $icon_html = '' . __( 'PayPal Acceptance Mark', 'woocommerce' ) . ''; } if ( $link ) {