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:
Claudio Sanches 2017-04-06 12:01:27 -03:00 committed by GitHub
commit d326fd2224
1 changed files with 2 additions and 2 deletions

View File

@ -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>