WordPress.org

Make WordPress Core

Ticket #44360: wp-admin_root.2.diff

File wp-admin_root.2.diff, 64.8 KB (added by webdados, 17 months ago)

Replaces previous wp-admin_root.diff

  • wp-admin/about.php

    diff --git a/wp-admin/about.php b/wp-admin/about.php
    old mode 100644
    new mode 100755
    index 960cacf9e3..40daf88642
    a b list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); 
    1818include( ABSPATH . 'wp-admin/admin-header.php' );
    1919?>
    2020        <div class="wrap about-wrap full-width-layout">
     21                <?php /* translators: %s: WordPress version number */ ?>
    2122                <h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
    2223
     24                <?php /* translators: %s: WordPress version number */ ?>
    2325                <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>
     26                <?php /* translators: %s: WordPress version number */ ?>
    2427                <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2528
    2629                <h2 class="nav-tab-wrapper wp-clearfix">
    include( ABSPATH . 'wp-admin/admin-header.php' ); 
    185188                        <p>
    186189                        <?php
    187190                        printf(
     191                                /* translators: 1: the Gutenberg plugin page, 2: the Gutenberg github page. */
    188192                                __( 'WordPress is working on a new way to create and control your content and we&#8217;d love to have your help. Interested in being an <a href="%1$s">early tester</a> or getting involved with the Gutenberg project? <a href="%2$s">Contribute on GitHub</a>.' ),
    189193                                __( 'https://wordpress.org/plugins/gutenberg/' ),
    190194                                'https://github.com/WordPress/gutenberg'
  • wp-admin/admin-footer.php

    diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php
    old mode 100644
    new mode 100755
    index 6014d1767d..d6a0ef7320
    a b global $hook_suffix; 
    3232        ?>
    3333        <p id="footer-left" class="alignleft">
    3434                <?php
     35                /* translators: %s: link to the WordPress.org website */
    3536                $text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
    3637                /**
    3738                 * Filters the "Thank you" text displayed in the admin footer.
  • wp-admin/admin.php

    diff --git a/wp-admin/admin.php b/wp-admin/admin.php
    old mode 100644
    new mode 100755
    index a3dab04d3d..38314fcd6b
    a b if ( isset( $plugin_page ) ) { 
    243243                }
    244244
    245245                if ( ! ( file_exists( WP_PLUGIN_DIR . "/$plugin_page" ) && is_file( WP_PLUGIN_DIR . "/$plugin_page" ) ) && ! ( file_exists( WPMU_PLUGIN_DIR . "/$plugin_page" ) && is_file( WPMU_PLUGIN_DIR . "/$plugin_page" ) ) ) {
     246                        /* translators: %s: the plugin page */
    246247                        wp_die( sprintf( __( 'Cannot load %s.' ), htmlentities( $plugin_page ) ) );
    247248                }
    248249
  • wp-admin/async-upload.php

    diff --git a/wp-admin/async-upload.php b/wp-admin/async-upload.php
    old mode 100644
    new mode 100755
    index cf4670bbb1..23e7e7d86d
    a b $id = media_handle_upload( 'async-upload', $post_id ); 
    9191if ( is_wp_error( $id ) ) {
    9292        echo '<div class="error-div error">
    9393        <button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __( 'Dismiss' ) . '</button>
    94         <strong>' . sprintf( __( '&#8220;%s&#8221; has failed to upload.' ), esc_html( $_FILES['async-upload']['name'] ) ) . '</strong><br />' .
     94        <strong>'
     95        /* translators: %s: name of file that failed to upload */
     96        . sprintf( __( '&#8220;%s&#8221; has failed to upload.' ), esc_html( $_FILES['async-upload']['name'] ) )
     97        . '</strong><br />' .
    9598        esc_html( $id->get_error_message() ) . '</div>';
    9699        exit;
    97100}
  • wp-admin/comment.php

    diff --git a/wp-admin/comment.php b/wp-admin/comment.php
    old mode 100644
    new mode 100755
    index d95ae0ded0..cfcd8ac284
    a b if ( $comment->comment_approved != '0' ) { // if not unapproved 
    202202        <th scope="row"><?php _e( 'Submitted on' ); ?></th>
    203203        <td>
    204204        <?php
    205                 /* translators: 1: comment date, 2: comment time */
    206205                $submitted = sprintf(
     206                        /* translators: 1: comment date, 2: comment time */
    207207                        __( '%1$s at %2$s' ),
    208208                        /* translators: comment date format. See https://secure.php.net/date */
    209209                        get_comment_date( __( 'Y/m/d' ), $comment ),
  • wp-admin/credits.php

    diff --git a/wp-admin/credits.php b/wp-admin/credits.php
    old mode 100644
    new mode 100755
    index 1b9646027f..231970560b
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    1818?>
    1919<div class="wrap about-wrap full-width-layout">
    2020
     21<?php /* translators: %s: WordPress version number */ ?>
    2122<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    2223
     24<?php /* translators: %s: WordPress version number */ ?>
    2325<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>
    2426
     27<?php /* translators: %s: WordPress version number */ ?>
    2528<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2629
    2730<h2 class="nav-tab-wrapper wp-clearfix">
    $credits = wp_credits(); 
    3841
    3942if ( ! $credits ) {
    4043        echo '<p class="about-description">';
    41         /* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
    4244        printf(
     45                /* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
    4346                __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
    4447                'https://wordpress.org/about/',
    4548                __( 'https://make.wordpress.org/' )
    return; 
    120123
    121124// These are strings returned by the API that we want to be translatable
    122125__( 'Project Leaders' );
     126/* translators: %s: WordPress version number */
    123127__( 'Core Contributors to WordPress %s' );
    124128__( 'Noteworthy Contributors' );
    125129__( 'Cofounder, Project Lead' );
  • wp-admin/custom-background.php

    diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php
    old mode 100644
    new mode 100755
    index a813897fe9..a178e31b31
    a b class Custom_Background { 
    230230        <p>
    231231                <?php
    232232                printf(
     233                        /* translators: %s: customizer background image configuration url */
    233234                        __( 'You can now manage and live-preview Custom Backgrounds in the <a href="%1$s">Customizer</a>.' ),
    234235                        admin_url( 'customize.php?autofocus[control]=background_image' )
    235236                );
    class Custom_Background { 
    240241
    241242<?php if ( ! empty( $this->updated ) ) { ?>
    242243<div id="message" class="updated">
     244<?php /* translators: %s: website home url */ ?>
    243245<p><?php printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p>
    244246</div>
    245247<?php } ?>
  • wp-admin/custom-header.php

    diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php
    old mode 100644
    new mode 100755
    index 2930dada8f..e56c04adfc
    a b class Custom_Image_Header { 
    118118                                'id'      => 'set-header-text',
    119119                                'title'   => __( 'Header Text' ),
    120120                                'content' =>
     121                                        /* translators: %s: link to the General Settings page */
    121122                                        '<p>' . sprintf( __( 'For most themes, the header text is your Site Title and Tagline, as defined in the <a href="%1$s">General Settings</a> section.' ), admin_url( 'options-general.php' ) ) . '<p>' .
    122123                                        '<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. &#8220;#ff0000&#8221; for red, or by choosing a color using the color picker.' ) . '</p>' .
    123124                                        '<p>' . __( 'Don&#8217;t forget to click &#8220;Save Changes&#8221; when you&#8217;re done!' ) . '</p>',
    class Custom_Image_Header { 
    474475        <p>
    475476                <?php
    476477                printf(
     478                        /* translators: %s: website home url */
    477479                        __( 'You can now manage and live-preview Custom Header in the <a href="%1$s">Customizer</a>.' ),
    478480                        admin_url( 'customize.php?autofocus[control]=header_image' )
    479481                );
    class Custom_Image_Header { 
    484486
    485487<?php if ( ! empty( $this->updated ) ) { ?>
    486488<div id="message" class="updated">
     489<?php /* translators: %s: website home url */ ?>
    487490<p><?php printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p>
    488491</div>
    489492<?php } ?>
    class Custom_Image_Header { 
    540543        <p><?php _e( 'You can select an image to be shown at the top of your site by uploading from your computer or choosing from your media library. After selecting an image you will be able to crop it.' ); ?><br />
    541544        <?php
    542545        if ( ! current_theme_supports( 'custom-header', 'flex-height' ) && ! current_theme_supports( 'custom-header', 'flex-width' ) ) {
     546                /* translators: 1: image width in pixels, 2: image height in pixels. */
    543547                printf( __( 'Images of exactly <strong>%1$d &times; %2$d pixels</strong> will be used as-is.' ) . '<br />', get_theme_support( 'custom-header', 'width' ), get_theme_support( 'custom-header', 'height' ) );
    544548        } elseif ( current_theme_supports( 'custom-header', 'flex-height' ) ) {
    545549                if ( ! current_theme_supports( 'custom-header', 'flex-width' ) ) {
    if ( $default_image && get_header_image() != $default_image ) : 
    721725
    722726        echo '<input type="text" name="text-color" id="text-color" value="' . esc_attr( $header_textcolor ) . '"' . $default_color_attr . ' />';
    723727        if ( $default_color ) {
     728                /* translators: %s is the default header text color */
    724729                echo ' <span class="description hide-if-js">' . sprintf( _x( 'Default: %s', 'color' ), esc_html( $default_color ) ) . '</span>';
    725730        }
    726731        ?>
  • wp-admin/customize.php

    diff --git a/wp-admin/customize.php b/wp-admin/customize.php
    old mode 100644
    new mode 100755
    index 2486f90145..dd2f4ef11b
    a b do_action( 'customize_controls_print_scripts' ); 
    207207                                        <div class="accordion-section-title">
    208208                                                <span class="preview-notice">
    209209                                                <?php
     210                                                        /* translators: %s: website title */
    210211                                                        echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' );
    211212                                                ?>
    212213                                                </span>
  • wp-admin/edit-comments.php

    diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php
    old mode 100644
    new mode 100755
    index 6b82c15fe5..e221c7b998
    a b if ( $post_id ) { 
    146146        $comments_count      = wp_count_comments( $post_id );
    147147        $draft_or_post_title = wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '&hellip;' );
    148148        if ( $comments_count->moderated > 0 ) {
    149                 /* translators: 1: comments count, 2: post title */
    150149                $title = sprintf(
     150                        /* translators: 1: comments count, 2: post title */
    151151                        __( 'Comments (%1$s) on &#8220;%2$s&#8221;' ),
    152152                        number_format_i18n( $comments_count->moderated ),
    153153                        $draft_or_post_title
    154154                );
    155155        } else {
    156                 /* translators: %s: post title */
    157156                $title = sprintf(
     157                        /* translators: %s: post title */
    158158                        __( 'Comments on &#8220;%s&#8221;' ),
    159159                        $draft_or_post_title
    160160                );
    if ( $post_id ) { 
    162162} else {
    163163        $comments_count = wp_count_comments();
    164164        if ( $comments_count->moderated > 0 ) {
    165                 /* translators: %s: comments count */
    166165                $title = sprintf(
     166                        /* translators: %s: comments count */
    167167                        __( 'Comments (%s)' ),
    168168                        number_format_i18n( $comments_count->moderated )
    169169                );
    require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    219219<h1 class="wp-heading-inline">
    220220<?php
    221221if ( $post_id ) {
    222         /* translators: %s: link to post */
    223222        printf(
     223                /* translators: %s: link to post */
    224224                __( 'Comments on &#8220;%s&#8221;' ),
    225225                sprintf(
    226226                        '<a href="%1$s">%2$s</a>',
    if ( $post_id ) { 
    237237<?php
    238238if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    239239        echo '<span class="subtitle">';
    240         /* translators: %s: search keywords */
    241240        printf(
     241                /* translators: %s: search keywords */
    242242                __( 'Search results for &#8220;%s&#8221;' ),
    243243                wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '&hellip;' )
    244244        );
  • wp-admin/edit-form-advanced.php

    diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
    old mode 100644
    new mode 100755
    index 677e3dfbb0..1e62c82c3e
    a b $messages['post'] = array( 
    169169        6  => __( 'Post published.' ) . $view_post_link_html,
    170170        7  => __( 'Post saved.' ),
    171171        8  => __( 'Post submitted.' ) . $preview_post_link_html,
     172        /* translators: %s: date the page is scheduled to be published */
    172173        9  => sprintf( __( 'Post scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html,
    173174        10 => __( 'Post draft updated.' ) . $preview_post_link_html,
    174175);
    $messages['page'] = array( 
    183184        6  => __( 'Page published.' ) . $view_page_link_html,
    184185        7  => __( 'Page saved.' ),
    185186        8  => __( 'Page submitted.' ) . $preview_page_link_html,
     187        /* translators: %s: date the page is scheduled to be published */
    186188        9  => sprintf( __( 'Page scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_page_link_html,
    187189        10 => __( 'Page draft updated.' ) . $preview_page_link_html,
    188190);
    $form_extra .= "<input type='hidden' id='post_ID' name='post_ID' value='" . esc 
    227229if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt, false ) > mysql2date( 'U', $post->post_modified_gmt, false ) ) {
    228230        foreach ( _wp_post_revision_fields( $post ) as $autosave_field => $_autosave_field ) {
    229231                if ( normalize_whitespace( $autosave->$autosave_field ) != normalize_whitespace( $post->$autosave_field ) ) {
     232                        /* translators: %s: link to check out the autosave of the post */
    230233                        $notice = sprintf( __( 'There is an autosave of this post that is more recent than the version below. <a href="%s">View the autosave</a>' ), get_edit_post_link( $autosave->ID ) );
    231234                        break;
    232235                }
    if ( 'post' == $post_type ) { 
    428431        );
    429432
    430433        get_current_screen()->set_help_sidebar(
     434                /* translators: %s: Press This bookmarklet link */
    431435                '<p>' . sprintf( __( 'You can also create posts with the <a href="%s">Press This bookmarklet</a>.' ), 'tools.php' ) . '</p>' .
    432436                        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    433437                        '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Add_New_Screen">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
    wp_editor( 
    711715);
    712716?>
    713717<table id="post-status-info"><tbody><tr>
     718        <?php /* translators: %s: word count number */ ?>
    714719        <td id="wp-word-count" class="hide-if-no-js"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
    715720        <td class="autosave-info">
    716721        <span class="autosave-message">&nbsp;</span>
  • wp-admin/edit-link-form.php

    diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php
    old mode 100644
    new mode 100755
    index d0db1df36a..6f5de434a2
    a b if ( ! defined( 'ABSPATH' ) ) { 
    1212}
    1313
    1414if ( ! empty( $link_id ) ) {
     15        /* translators: %s: link for the Links manager */
    1516        $heading      = sprintf( __( '<a href="%s">Links</a> / Edit Link' ), 'link-manager.php' );
    1617        $submit_text  = __( 'Update Link' );
    1718        $form_name    = 'editlink';
    1819        $nonce_action = 'update-bookmark_' . $link_id;
    1920} else {
     21        /* translators: %s: link for the Links manager */
    2022        $heading      = sprintf( __( '<a href="%s">Links</a> / Add New Link' ), 'link-manager.php' );
    2123        $submit_text  = __( 'Add Link' );
    2224        $form_name    = 'addlink';
  • wp-admin/edit-tags.php

    diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php
    old mode 100644
    new mode 100755
    index 2d9ab1dc04..655179fb54
    a b if ( current_user_can( $tax->cap->edit_terms ) ) { 
    239239if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $taxonomy ) {
    240240        $help = '';
    241241        if ( 'category' == $taxonomy ) {
     242                /* translators: %s: link to the writing settings page */
    242243                $help = '<p>' . sprintf( __( 'You can use categories to define sections of your site and group related posts. The default category is &#8220;Uncategorized&#8221; until you change it in your <a href="%s">writing settings</a>.' ), 'options-writing.php' ) . '</p>';
    243244        } elseif ( 'link_category' == $taxonomy ) {
    244245                $help = '<p>' . __( 'You can create groups of links by using Link Categories. Link Category names must be unique and Link Categories are separate from the categories you use for posts.' ) . '</p>';
    do_action( "{$taxonomy}_add_form", $taxonomy ); 
    588589        ?>
    589590</p>
    590591<?php if ( current_user_can( 'import' ) ) : ?>
     592<?php /* translators: %s: link to the category to tag converter tool */ ?>
    591593<p><?php printf( __( 'Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.' ), esc_url( $import_link ) ); ?></p>
    592594<?php endif; ?>
    593595</div>
    594596<?php elseif ( 'post_tag' == $taxonomy && current_user_can( 'import' ) ) : ?>
    595597<div class="form-wrap edit-term-notes">
     598<?php /* translators: %s: link to the tag to category converter tool */ ?>
    596599<p><?php printf( __( 'Tags can be selectively converted to categories using the <a href="%s">tag to category converter</a>.' ), esc_url( $import_link ) ); ?></p>
    597600</div>
    598601<?php
  • wp-admin/edit.php

    diff --git a/wp-admin/edit.php b/wp-admin/edit.php
    old mode 100644
    new mode 100755
    index b1ad058912..f8320c6378
    a b $bulk_counts = array( 
    306306
    307307$bulk_messages         = array();
    308308$bulk_messages['post'] = array(
     309        /* translators: %s: number of posts updated */
    309310        'updated'   => _n( '%s post updated.', '%s posts updated.', $bulk_counts['updated'] ),
    310311        'locked'    => ( 1 == $bulk_counts['locked'] ) ? __( '1 post not updated, somebody is editing it.' ) :
     312                                        /* translators: %s: number of posts not updated */
    311313                                        _n( '%s post not updated, somebody is editing it.', '%s posts not updated, somebody is editing them.', $bulk_counts['locked'] ),
     314        /* translators: %s: number of posts permanently deleted */
    312315        'deleted'   => _n( '%s post permanently deleted.', '%s posts permanently deleted.', $bulk_counts['deleted'] ),
     316        /* translators: %s: number of posts  moved to the trash */
    313317        'trashed'   => _n( '%s post moved to the Trash.', '%s posts moved to the Trash.', $bulk_counts['trashed'] ),
     318        /* translators: %s: number of posts restored from the trash */
    314319        'untrashed' => _n( '%s post restored from the Trash.', '%s posts restored from the Trash.', $bulk_counts['untrashed'] ),
    315320);
    316321$bulk_messages['page'] = array(
     322        /* translators: %s: number of pages updated */
    317323        'updated'   => _n( '%s page updated.', '%s pages updated.', $bulk_counts['updated'] ),
    318324        'locked'    => ( 1 == $bulk_counts['locked'] ) ? __( '1 page not updated, somebody is editing it.' ) :
     325                                        /* translators: %s: number of pages not updated */
    319326                                        _n( '%s page not updated, somebody is editing it.', '%s pages not updated, somebody is editing them.', $bulk_counts['locked'] ),
     327        /* translators: %s: number of pages permanently deleted */
    320328        'deleted'   => _n( '%s page permanently deleted.', '%s pages permanently deleted.', $bulk_counts['deleted'] ),
     329        /* translators: %s: number of pages  moved to the trash */
    321330        'trashed'   => _n( '%s page moved to the Trash.', '%s pages moved to the Trash.', $bulk_counts['trashed'] ),
     331        /* translators: %s: number of pages restored from the trash */
    322332        'untrashed' => _n( '%s page restored from the Trash.', '%s pages restored from the Trash.', $bulk_counts['untrashed'] ),
    323333);
    324334
  • wp-admin/freedoms.php

    diff --git a/wp-admin/freedoms.php b/wp-admin/freedoms.php
    old mode 100644
    new mode 100755
    index 110959449d..aca9a1ceac
    a b $is_privacy_notice = isset( $_GET['privacy-notice'] ); 
    2020?>
    2121<div class="wrap about-wrap full-width-layout">
    2222
     23<?php /* translators: %s: WordPress version number */ ?>
    2324<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    2425
     26<?php /* translators: %s: WordPress version number */ ?>
    2527<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>
    2628
     29<?php /* translators: %s: WordPress version number */ ?>
    2730<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2831
    2932<h2 class="nav-tab-wrapper wp-clearfix">
    $is_privacy_notice = isset( $_GET['privacy-notice'] ); 
    3841<div class="about-wrap-content">
    3942        <p class="about-description"><?php _e( 'From time to time, your WordPress site may send data to WordPress.org &#8212; including, but not limited to &#8212; the version of WordPress you are using, and a list of installed plugins and themes.' ); ?></p>
    4043
     44        <?php /* translators: %s: link to the stats page on wordpress.org */ ?>
    4145        <p><?php printf( __( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the <a href="%s">WordPress.org stats page</a>.' ), 'https://wordpress.org/about/stats/' ); ?></p>
    4246
     47        <?php /* translators: %s: link to the privacy page on wordpress.org */ ?>
    4348        <p><?php printf( __( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit <a href="%s">WordPress.org/about/privacy</a>.' ), 'https://wordpress.org/about/privacy/' ); ?></p>
    4449</div>
    4550
    4651<?php else : ?>
    4752<div class="about-wrap-content">
     53        <?php /* translators: %s: link to the license page on wordpress.org */ ?>
    4854        <p class="about-description"><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'https://wordpress.org/about/license/' ); ?></p>
    4955
    5056        <ol start="0">
    $is_privacy_notice = isset( $_GET['privacy-notice'] ); 
    5460                <li><p><?php _e( 'You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes.' ); ?></p></li>
    5561        </ol>
    5662
     63        <?php /* translators: %s: trademark policy url at wordpressfoundation.org */ ?>
    5764        <p><?php printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We&#8217;re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'https://wordpressfoundation.org/trademark-policy/' ); ?></p>
    5865
    5966        <p>
    $is_privacy_notice = isset( $_GET['privacy-notice'] ); 
    6269        $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
    6370        $themes_url  = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
    6471
     72        /* translators: 1: the plugins page url, 2: the themes page url, 3: the licence page at wordpress.org */
    6573        printf( __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it&#8217;s GPL</a> first. If they don&#8217;t respect the WordPress license, we don&#8217;t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' );
    6674        ?>
    6775        </p>
  • wp-admin/import.php

    diff --git a/wp-admin/import.php b/wp-admin/import.php
    index 48051c940e..f09964a97a 100644
    a b if ( empty( $importers ) ) { 
    216216}
    217217
    218218if ( current_user_can( 'install_plugins' ) ) {
     219        /* translators: %s: link to the plugin directory */
    219220        echo '<p>' . sprintf( __( 'If the importer you need is not listed, <a href="%s">search the plugin directory</a> to see if an importer is available.' ), esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) ) . '</p>';
    220221}
    221222?>
  • wp-admin/link-manager.php

    diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php
    index 0a0a6767a6..855148b976 100644
    a b get_current_screen()->add_help_tab( 
    5252                'id'      => 'overview',
    5353                'title'   => __( 'Overview' ),
    5454                'content' =>
     55                        /* translators: %s: link to the widgets page */
    5556                         '<p>' . sprintf( __( 'You can add links here to be displayed on your site, usually using <a href="%s">Widgets</a>. By default, links to several sites in the WordPress community are included as examples.' ), 'widgets.php' ) . '</p>' .
    5657                         '<p>' . __( 'Links may be separated into Link Categories; these are different than the categories used on your posts.' ) . '</p>' .
    5758                         '<p>' . __( 'You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.' ) . '</p>',
    if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { 
    108109if ( isset( $_REQUEST['deleted'] ) ) {
    109110        echo '<div id="message" class="updated notice is-dismissible"><p>';
    110111        $deleted = (int) $_REQUEST['deleted'];
     112        /* translators: %s: number of links deleted */
    111113        printf( _n( '%s link deleted.', '%s links deleted', $deleted ), $deleted );
    112114        echo '</p></div>';
    113115        $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'deleted' ), $_SERVER['REQUEST_URI'] );
  • wp-admin/menu.php

    diff --git a/wp-admin/menu.php b/wp-admin/menu.php
    index bf9eb72abb..078e7627be 100644
    a b if ( ! is_multisite() ) { 
    4242        } else {
    4343                $cap = 'update_languages';
    4444        }
     45        /* translators: %s: number of need updates */
    4546        $submenu['index.php'][10] = array( sprintf( __( 'Updates %s' ), "<span class='update-plugins count-{$update_data['counts']['total']}'><span class='update-count'>" . number_format_i18n( $update_data['counts']['total'] ) . '</span></span>' ), $cap, 'update-core.php' );
    4647        unset( $cap );
    4748}
    if ( current_user_can( 'edit_posts' ) ) { 
    7778        $awaiting_mod = wp_count_comments();
    7879        $awaiting_mod = $awaiting_mod->moderated;
    7980        $menu[25]     = array(
     81                /* translators: %s: number of comments awaiting moderation */
    8082                sprintf( __( 'Comments %s' ), '<span class="awaiting-mod count-' . absint( $awaiting_mod ) . '"><span class="pending-count">' . number_format_i18n( $awaiting_mod ) . '</span></span>' ),
    8183                'edit_posts',
    8284                'edit-comments.php',
    if ( ! is_multisite() && current_user_can( 'update_plugins' ) ) { 
    214216        $count = "<span class='update-plugins count-{$update_data['counts']['plugins']}'><span class='plugin-count'>" . number_format_i18n( $update_data['counts']['plugins'] ) . '</span></span>';
    215217}
    216218
     219/* translators: %s: number of plugins that need update */
    217220$menu[65] = array( sprintf( __( 'Plugins %s' ), $count ), 'activate_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'dashicons-admin-plugins' );
    218221
    219222$submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'activate_plugins', 'plugins.php' );
    if ( current_user_can( 'manage_privacy_options' ) && WP_Privacy_Policy_Content:: 
    268271        $change_notice = ' <span class="update-plugins 1"><span class="plugin-count">' . number_format_i18n( 1 ) . '</span></span>';
    269272}
    270273
    271 // translators: %s is the update notification bubble, if updates are available.
     274// translators: %s: update notification bubble, if updates are available.
    272275$menu[80]                               = array( sprintf( __( 'Settings %s' ), $change_notice ), 'manage_options', 'options-general.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' );
    273276        $submenu['options-general.php'][10] = array( _x( 'General', 'settings screen' ), 'manage_options', 'options-general.php' );
    274277        $submenu['options-general.php'][15] = array( __( 'Writing' ), 'manage_options', 'options-writing.php' );
    $menu[80] = array( sprintf( __( 'Settings %s' ), $ 
    276279        $submenu['options-general.php'][25] = array( __( 'Discussion' ), 'manage_options', 'options-discussion.php' );
    277280        $submenu['options-general.php'][30] = array( __( 'Media' ), 'manage_options', 'options-media.php' );
    278281        $submenu['options-general.php'][40] = array( __( 'Permalinks' ), 'manage_options', 'options-permalink.php' );
    279         // translators: %s is the update notification bubble, if updates are available.
     282        // translators: %s: update notification bubble, if updates are available.
    280283        $submenu['options-general.php'][45] = array( sprintf( __( 'Privacy %s' ), $change_notice ), 'manage_privacy_options', 'privacy.php' );
    281284
    282285$_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group
  • wp-admin/ms-delete-site.php

    diff --git a/wp-admin/ms-delete-site.php b/wp-admin/ms-delete-site.php
    index f909204010..2299d0681f 100644
    a b if ( ! current_user_can( 'delete_site' ) ) { 
    2020if ( isset( $_GET['h'] ) && $_GET['h'] != '' && get_option( 'delete_blog_hash' ) != false ) {
    2121        if ( hash_equals( get_option( 'delete_blog_hash' ), $_GET['h'] ) ) {
    2222                wpmu_delete_blog( get_current_blog_id() );
     23                /* translators: %s: site name */
    2324                wp_die( sprintf( __( 'Thank you for using %s, your site has been deleted. Happy trails to you until we meet again.' ), get_network()->site_name ) );
    2425        } else {
    2526                wp_die( __( 'Sorry, the link you clicked is stale. Please select another option.' ) );
    Webmaster 
    9091<?php
    9192} else {
    9293        ?>
     94        <?php /* translators: %s: site name */ ?>
    9395        <p><?php printf( __( 'If you do not want to use your %s site any more, you can delete it using the form below. When you click <strong>Delete My Site Permanently</strong> you will be sent an email with a link in it. Click on this link to delete your site.' ), get_network()->site_name ); ?></p>
    9496        <p><?php _e( 'Remember, once deleted your site cannot be restored.' ); ?></p>
    9597
  • wp-admin/nav-menus.php

    diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php
    index cd4454a17b..ffe29ad829 100644
    a b wp_nav_menu_setup(); 
    529529wp_initial_nav_menu_meta_boxes();
    530530
    531531if ( ! current_theme_supports( 'menus' ) && ! $num_locations ) {
     532        /* translators: %s: link to the widgets page */
    532533        $messages[] = '<div id="message" class="updated"><p>' . sprintf( __( '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>';
    533534}
    534535
    require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    649650                if ( 1 == $num_locations ) {
    650651                        echo '<p>' . __( 'Your theme supports one menu. Select which menu you would like to use.' ) . '</p>';
    651652                } else {
    652                         echo '<p>' . sprintf( _n( 'Your theme supports %s menu. Select which menu appears in each location.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ) . '</p>';
     653                        echo '<p>' . sprintf(
     654                                                        _n(
     655                                                                /* translators: %s: number of menus the theme supports */
     656                                                                'Your theme supports %s menu. Select which menu appears in each location.',
     657                                                                /* translators: %s: number of menus the theme supports */
     658                                                                'Your theme supports %s menus. Select which menu appears in each location.',
     659                                                                $num_locations
     660                                                        ),
     661                                                        number_format_i18n( $num_locations )
     662                                                ) . '</p>';
    653663                }
    654664        ?>
    655665        <div id="menu-locations-wrap">
    require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    742752                <span class="add-edit-menu-action">
    743753                        <?php
    744754                        printf(
     755                                /* translators: %s: link to create a new menu */
    745756                                __( 'Edit your menu below, or <a href="%s">create a new menu</a>. Don&#8217;t forget to save your changes!' ), esc_url(
    746757                                        add_query_arg(
    747758                                                array(
    require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    801812                        <span class="add-new-menu-action">
    802813                                <?php
    803814                                printf(
     815                                        /* translators: %s: link to create a new menu */
    804816                                        __( 'or <a href="%s">create a new menu</a>. Don&#8217;t forget to save your changes!' ), esc_url(
    805817                                                add_query_arg(
    806818                                                        array(
    if ( $one_theme_location_no_menus ) { 
    943955                                                                                        <?php if ( ! empty( $menu_locations[ $location ] ) && $menu_locations[ $location ] != $nav_menu_selected_id ) : ?>
    944956                                                                                                <span class="theme-location-set">
    945957                                                                                                <?php
    946                                                                                                         /* translators: %s: menu name */
    947958                                                                                                        printf(
     959                                                                                                                /* translators: %s: menu name */
    948960                                                                                                                _x( '(Currently set to: %s)', 'menu location' ),
    949961                                                                                                                wp_get_nav_menu_object( $menu_locations[ $location ] )->name
    950962                                                                                                        );
  • wp-admin/options-discussion.php

    diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php
    index c98c441103..076aaa0643 100644
    a b if ( ! get_option( 'users_can_register' ) && is_multisite() ) { 
    7979<input name="close_comments_for_old_posts" type="checkbox" id="close_comments_for_old_posts" value="1" <?php checked( '1', get_option( 'close_comments_for_old_posts' ) ); ?> />
    8080<?php
    8181printf(
     82        /* translators: %s: number of days after a article is published until comment are closed */
    8283        __( 'Automatically close comments on articles older than %s days' ),
    8384        '</label> <label for="close_comments_days_old"><input name="close_comments_days_old" type="number" min="0" step="1" id="close_comments_days_old" value="' . esc_attr( get_option( 'close_comments_days_old' ) ) . '" class="small-text" />'
    8485);
    for ( $i = 2; $i <= $maxdeep; $i++ ) { 
    107108}
    108109$thread_comments_depth .= '</select>';
    109110
     111/* translators: %s: number of levels for nested comments */
    110112printf( __( 'Enable threaded (nested) comments %s levels deep' ), $thread_comments_depth );
    111113
    112114?>
    if ( 'desc' == get_option( 'comment_order' ) ) { 
    146148}
    147149$comment_order .= '>' . __( 'newer' ) . '</option></select>';
    148150
     151/* translators: %s: comment order */
    149152printf( __( 'Comments should be displayed with the %s comments at the top of each page' ), $comment_order );
    150153
    151154?>
    printf( __( 'Comments should be displayed with the %s comments at the top of eac 
    177180<tr>
    178181<th scope="row"><?php _e( 'Comment Moderation' ); ?></th>
    179182<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Comment Moderation' ); ?></span></legend>
     183<?php /* translators: %s: number of links in a comment necessary to hold it in the queue */ ?>
    180184<p><label for="comment_max_links"><?php printf( __( 'Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)' ), '<input name="comment_max_links" type="number" step="1" min="0" id="comment_max_links" value="' . esc_attr( get_option( 'comment_max_links' ) ) . '" class="small-text" />' ); ?></label></p>
    181185
    182186<p><label for="moderation_keys"><?php _e( 'When a comment contains any of these words in its content, name, URL, email, or IP address, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP address per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.' ); ?></label></p>
  • wp-admin/options-general.php

    diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php
    index 7402a5f1de..6342953ce4 100644
    a b if ( ! empty( $languages ) || ! empty( $translations ) ) { 
    187187                                        || ! is_multisite() && current_user_can( 'manage_options' ) ) {
    188188                                        ?>
    189189                                        <p class="description">
     190                                                <?php /* translators: 1: WPLANG constant, 2: wp-config.php file */ ?>
    190191                                                <strong><?php _e( 'Note:' ); ?></strong> <?php printf( __( 'The %1$s constant in your %2$s file is no longer needed.' ), '<code>WPLANG</code>', '<code>wp-config.php</code>' ); ?>
    191192                                        </p>
    192193                                        <?php
    193194                                }
     195                                /* translators: 1: WPLANG constant, 2: wp-config.php file */
    194196                                _deprecated_argument( 'define()', '4.0.0', sprintf( __( 'The %1$s constant in your %2$s file is no longer needed.' ), 'WPLANG', 'wp-config.php' ) );
    195197                        }
    196198                        ?>
    if ( empty( $tzstring ) ) { // Create a UTC+- zone if no timezone string exists 
    235237<p class="timezone-info">
    236238        <span id="utc-time">
    237239        <?php
    238                 /* translators: 1: UTC abbreviation, 2: UTC time */
    239240                printf(
     241                        /* translators: 1: UTC abbreviation, 2: UTC time */
    240242                        __( 'Universal time (%1$s) is %2$s.' ),
    241243                        '<abbr>' . __( 'UTC' ) . '</abbr>',
    242244                        '<code>' . date_i18n( $timezone_format, false, true ) . '</code>'
    if ( empty( $tzstring ) ) { // Create a UTC+- zone if no timezone string exists 
    246248<?php if ( get_option( 'timezone_string' ) || ! empty( $current_offset ) ) : ?>
    247249        <span id="local-time">
    248250        <?php
    249                 /* translators: %s: local time */
    250251                printf(
     252                        /* translators: %s: local time */
    251253                        __( 'Local time is %s.' ),
    252254                        '<code>' . date_i18n( $timezone_format ) . '</code>'
    253255                );
  • wp-admin/options-permalink.php

    diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php
    index e91117412c..2432fd409d 100644
    a b get_current_screen()->add_help_tab( 
    3131                'id'      => 'permalink-settings',
    3232                'title'   => __( 'Permalink Settings' ),
    3333                'content' => '<p>' . __( 'Permalinks can contain useful information, such as the post date, title, or other elements. You can choose from any of the suggested permalink formats, or you can craft your own if you select Custom Structure.' ) . '</p>' .
    34                         '<p>' . __( 'If you pick an option other than Plain, your general URL path with structure tags (terms surrounded by <code>%</code>) will also appear in the custom structure field and your path can be further modified there.' ) . '</p>' .
    35                         '<p>' . __( 'When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes <code>%category%</code> or <code>%tag%</code>.' ) . '</p>' .
     34                        '<p>' . __( 'If you pick an option other than Plain, your general URL path with structure tags (terms surrounded by <code>&#37;</code>) will also appear in the custom structure field and your path can be further modified there.' ) . '</p>' .
     35                        '<p>' . __( 'When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes <code>&#37;category&#37;</code> or <code>&#37;tag&#37;</code>.' ) . '</p>' .
    3636                        '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',
    3737        )
    3838);
  • wp-admin/options-reading.php

    diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php
    index 313046cf30..abe36ea555 100644
    a b get_current_screen()->add_help_tab( 
    2323                'id'      => 'overview',
    2424                'title'   => __( 'Overview' ),
    2525                'content' => '<p>' . __( 'This screen contains the settings that affect the display of your content.' ) . '</p>' .
     26                        /* translators: %s: link to create a page */
    2627                        '<p>' . sprintf( __( 'You can choose what&#8217;s displayed on the homepage of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static homepage, you first need to create two <a href="%s">Pages</a>. One will become the homepage, and the other will be where your posts are displayed.' ), 'post-new.php?post_type=page' ) . '</p>' .
    2728                        '<p>' . __( 'You can also control the display of your content in RSS feeds, including the maximum number of posts to display and whether to show full text or a summary.' ) . '</p>' .
    2829                        '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',
    else : 
    8384        </p>
    8485        <p><label>
    8586                <input name="show_on_front" type="radio" value="page" class="tog" <?php checked( 'page', get_option( 'show_on_front' ) ); ?> />
     87                <?php /* translators: %s: link to edit the static page choosen as homepage */ ?>
    8688                <?php printf( __( 'A <a href="%s">static page</a> (select below)' ), 'edit.php?post_type=page' ); ?>
    8789        </label>
    8890        </p>
    else : 
    9092        <li><label for="page_on_front">
    9193        <?php
    9294        printf(
     95                /* translators: %s: select field to choose the home page */
    9396                __( 'Homepage: %s' ), wp_dropdown_pages(
    9497                        array(
    9598                                'name'              => 'page_on_front',
    else : 
    105108        <li><label for="page_for_posts">
    106109        <?php
    107110        printf(
     111                /* translators: %s: select field to choose the page for posts */
    108112                __( 'Posts page: %s' ), wp_dropdown_pages(
    109113                        array(
    110114                                'name'              => 'page_for_posts',
  • wp-admin/plugin-install.php

    diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php
    index fe5f414cd1..b8869482ed 100644
    a b get_current_screen()->add_help_tab( 
    8383                'id'      => 'overview',
    8484                'title'   => __( 'Overview' ),
    8585                'content' =>
    86                                  '<p>' . sprintf( __( 'Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from the core WordPress application by thousands of developers all over the world. All plugins in the official <a href="%s">WordPress Plugin Directory</a> are compatible with the license WordPress uses.' ), __( 'https://wordpress.org/plugins/' ) ) . '</p>' .
    87                                  '<p>' . __( 'You can find new plugins to install by searching or browsing the directory right here in your own Plugins section.' ) . ' <span id="live-search-desc" class="hide-if-no-js">' . __( 'The search results will be updated as you type.' ) . '</span></p>',
     86                                /* translators: %s: link to the plugin directory on wordpress.org */
     87                                '<p>' . sprintf( __( 'Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from the core WordPress application by thousands of developers all over the world. All plugins in the official <a href="%s">WordPress Plugin Directory</a> are compatible with the license WordPress uses.' ), __( 'https://wordpress.org/plugins/' ) ) . '</p>' .
     88                                '<p>' . __( 'You can find new plugins to install by searching or browsing the directory right here in your own Plugins section.' ) . ' <span id="live-search-desc" class="hide-if-no-js">' . __( 'The search results will be updated as you type.' ) . '</span></p>',
    8889
    8990        )
    9091);
  • wp-admin/plugins.php

    diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php
    index b482f474c0..9b6c6781c4 100644
    a b if ( isset( $_GET['error'] ) ) : 
    479479        if ( isset( $_GET['main'] ) ) {
    480480                $errmsg = __( 'You cannot delete a plugin while it is active on the main site.' );
    481481        } elseif ( isset( $_GET['charsout'] ) ) {
     482                /* translators: %d: number of unexpected outputed characters */
    482483                $errmsg = sprintf( __( 'The plugin generated %d characters of <strong>unexpected output</strong> during activation. If you notice &#8220;headers already sent&#8221; messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.' ), $_GET['charsout'] );
    483484        } else {
    484485                $errmsg = __( 'Plugin could not be activated because it triggered a <strong>fatal error</strong>.' );
    elseif ( isset( $_GET['deleted'] ) ) : 
    507508                delete_transient( 'plugins_delete_result_' . $user_ID );
    508509
    509510        if ( is_wp_error( $delete_result ) ) :
    510                 ?>
     511                /* translators: %s: error message */ ?>
    511512                <div id="message" class="error notice is-dismissible"><p><?php printf( __( 'Plugin could not be deleted due to an error: %s' ), $delete_result->get_error_message() ); ?></p></div>
    512513                <?php else : ?>
    513514                <div id="message" class="updated notice is-dismissible">
  • wp-admin/post.php

    diff --git a/wp-admin/post.php b/wp-admin/post.php
    index 7fe38636af..ebae75cffc 100644
    a b switch ( $action ) { 
    230230
    231231                if ( $user_id = wp_check_post_lock( $post_id ) ) {
    232232                        $user = get_userdata( $user_id );
     233                        /* translators: %s: user currently editing the item */
    233234                        wp_die( sprintf( __( 'You cannot move this item to the Trash. %s is currently editing.' ), $user->display_name ) );
    234235                }
    235236
  • wp-admin/privacy.php

    diff --git a/wp-admin/privacy.php b/wp-admin/privacy.php
    index 991ad72eff..45bcceade0 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    144144                <p>
    145145                        <?php
    146146
    147                         /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
    148147                        printf(
     148                                /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
    149149                                __( 'Need help putting together your new Privacy Policy page? <a href="%1$s" %2$s>Check out our guide%3$s</a> for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
    150150                                admin_url( 'tools.php?wp-privacy-policy-guide' ),
    151151                                '',
  • wp-admin/setup-config.php

    diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php
    index 2382357d84..5c41b34b9f 100644
    a b switch ( $step ) { 
    166166</ol>
    167167<p>
    168168<?php
    169         /* translators: %s: wp-config.php */
    170169        printf(
     170                /* translators: %s: wp-config.php */
    171171                __( 'We&#8217;re going to use this information to create a %s file.' ),
    172172                '<code>wp-config.php</code>'
    173173        );
    174174        ?>
    175175        <strong>
    176176        <?php
    177                 /* translators: 1: wp-config-sample.php, 2: wp-config.php */
    178177                printf(
     178                        /* translators: 1: wp-config-sample.php, 2: wp-config.php */
    179179                        __( 'If for any reason this automatic file creation doesn&#8217;t work, don&#8217;t worry. All this does is fill in the database information to a configuration file. You may also simply open %1$s in a text editor, fill in your information, and save it as %2$s.' ),
    180180                        '<code>wp-config-sample.php</code>',
    181181                        '<code>wp-config.php</code>'
    switch ( $step ) { 
    183183        ?>
    184184        </strong>
    185185        <?php
    186         /* translators: %s: Codex URL */
    187186        printf(
     187                /* translators: %s: Codex URL */
    188188                __( 'Need more help? <a href="%s">We got it</a>.' ),
    189189                __( 'https://codex.wordpress.org/Editing_wp-config.php' )
    190190        );
  • wp-admin/theme-editor.php

    diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php
    index 5fdb881a82..52adc17178 100644
    a b if ( $theme->errors() ) { 
    247247                <?php if ( ( $has_templates || $theme->parent() ) && $theme->parent() ) : ?>
    248248                        <li class="howto">
    249249                                <?php
    250                                 /* translators: %s: link to edit parent theme */
    251250                                echo sprintf(
     251                                        /* translators: %s: link to edit parent theme */
    252252                                        __( 'This child theme inherits templates from a parent theme, %s.' ),
    253253                                        sprintf(
     254                                                /* translators: 1: the URL to the theme editor, 2: the parent theme name */
    254255                                                '<a href="%s">%s</a>',
    255256                                                self_admin_url( 'theme-editor.php?theme=' . urlencode( $theme->get_template() ) ),
    256257                                                $theme->parent()->display( 'Name' )
  • wp-admin/theme-install.php

    diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php
    index 1a250a8263..a4e56d49cb 100644
    a b wp_localize_script( 
    6161                                __( 'https://wordpress.org/support/' )
    6262                        ),
    6363                        'tryAgain'            => __( 'Try Again' ),
     64                        /* translators: %d: number of themes found */
    6465                        'themesFound'         => __( 'Number of Themes found: %d' ),
    6566                        'noThemesFound'       => __( 'No themes found. Try a different search.' ),
    6667                        'collapseSidebar'     => __( 'Collapse Sidebar' ),
  • wp-admin/themes.php

    diff --git a/wp-admin/themes.php b/wp-admin/themes.php
    index 085058fd6a..0a790802de 100644
    a b if ( current_user_can( 'install_themes' ) ) { 
    9191        if ( is_multisite() ) {
    9292                $help_install = '<p>' . __( 'Installing themes on Multisite can only be done from the Network Admin section.' ) . '</p>';
    9393        } else {
     94                /* translators: %s: link to the themes page on wordpress.org */
    9495                $help_install = '<p>' . sprintf( __( 'If you would like to see more themes to choose from, click on the &#8220;Add New&#8221; button and you will be able to browse or search for additional themes from the <a href="%s">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they&#8217;re free!' ), __( 'https://wordpress.org/themes/' ) ) . '</p>';
    9596        }
    9697
    wp_localize_script( 
    145146                        'addNew'            => __( 'Add New Theme' ),
    146147                        'search'            => __( 'Search Installed Themes' ),
    147148                        'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis)
     149                        /* translators: %d: number of themes found */
    148150                        'themesFound'       => __( 'Number of Themes found: %d' ),
    149151                        'noThemesFound'     => __( 'No themes found. Try a different search.' ),
    150152                ),
    foreach ( $themes as $theme ) : 
    292294        <?php endif; ?>
    293295
    294296        <span class="more-details" id="<?php echo $aria_action; ?>"><?php _e( 'Theme Details' ); ?></span>
    295         <div class="theme-author"><?php printf( __( 'By %s' ), $theme['author'] ); ?></div>
     297        <div class="theme-author">
     298                <?php
     299                /* translators: %s: Theme author name */
     300                printf( __( 'By %s' ), $theme['author'] );
     301                ?>
     302        </div>
    296303
    297304        <div class="theme-id-container">
    298305                <?php if ( $theme['active'] ) { ?>
    299306                        <h2 class="theme-name" id="<?php echo $aria_name; ?>">
    300307                                <?php
    301                                 /* translators: %s: theme name */
     308                                /* translators: %s: Theme name */
    302309                                printf( __( '<span>Active:</span> %s' ), $theme['name'] );
    303310                                ?>
    304311                        </h2>
    $can_install = current_user_can( 'install_themes' ); 
    483490                                <# if ( data.active ) { #>
    484491                                        <span class="current-label"><?php _e( 'Current Theme' ); ?></span>
    485492                                <# } #>
     493                                <?php /* translators: %s: Theme version */ ?>
    486494                                <h2 class="theme-name">{{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></span></h2>
    487                                 <p class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></p>
     495                                <p class="theme-author">
     496                                        <?php
     497                                        /* translators: %s: Theme autor and URL */
     498                                        printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' );
     499                                        ?>
     500                                </p>
    488501
    489502                                <# if ( data.hasUpdate ) { #>
    490503                                <div class="notice notice-warning notice-alt notice-large">
    $can_install = current_user_can( 'install_themes' ); 
    495508                                <p class="theme-description">{{{ data.description }}}</p>
    496509
    497510                                <# if ( data.parent ) { #>
    498                                         <p class="parent-theme"><?php printf( __( 'This is a child theme of %s.' ), '<strong>{{{ data.parent }}}</strong>' ); ?></p>
     511                                        <p class="parent-theme">
     512                                                <?php
     513                                                /* translators: %s: Theme name */
     514                                                printf( __( 'This is a child theme of %s.' ), '<strong>{{{ data.parent }}}</strong>' );
     515                                                ?>
     516                                        </p>
    499517                                <# } #>
    500518
    501519                                <# if ( data.tags ) { #>
  • wp-admin/tools.php

    diff --git a/wp-admin/tools.php b/wp-admin/tools.php
    index ddb0921767..e248652b22 100644
    a b if ( $is_privacy_guide ) { 
    5757        if ( current_user_can($cats->cap->manage_terms) || current_user_can($tags->cap->manage_terms) ) : ?>
    5858        <div class="card">
    5959                <h2 class="title"><?php _e( 'Categories and Tags Converter' ) ?></h2>
    60                 <p><?php printf( __('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' ); ?></p>
     60                <p>
     61                        <?php
     62                        /* translators: %s: link to the categories and tags converter */
     63                        printf( __('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' );
     64                        ?>
     65                </p>
    6166        </div>
    6267        <?php
    6368        endif;
  • wp-admin/update-core.php

    diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php
    index 61527bfc82..4d88e83750 100644
    a b function list_core_update( $update ) { 
    5959                $message = __( 'You are using a development version of WordPress. You can update to the latest nightly build automatically:' );
    6060        } else {
    6161                if ( $current ) {
     62                        /* translators: %s: WordPress version number */
    6263                        $message     = sprintf( __( 'If you need to re-install version %s, you can do so here:' ), $version_string );
    6364                        $submit      = __( 'Re-install Now' );
    6465                        $form_action = 'update-core.php?action=do-core-reinstall';
    function list_core_update( $update ) { 
    116117                echo '<p class="hint">' . __( 'This localized version contains both the translation and various other localization fixes. You can skip upgrading if you want to keep your current translation.' ) . '</p>';
    117118        } // Partial builds don't need language-specific warnings.
    118119        elseif ( 'en_US' == $update->locale && get_locale() != 'en_US' && ( ! $update->packages->partial && $wp_version == $update->partial_version ) ) {
     120                /* translators: %s: WordPress version number */
    119121                echo '<p class="hint">' . sprintf( __( 'You are about to install WordPress %s <strong>in English (US).</strong> There is a chance this update will break your translation. You may prefer to wait for the localized version to be released.' ), $update->response != 'development' ? $update->current : '' ) . '</p>';
    120122        }
    121123        echo '</form>';
    function core_upgrade_preamble() { 
    221223                echo '<p>' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.' ) . '</p>';
    222224        } elseif ( ! $updates ) {
    223225                list( $normalized_version ) = explode( '-', $wp_version );
     226                /* translators: 1: link to the about page, 2: WordPress version number */
    224227                echo '<p>' . sprintf( __( '<a href="%1$s">Learn more about WordPress %2$s</a>.' ), esc_url( self_admin_url( 'about.php' ) ), $normalized_version ) . '</p>';
    225228        }
    226229        dismissed_updates();
    foreach ( (array) $plugins as $plugin_file => $plugin_data ) { 
    275278
    276279        // Get plugin compat for running version of WordPress.
    277280        if ( isset( $plugin_data->update->tested ) && version_compare( $plugin_data->update->tested, $cur_wp_version, '>=' ) ) {
     281                /* translators: 1: WordPress version number */
    278282                $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %1$s: 100%% (according to its author)' ), $cur_wp_version );
    279283        } else {
     284                /* translators: 1: WordPress version number */
    280285                $compat = '<br />' . sprintf( __( 'Compatibility with WordPress %1$s: Unknown' ), $cur_wp_version );
    281286        }
    282287        // Get plugin compat for updated version of WordPress.
    283288        if ( $core_update_version ) {
    284289                if ( isset( $plugin_data->update->tested ) && version_compare( $plugin_data->update->tested, $core_update_version, '>=' ) ) {
     290                        /* translators: 1: WordPress version number */
    285291                        $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %1$s: 100%% (according to its author)' ), $core_update_version );
    286292                } else {
     293                        /* translators: 1: WordPress version number */
    287294                        $compat .= '<br />' . sprintf( __( 'Compatibility with WordPress %1$s: Unknown' ), $core_update_version );
    288295                }
    289296        }
    foreach ( (array) $plugins as $plugin_file => $plugin_data ) { 
    311318                        <input type="checkbox" name="checked[]" id="<?php echo $checkbox_id; ?>" value="<?php echo esc_attr( $plugin_file ); ?>" />
    312319                        <label for="<?php echo $checkbox_id; ?>" class="screen-reader-text">
    313320                                                                                <?php
    314                                                                                 /* translators: %s: plugin name */
    315321                                                                                printf(
     322                                                                                        /* translators: %s: plugin name */
    316323                                                                                        __( 'Select %s' ),
    317324                                                                                        $plugin_data->Name
    318325                                                                                );
    foreach ( (array) $plugins as $plugin_file => $plugin_data ) { 
    323330                                <?php echo $icon; ?>
    324331                                <strong><?php echo $plugin_data->Name; ?></strong>
    325332                                <?php
    326                                 /* translators: 1: plugin version, 2: new version */
    327333                                printf(
     334                                        /* translators: 1: plugin version, 2: new version */
    328335                                        __( 'You have version %1$s installed. Update to %2$s.' ),
    329336                                        $plugin_data->Version,
    330337                                        $plugin_data->update->new_version
    function list_theme_updates() { 
    365372?>
    366373<h2><?php _e( 'Themes' ); ?></h2>
    367374<p><?php _e( 'The following themes have new versions available. Check the ones you want to update and then click &#8220;Update Themes&#8221;.' ); ?></p>
    368 <p><?php printf( __( '<strong>Please Note:</strong> Any customizations you have made to theme files will be lost. Please consider using <a href="%s">child themes</a> for modifications.' ), __( 'https://codex.wordpress.org/Child_Themes' ) ); ?></p>
     375<p>
     376        <?php
     377        /* translators: %s: link to the child theme codex page */
     378        printf( __( '<strong>Please Note:</strong> Any customizations you have made to theme files will be lost. Please consider using <a href="%s">child themes</a> for modifications.' ), __( 'https://codex.wordpress.org/Child_Themes' ) );
     379        ?>
     380</p>
    369381<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-themes" class="upgrade">
    370382<?php wp_nonce_field( 'upgrade-core' ); ?>
    371383<p><input id="upgrade-themes" class="button" type="submit" value="<?php esc_attr_e( 'Update Themes' ); ?>" name="upgrade" /></p>
    foreach ( $themes as $stylesheet => $theme ) { 
    387399                        <input type="checkbox" name="checked[]" id="<?php echo $checkbox_id; ?>" value="<?php echo esc_attr( $stylesheet ); ?>" />
    388400                        <label for="<?php echo $checkbox_id; ?>" class="screen-reader-text">
    389401                                                                                <?php
    390                                                                                 /* translators: %s: theme name */
    391402                                                                                printf(
     403                                                                                        /* translators: %s: theme name */
    392404                                                                                        __( 'Select %s' ),
    393405                                                                                        $theme->display( 'Name' )
    394406                                                                                );
    foreach ( $themes as $stylesheet => $theme ) { 
    399411                                <img src="<?php echo esc_url( $theme->get_screenshot() ); ?>" width="85" height="64" class="updates-table-screenshot" alt="" />
    400412                                <strong><?php echo $theme->display( 'Name' ); ?></strong>
    401413                                <?php
    402                                 /* translators: 1: theme version, 2: new version */
    403414                                printf(
     415                                        /* translators: 1: theme version, 2: new version */
    404416                                        __( 'You have version %1$s installed. Update to %2$s.' ),
    405417                                        $theme->display( 'Version' ),
    406418                                        $theme->update['new_version']
    if ( is_wp_error( $result ) ) { 
    529541}
    530542
    531543        show_message( __( 'WordPress updated successfully' ) );
     544        /* translators: 1: WordPress version number, 2: link to information about the update */
    532545        show_message( '<span class="hide-if-no-js">' . sprintf( __( 'Welcome to WordPress %1$s. You will be redirected to the About WordPress screen. If not, click <a href="%2$s">here</a>.' ), $result, esc_url( self_admin_url( 'about.php?updated' ) ) ) . '</span>' );
     546        /* translators: 1: WordPress version number, 2: link to information about the update */
    533547        show_message( '<span class="hide-if-js">' . sprintf( __( 'Welcome to WordPress %1$s. <a href="%2$s">Learn more</a>.' ), $result, esc_url( self_admin_url( 'about.php?updated' ) ) ) . '</span>' );
    534548        ?>
    535549        </div>
  • wp-admin/update.php

    diff --git a/wp-admin/update.php b/wp-admin/update.php
    index 5b07beb710..db3fb1b702 100644
    a b if ( isset( $_GET['action'] ) ) { 
    123123                $submenu_file = 'plugin-install.php';
    124124                require_once( ABSPATH . 'wp-admin/admin-header.php' );
    125125
     126                /* translators: %s: plugin name and version */
    126127                $title = sprintf( __( 'Installing Plugin: %s' ), $api->name . ' ' . $api->version );
    127128                $nonce = 'install-plugin_' . $plugin;
    128129                $url   = 'update.php?action=install-plugin&plugin=' . urlencode( $plugin );
    if ( isset( $_GET['action'] ) ) { 
    152153                $submenu_file = 'plugin-install.php';
    153154                require_once( ABSPATH . 'wp-admin/admin-header.php' );
    154155
     156                /* translators: %s: uploaded file name */
    155157                $title = sprintf( __( 'Installing Plugin from uploaded file: %s' ), esc_html( basename( $file_upload->filename ) ) );
    156158                $nonce = 'plugin-upload';
    157159                $url   = add_query_arg( array( 'package' => $file_upload->id ), 'update.php?action=upload-plugin' );
    if ( isset( $_GET['action'] ) ) { 
    243245                $submenu_file = 'themes.php';
    244246                require_once( ABSPATH . 'wp-admin/admin-header.php' );
    245247
     248                /* translators: %s: theme name and version */
    246249                $title = sprintf( __( 'Installing Theme: %s' ), $api->name . ' ' . $api->version );
    247250                $nonce = 'install-theme_' . $theme;
    248251                $url   = 'update.php?action=install-theme&theme=' . urlencode( $theme );
    if ( isset( $_GET['action'] ) ) { 
    269272
    270273                require_once( ABSPATH . 'wp-admin/admin-header.php' );
    271274
     275                /* translators: %s: uploaded file name */
    272276                $title = sprintf( __( 'Installing Theme from uploaded file: %s' ), esc_html( basename( $file_upload->filename ) ) );
    273277                $nonce = 'theme-upload';
    274278                $url   = add_query_arg( array( 'package' => $file_upload->id ), 'update.php?action=upload-theme' );
  • wp-admin/upgrade.php

    diff --git a/wp-admin/upgrade.php b/wp-admin/upgrade.php
    index bd9419d506..6eb0e49bdf 100644
    a b if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) { 
    8181<?php
    8282elseif ( ! $php_compat || ! $mysql_compat ) :
    8383        if ( ! $mysql_compat && ! $php_compat ) {
     84                /* translators: 1: WordPress version number, 2: required PHP version number, 3: required MySQL version number, 4: current PHP version number, 5: current MySQL version number */
    8485                printf( __( 'You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.' ), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
    8586        } elseif ( ! $php_compat ) {
     87                /* translators: 1: WordPress version number, 2: required PHP version number, 3: current PHP version number */
    8688                printf( __( 'You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.' ), $wp_version, $required_php_version, $php_version );
    8789        } elseif ( ! $mysql_compat ) {
     90                /* translators: 1: WordPress version number, 2: required MySQL version number, 3: current MySQL version number */
    8891                printf( __( 'You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires MySQL version %2$s or higher. You are running version %3$s.' ), $wp_version, $required_mysql_version, $mysql_version );
    8992        }
    9093?>
    else : 
    117120
    118121<!--
    119122<pre>
    120 <?php printf( __( '%s queries' ), $wpdb->num_queries ); ?>
     123<?php
     124        /* translators: %s: number of queries */
     125        printf( __( '%s queries' ), $wpdb->num_queries );
     126?>
    121127
    122 <?php printf( __( '%s seconds' ), timer_stop( 0 ) ); ?>
     128<?php
     129        /* translators: %s: number of seconds */
     130        printf( __( '%s seconds' ), timer_stop( 0 ) );
     131?>
    123132</pre>
    124133-->
    125134
  • wp-admin/user-edit.php

    diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php
    index b1547886d5..250c5aff2a 100644
    a b if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c 
    568568                if ( IS_PROFILE_PAGE ) {
    569569                        /* translators: %s: Gravatar URL */
    570570                        $description = sprintf(
     571                                /* translators: %s: link to Gravatar */
    571572                                __( 'You can change your profile picture on <a href="%s">Gravatar</a>.' ),
    572573                                __( 'https://en.gravatar.com/' )
    573574                        );
    foreach ( $profileuser->caps as $cap => $value ) { 
    738739                if ( '' != $output ) {
    739740                        $output .= ', ';
    740741                }
     742                /* translators: %s: role denied */
    741743                $output .= $value ? $cap : sprintf( __( 'Denied: %s' ), $cap );
    742744        }
    743745}
  • wp-admin/user-new.php

    diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php
    index 91ba0ace58..f7a5370502 100644
    a b if ( isset( $_REQUEST['action'] ) && 'adduser' == $_REQUEST['action'] ) { 
    110110
    111111                        $switched_locale = switch_to_locale( get_user_locale( $user_details ) );
    112112
    113                         /* translators: 1: Site name, 2: site URL, 3: role, 4: activation URL */
     113                        /* translators: 1: site name, 2: site URL, 3: role, 4: activation URL */
    114114                        $message = __(
    115115                                'Hi,
    116116
    You\'ve been invited to join \'%1$s\' at 
    120120Please click the following link to confirm the invite:
    121121%4$s'
    122122                        );
     123                        /* translators: %s: site name */
    123124                        wp_mail( $new_user_email, sprintf( __( '[%s] Joining confirmation' ), wp_specialchars_decode( get_option( 'blogname' ) ) ), sprintf( $message, get_option( 'blogname' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ), home_url( "/newbloguser/$newuser_key/" ) ) );
    124125
    125126                        if ( $switched_locale ) {
  • wp-admin/users.php

    diff --git a/wp-admin/users.php b/wp-admin/users.php
    index b1ca382422..07608084bc 100644
    a b foreach ( $userids as $id ) { 
    465465                                        if ( 1 == $delete_count ) {
    466466                                                $message = __( 'User deleted.' );
    467467                                        } else {
     468                                                /* translators: %s: number of users deleted */
    468469                                                $message = _n( '%s user deleted.', '%s users deleted.', $delete_count );
    469470                                        }
    470471                                        $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( $message, number_format_i18n( $delete_count ) ) . '</p></div>';
    471472                                        break;
    472473                                case 'add':
    473474                                        if ( isset( $_GET['id'] ) && ( $user_id = $_GET['id'] ) && current_user_can( 'edit_user', $user_id ) ) {
    474                                                 /* translators: %s: edit page url */
    475475                                                $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . sprintf(
     476                                                        /* translators: %s: edit page url */
    476477                                                        __( 'New user created. <a href="%s">Edit user</a>' ),
    477478                                                        esc_url(
    478479                                                                add_query_arg(
  • wp-admin/widgets.php

    diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php
    index ade4fd2b4b..707fa7379c 100644
    a b if ( isset( $_GET['editwidget'] ) && $_GET['editwidget'] ) { 
    291291        <div class="wrap">
    292292        <h1><?php echo esc_html( $title ); ?></h1>
    293293        <div class="editwidget"<?php echo $width; ?>>
    294         <h2><?php printf( __( 'Widget %s' ), $name ); ?></h2>
     294        <h2>
     295                <?php
     296                /* translators: %s: widget name */
     297                printf( __( 'Widget %s' ), $name );
     298                ?>
     299        </h2>
    295300
    296301        <form action="widgets.php" method="post">
    297302        <div class="widget-inside">