I18N: Use a consistent pattern for translator comments for placeholders in some more Customizer strings.
See #41974. Built from https://develop.svn.wordpress.org/trunk@42006 git-svn-id: http://core.svn.wordpress.org/trunk@41840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -91,7 +91,7 @@ class WP_Customize_Theme_Control extends WP_Customize_Control {
|
||||
<div class="update-message notice inline notice-warning notice-alt" data-slug="{{ data.theme.id }}">
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s is the linked update now button */
|
||||
/* translators: %s: "Update now" button */
|
||||
printf( __( 'New version available. %s' ), '<button class="button-link update-theme" type="button">' . __( 'Update now' ) . '</button>' );
|
||||
?>
|
||||
</p>
|
||||
|
||||
@@ -87,7 +87,7 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {
|
||||
<p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
|
||||
<p class="no-themes-local">
|
||||
<?php
|
||||
/* translators: %s is the string, "search WordPress.org themes" */
|
||||
/* translators: %s: "Search WordPress.org themes" button */
|
||||
printf( __( 'No themes found. Try a different search, or %s.' ),
|
||||
sprintf( '<button type="button" class="button-link search-dotorg-themes">%s</button>', __( 'Search WordPress.org themes' ) )
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user