Added textdomain to PayPal refund error message

This commit is contained in:
Claudio Sanches 2015-10-06 11:03:49 -03:00
parent f1c6b3628a
commit eef347a5ad
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway {
if ( ! $this->can_refund_order( $order ) ) {
$this->log( 'Refund Failed: No transaction ID' );
return new WP_Error( 'error', 'Refund Failed: No transaction ID' );
return new WP_Error( 'error', __( 'Refund Failed: No transaction ID', 'woocommerce' ) );
}
include_once( 'includes/class-wc-gateway-paypal-refund.php' );