my-account change strintf to printf
Add translators comment Per new Woo template files;
This commit is contained in:
parent
ff5dbf64e2
commit
bd3928f396
|
@ -62,7 +62,10 @@ if ( $customer_orders ) : ?>
|
||||||
<?php echo esc_html( wc_get_order_status_name( $order->get_status() ) ); ?>
|
<?php echo esc_html( wc_get_order_status_name( $order->get_status() ) ); ?>
|
||||||
|
|
||||||
<?php elseif ( 'order-total' === $column_id ) : ?>
|
<?php elseif ( 'order-total' === $column_id ) : ?>
|
||||||
<?php echo sprintf( _n( '%s for %s item', '%s for %s items', $item_count, 'understrap' ), $order->get_formatted_order_total(), $item_count ); ?>
|
<?php
|
||||||
|
/* translators: 1: formatted order total 2: total order items */
|
||||||
|
printf( _n( '%1$s for %2$s item', '%1$s for %2$s items', $item_count, 'understrap' ), $order->get_formatted_order_total(), $item_count );
|
||||||
|
?>
|
||||||
|
|
||||||
<?php elseif ( 'order-actions' === $column_id ) : ?>
|
<?php elseif ( 'order-actions' === $column_id ) : ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
Reference in New Issue