| 1 |
|
| 2 |
<p> |
| 3 |
<?php |
| 4 |
echo esc_html( |
| 5 |
sprintf( |
| 6 |
/* translators: %s is a formatted number (don’t use %d). */ |
| 7 |
_n( |
| 8 |
'It seems that you have %s optimized image without Next-Gen versions. You can generate it here.', |
| 9 |
'It seems that you have %s optimized images without Next-Gen versions. You can generate them here.', |
| 10 |
$data['count'], |
| 11 |
'imagify' |
| 12 |
), |
| 13 |
number_format_i18n( $data['count'] ) |
| 14 |
) |
| 15 |
); |
| 16 |
|
| 17 |
/* |
| 18 |
* The count above spans every context, because the button below generates for all of them. |
| 19 |
* This link can only ever show the Media Library ones: custom-folder files are not |
| 20 |
* attachments, and the list table lists attachments. Naming the scope in the link text keeps |
| 21 |
* the two honest instead of implying the link will show all of them. |
| 22 |
*/ |
| 23 |
printf( |
| 24 |
' <a href="%1$s">%2$s</a>', |
| 25 |
esc_url( get_imagify_admin_url( 'missing-nextgen' ) ), |
| 26 |
esc_html__( 'See the affected images in your Media Library.', 'imagify' ) |
| 27 |
); |
| 28 |
?> |
| 29 |
</p> |
| 30 |
|