|
116 | 116 | <?php if ( $stats['uploaded-images'] > 0 && sizeof( $active_tinify_sizes ) > 0 && $stats['available-unoptimized-sizes'] > 0 ) { ?> |
117 | 117 | <p> |
118 | 118 | <?php |
119 | | - /* translators: %1$s: number of sizes that can be optimised, %2$s number of images */ |
120 | 119 | printf( |
| 120 | + /* translators: %1$s: number of sizes that can be optimised, %2$s number of images */ |
121 | 121 | esc_html__( |
122 | 122 | 'With your current settings you can still optimize %1$s image sizes from your %2$s uploaded JPEG, PNG, and WebP images.', |
123 | 123 | 'tiny-compress-images' |
|
150 | 150 | <p> |
151 | 151 | <?php if ( sizeof( $active_tinify_sizes ) > 0 ) { ?> |
152 | 152 | <?php |
153 | | - /* translators: %d: number of sizes to be compressed */ |
154 | 153 | printf( |
155 | 154 | wp_kses( |
| 155 | + /* translators: %d: number of sizes to be compressed */ |
156 | 156 | _n( 'For each uploaded image <strong>%d size</strong> is optimized.', 'For each uploaded image <strong>%d sizes</strong> are optimized.', count( $active_tinify_sizes ), 'tiny-compress-images' ), |
157 | 157 | array( |
158 | 158 | 'strong' => array(), |
|
163 | 163 | ?> |
164 | 164 | <?php } ?> |
165 | 165 | <?php |
166 | | - /* translators: %s: link to settings page saying here */ |
167 | 166 | printf( |
168 | 167 | wp_kses( |
| 168 | + /* translators: %s: link to settings page saying here */ |
169 | 169 | __( 'You can change these settings %s.', 'tiny-compress-images' ), |
170 | 170 | array( |
171 | 171 | 'a' => array( |
|
199 | 199 | <div class="tip"> |
200 | 200 | <p> |
201 | 201 | <?php |
202 | | - /* translators: %1$d %2$s: number of image sizes, %3$s: link saying upgrade here */ |
203 | 202 | printf( |
204 | 203 | wp_kses( |
| 204 | + /* translators: %1$d %2$s: number of image sizes, %3$s: link saying upgrade here */ |
205 | 205 | __( 'If you wish to compress more than <strong>%1$d %2$s</strong> a month and you are still on a free account %3$s.', 'tiny-compress-images' ), |
206 | 206 | array( |
207 | 207 | 'strong' => array(), |
|
224 | 224 | </table> |
225 | 225 | <div class="notes"> |
226 | 226 | <?php |
227 | | - /* translators: %s: link to settings page saying here */ |
228 | 227 | printf( |
229 | 228 | wp_kses( |
| 229 | + /* translators: %s: link to settings page saying here */ |
230 | 230 | __( 'Configure compression settings %s.', 'tiny-compress-images' ), |
231 | 231 | array( |
232 | 232 | 'a' => array( |
|
303 | 303 | require_once dirname( __FILE__ ) . '/bulk-optimization-upgrade-notice.php'; |
304 | 304 | } |
305 | 305 | ?> |
306 | | - </div> |
| 306 | + </div> |
307 | 307 | <script type="text/javascript"> |
308 | 308 | <?php echo 'jQuery(function() { bulkOptimization(' . json_encode( $stats['available-for-optimization'] ) . ')})'; ?> |
309 | 309 | </script> |
|
0 commit comments