Merge pull request #28401 from bordoni/patch-2
Use %1$s instead of %s on regen description
This commit is contained in:
commit
b462b3c8ee
|
@ -531,8 +531,8 @@ class WC_Shop_Customizer {
|
||||||
/* translators: 1: tools URL 2: regen thumbs url */
|
/* translators: 1: tools URL 2: regen thumbs url */
|
||||||
$regen_description = sprintf( __( 'After publishing your changes, new image sizes may not be shown until you regenerate thumbnails. You can do this from the <a href="%1$s" target="_blank">tools section in WooCommerce</a> or by using a plugin such as <a href="%2$s" target="_blank">Regenerate Thumbnails</a>.', 'woocommerce' ), admin_url( 'admin.php?page=wc-status&tab=tools' ), 'https://en-gb.wordpress.org/plugins/regenerate-thumbnails/' );
|
$regen_description = sprintf( __( 'After publishing your changes, new image sizes may not be shown until you regenerate thumbnails. You can do this from the <a href="%1$s" target="_blank">tools section in WooCommerce</a> or by using a plugin such as <a href="%2$s" target="_blank">Regenerate Thumbnails</a>.', 'woocommerce' ), admin_url( 'admin.php?page=wc-status&tab=tools' ), 'https://en-gb.wordpress.org/plugins/regenerate-thumbnails/' );
|
||||||
} else {
|
} else {
|
||||||
/* translators: %s: regen thumbs url */
|
/* translators: 1: regen thumbs url */
|
||||||
$regen_description = sprintf( __( 'After publishing your changes, new image sizes may not be shown until you <a href="%s" target="_blank">Regenerate Thumbnails</a>.', 'woocommerce' ), 'https://en-gb.wordpress.org/plugins/regenerate-thumbnails/' );
|
$regen_description = sprintf( __( 'After publishing your changes, new image sizes may not be shown until you <a href="%1$s" target="_blank">Regenerate Thumbnails</a>.', 'woocommerce' ), 'https://en-gb.wordpress.org/plugins/regenerate-thumbnails/' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$wp_customize->add_section(
|
$wp_customize->add_section(
|
||||||
|
|
Loading…
Reference in New Issue