I18N: Add missing placeholders to some translators comments in wp-admin.

Props ramiy.
Fixes #49248.
Built from https://develop.svn.wordpress.org/trunk@47093


git-svn-id: http://core.svn.wordpress.org/trunk@46893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-01-20 15:43:04 +00:00
parent c946a71d9d
commit 60c651ad6a
8 changed files with 8 additions and 8 deletions

View File

@ -161,7 +161,7 @@ if ( empty( $importers ) ) {
);
} else {
$action = sprintf(
/* translators: URL to Import screen on the main site. */
/* translators: %s: URL to Import screen on the main site. */
__( 'This importer is not installed. Please install importers from <a href="%s">the main site</a>.' ),
get_admin_url( get_current_network_id(), 'import.php' )
);

View File

@ -908,7 +908,7 @@ function confirm_delete_users( $users ) {
<td><fieldset><p><legend>
<?php
printf(
/* translators: User login. */
/* translators: %s: User login. */
__( 'What should be done with content owned by %s?' ),
'<em>' . $delete_user->user_login . '</em>'
);

View File

@ -1309,7 +1309,7 @@ function do_meta_boxes( $screen, $context, $object ) {
echo '<button type="button" class="handlediv" aria-expanded="true">';
echo '<span class="screen-reader-text">' . sprintf(
/* translators: Meta box title. */
/* translators: %s: Meta box title. */
__( 'Toggle panel: %s' ),
$widget_title
) . '</span>';

View File

@ -530,7 +530,7 @@ wp_initial_nav_menu_meta_boxes();
if ( ! current_theme_supports( 'menus' ) && ! $num_locations ) {
$messages[] = '<div id="message" class="updated"><p>' . sprintf(
/* translators: URL to Widgets screen. */
/* translators: %s: URL to Widgets screen. */
__( 'Your theme does not natively support menus, but you can use them in sidebars by adding a &#8220;Navigation Menu&#8221; widget on the <a href="%s">Widgets</a> screen.' ),
admin_url( 'widgets.php' )
) . '</p></div>';

View File

@ -100,7 +100,7 @@ if ( ! empty( $privacy_policy_page_id ) ) {
'page_for_privacy_policy',
'page_for_privacy_policy',
sprintf(
/* translators: URL to Pages Trash. */
/* translators: %s: URL to Pages Trash. */
__( 'The currently selected Privacy Policy page is in the trash. Please create or select a new Privacy Policy page or <a href="%s">restore the current page</a>.' ),
'edit.php?post_status=trash&post_type=page'
),

View File

@ -456,7 +456,7 @@ get_current_screen()->add_help_tab(
'content' =>
'<p>' . __( 'Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin&#8217;s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.' ) . '</p>' .
'<p>' . sprintf(
/* translators: WP_PLUGIN_DIR constant value. */
/* translators: %s: WP_PLUGIN_DIR constant value. */
__( 'If something goes wrong with a plugin and you can&#8217;t use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.' ),
'<code>' . WP_PLUGIN_DIR . '</code>'
) . '</p>',

View File

@ -70,7 +70,7 @@ if ( current_user_can( 'import' ) ) :
<p>
<?php
printf(
/* translators: URL to Import screen. */
/* translators: %s: URL to Import screen. */
__( 'If you want to convert your categories to tags (or vice versa), use the <a href="%s">Categories and Tags Converter</a> available from the Import screen.' ),
'import.php'
);

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-47092';
$wp_version = '5.4-alpha-47093';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.