Move translators comment to the correct line.

This commit is contained in:
Tiago Noronha 2017-08-01 16:06:15 +01:00
parent 14d29b036d
commit ee3aa735cf
1 changed files with 1 additions and 1 deletions

View File

@ -204,9 +204,9 @@ if ( ! function_exists( '_s_woocommerce_cart_link' ) ) {
* @return void * @return void
*/ */
function _s_woocommerce_cart_link() { function _s_woocommerce_cart_link() {
/* translators: number of items in the mini cart. */
?> ?>
<a class="cart-contents" href="<?php echo esc_url( wc_get_cart_url() ); ?>" title="<?php esc_attr_e( 'View your shopping cart', '_s' ); ?>"> <a class="cart-contents" href="<?php echo esc_url( wc_get_cart_url() ); ?>" title="<?php esc_attr_e( 'View your shopping cart', '_s' ); ?>">
<?php /* translators: number of items in the mini cart. */ ?>
<span class="amount"><?php echo wp_kses_data( WC()->cart->get_cart_subtotal() ); ?></span> <span class="count"><?php echo wp_kses_data( sprintf( _n( '%d item', '%d items', WC()->cart->get_cart_contents_count(), '_s' ), WC()->cart->get_cart_contents_count() ) );?></span> <span class="amount"><?php echo wp_kses_data( WC()->cart->get_cart_subtotal() ); ?></span> <span class="count"><?php echo wp_kses_data( sprintf( _n( '%d item', '%d items', WC()->cart->get_cart_contents_count(), '_s' ), WC()->cart->get_cart_contents_count() ) );?></span>
</a> </a>
<?php <?php