Add comment to the translatable string

This commit is contained in:
Abdalsalaam Halawa 2023-04-20 00:55:56 +02:00
parent 3b9be84659
commit 1109f7147a
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ final class ReserveStock {
// Add order note after successfully holding the stock.
if ( ! empty( $held_stock_notes ) ) {
// translators: %s is a time in minutes
$order->add_order_note( sprintf( __( 'Stock is held for %s minutes for payment:', 'woocommerce' ), $minutes ) . ' ' . implode( ', ', $order_notes ) );
}
}