Added context to string in result-count.php to make GlotPress catch

Missing this string on GlotPress, since the first part is equal from the
previous translatable string.
This commit is contained in:
Claudio Sanches 2017-04-06 11:07:48 -03:00
parent 7b04551233
commit f2fa4f127d
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
* @see https://docs.woocommerce.com/document/template-structure/ * @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes * @author WooThemes
* @package WooCommerce/Templates * @package WooCommerce/Templates
* @version 2.0.0 * @version 3.0.0
*/ */
if ( ! defined( 'ABSPATH' ) ) { if ( ! defined( 'ABSPATH' ) ) {
@ -40,7 +40,7 @@ if ( ! woocommerce_products_will_display() )
printf( _n( 'Showing the single result', 'Showing all %d results', $total, 'woocommerce' ), $total ); printf( _n( 'Showing the single result', 'Showing all %d results', $total, 'woocommerce' ), $total );
} else { } else {
/* translators: 1: first result 2: last result 3: total results */ /* translators: 1: first result 2: last result 3: total results */
printf( _n( 'Showing the single result', 'Showing %1$d–%2$d of %3$d results', $total, 'woocommerce' ), $first, $last, $total ); printf( _nx( 'Showing the single result', 'Showing %1$d–%2$d of %3$d results', $total, 'with first and last result', 'woocommerce' ), $first, $last, $total );
} }
?> ?>
</p> </p>