From e705102b6bd617f7da5af61ff9e44bb5d8f5e4c9 Mon Sep 17 00:00:00 2001 From: Rami Yushuvaev Date: Sat, 29 Oct 2016 16:13:46 +0300 Subject: [PATCH] Fix travis error --- includes/class-wc-emails.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-wc-emails.php b/includes/class-wc-emails.php index d474bf5dfc5..50bb5f6e260 100644 --- a/includes/class-wc-emails.php +++ b/includes/class-wc-emails.php @@ -395,9 +395,9 @@ class WC_Emails { */ public function low_stock( $product ) { $subject = sprintf( '[%s] %s', $this->get_blogname(), __( 'Product low in stock', 'woocommerce' ) ); - /* translators: %s: product name %d: items in stock */ + /* translators: 1: product name 2: items in stock */ $message = sprintf( - __( '%s is low in stock. There are %d left', 'woocommerce' ), + __( '%1$s is low in stock. There are %2$d left.', 'woocommerce' ), html_entity_decode( strip_tags( $product->get_formatted_name() ), ENT_QUOTES, get_bloginfo( 'charset' ) ), html_entity_decode( strip_tags( $product->get_total_stock() ) ) );