|
0) { printf( /* translators: 1: Number of products checked. 2: Total number of products to check. */ esc_html__('%1$d of %2$d products checked', 'valuespace'), (int) $vasp_feed['product_scopes_processed'], (int) $vasp_feed['product_scopes_total'] ); } elseif (($vasp_feed['stage'] ?? '') === 'products' && ($vasp_feed['product_send_total'] ?? 0) > 0) { printf( /* translators: 1: Number of products sent. 2: Total number of products to send. */ esc_html__('%1$d of %2$d products sent', 'valuespace'), (int) $vasp_feed['product_send_processed'], (int) $vasp_feed['product_send_total'] ); } else { printf( /* translators: %d: Number of catalog upload steps waiting. */ esc_html__('%d upload steps waiting', 'valuespace'), (int) $vasp_feed['catalog_packets'] ); } } elseif ($vasp_name === 'woocommerce_images' && ($vasp_feed['stage'] ?? '') === 'image_check' && ($vasp_feed['image_scan_total'] ?? 0) > 0) { printf( /* translators: 1: Number of products checked for image updates. 2: Total number of products to check. */ esc_html__('%1$d of %2$d products checked for image updates', 'valuespace'), (int) $vasp_feed['image_scan_processed'], (int) $vasp_feed['image_scan_total'] ); } else { printf( /* translators: %d: Number of catalog entities or events waiting to be sent. */ esc_html__('%d items waiting', 'valuespace'), (int) ($vasp_name === 'events' ? $vasp_feed['counts']['pending_count'] : $vasp_feed['image_entities']) ); } ?> |
0) : ?> |
0 ? esc_html(vasp_info_format_time($vasp_feed['next_attempt_at'])) : '—'; ?>
0) : ?>
0) : ?> |
0 ? esc_html(vasp_info_format_time($vasp_feed['lock_expires_at'])) : '—'; ?> |