From a8bc07cf4040e2c44051d5b93119ff668f3f6a91 Mon Sep 17 00:00:00 2001 From: Filipe Correa Date: Mon, 17 Aug 2020 10:11:39 -0300 Subject: [PATCH] Add a translators comment --- includes/class-wc-ajax.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/class-wc-ajax.php b/includes/class-wc-ajax.php index 21e9b7cc247..10b4d4cc55c 100644 --- a/includes/class-wc-ajax.php +++ b/includes/class-wc-ajax.php @@ -925,6 +925,7 @@ class WC_AJAX { $validation_error = apply_filters( 'woocommerce_ajax_add_order_item_validation', $validation_error, $product, $order, $qty ); if ( $validation_error->get_error_code() ) { + /* translators: %s: error message */ throw new Exception( sprintf( __( 'Error: %s', 'woocommerce' ), $validation_error->get_error_message() ) ); } $item_id = $order->add_product( $product, $qty );