Skip to content

Commit

Permalink
Fix typo in order note
Browse files Browse the repository at this point in the history
PR woocommerce#24501 fixed a typo in a order note string. This commit fix the same
problem in another place where the same string is used.
  • Loading branch information
rodrigoprimo committed Aug 30, 2019
1 parent df887bc commit e7b8e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/gateways/paypal/class-wc-gateway-paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public function capture_payment( $order_id ) {
if ( is_wp_error( $result ) ) {
$this->log( 'Capture Failed: ' . $result->get_error_message(), 'error' );
/* translators: %s: Paypal gateway error message */
$order->add_order_note( sprintf( __( 'Payment could not captured: %s', 'woocommerce' ), $result->get_error_message() ) );
$order->add_order_note( sprintf( __( 'Payment could not be captured: %s', 'woocommerce' ), $result->get_error_message() ) );
return;
}

Expand Down

0 comments on commit e7b8e3e

Please sign in to comment.