is_active() ) { /* translators: %s - Next-Gen Conversion. */ $msg = sprintf( __( 'Bulk Smush will convert your images to %s format in addition to its regular smushing for optimal performance.', 'wp-smushit' ), $next_gen_manager->get_active_format_name() ); } elseif ( $background_processing_enabled ) { $msg = __( 'Bulk smush detects images that can be optimized and allows you to compress them in bulk in the background without any quality loss.', 'wp-smushit' ); } else { $msg = __( 'Bulk smush detects images that can be optimized and allows you to compress them in bulk.', 'wp-smushit' ); } ?>
view( 'loopback-error-dialog', array(), 'modals' ); // If there are no images in media library. if ( 0 === absint( $total_count ) ) { $this->view( 'media-lib-empty', array(), 'views/bulk' ); return; } $this->view( 'auto-bulk-smush-notification', array( 'background_processing_enabled' => $background_processing_enabled, ), 'views/bulk' ); if ( ! $can_use_background ) { $this->view( 'limit-reached-notice', array(), 'views/bulk' ); } // Progress bar. $this->view( 'progress-bar', array( 'count' => $remaining_count, 'background_in_processing_notice' => $background_in_processing_notice, 'background_processing_enabled' => $background_processing_enabled, 'in_processing_notice' => $in_processing_notice, ), 'common' ); // All images are smushed. $this->view( 'all-images-smushed-notice', array( 'all_done' => empty( $remaining_count ) ), 'common' ); // List errors. $this->view( 'list-errors', array(), 'views/bulk' ); ?>