WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (2 months ago)
Author:
SergeyBiryukov
Message:

I18N: Capitalize translator comments consistently, add trailing punctuation.

Includes minor code layout fixes.

See #44360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/link-manager.php

    r45926 r45932  
    5555        'content' =>
    5656            '<p>' . sprintf(
    57                 /* translators: %s: URL to Widgets screen */
     57                /* translators: %s: URL to Widgets screen. */
    5858                __( '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.' ),
    5959                'widgets.php'
     
    103103<?php
    104104if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    105     /* translators: %s: search keywords */
     105    /* translators: %s: Search query. */
    106106    printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( wp_unslash( $_REQUEST['s'] ) ) );
    107107}
     
    114114    echo '<div id="message" class="updated notice is-dismissible"><p>';
    115115    $deleted = (int) $_REQUEST['deleted'];
    116     /* translators: %s: number of links */
     116    /* translators: %s: Number of links. */
    117117    printf( _n( '%s link deleted.', '%s links deleted.', $deleted ), $deleted );
    118118    echo '</p></div>';
Note: See TracChangeset for help on using the changeset viewer.