Merge pull request #14041 from woocommerce/fix/missing-translation
Added context to string in result-count.php to make GlotPress catch
This commit is contained in:
commit
d326fd2224
|
@ -15,7 +15,7 @@
|
|||
* @see https://docs.woocommerce.com/document/template-structure/
|
||||
* @author WooThemes
|
||||
* @package WooCommerce/Templates
|
||||
* @version 2.0.0
|
||||
* @version 3.0.0
|
||||
*/
|
||||
|
||||
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 );
|
||||
} else {
|
||||
/* 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>
|
||||
|
|
Loading…
Reference in New Issue