Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (5 years 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/network/sites.php

    r45926 r45932  
    6262    // A list of valid actions and their associated messaging for confirmation output.
    6363    $manage_actions = array(
    64         /* translators: %s: Site URL */
     64        /* translators: %s: Site URL. */
    6565        'activateblog'   => __( 'You are about to activate the site %s.' ),
    66         /* translators: %s: Site URL */
     66        /* translators: %s: Site URL. */
    6767        'deactivateblog' => __( 'You are about to deactivate the site %s.' ),
    68         /* translators: %s: Site URL */
     68        /* translators: %s: Site URL. */
    6969        'unarchiveblog'  => __( 'You are about to unarchive the site %s.' ),
    70         /* translators: %s: Site URL */
     70        /* translators: %s: Site URL. */
    7171        'archiveblog'    => __( 'You are about to archive the site %s.' ),
    72         /* translators: %s: Site URL */
     72        /* translators: %s: Site URL. */
    7373        'unspamblog'     => __( 'You are about to unspam the site %s.' ),
    74         /* translators: %s: Site URL */
     74        /* translators: %s: Site URL. */
    7575        'spamblog'       => __( 'You are about to mark the site %s as spam.' ),
    76         /* translators: %s: Site URL */
     76        /* translators: %s: Site URL. */
    7777        'deleteblog'     => __( 'You are about to delete the site %s.' ),
    78         /* translators: %s: Site URL */
     78        /* translators: %s: Site URL. */
    7979        'unmatureblog'   => __( 'You are about to mark the site %s as mature.' ),
    80         /* translators: %s: Site URL */
     80        /* translators: %s: Site URL. */
    8181        'matureblog'     => __( 'You are about to mark the site %s as not mature.' ),
    8282    );
     
    164164                    wp_die(
    165165                        sprintf(
    166                             /* translators: %s: Site URL */
     166                            /* translators: %s: Site URL. */
    167167                            __( 'Sorry, you are not allowed to delete the site %s.' ),
    168168                            $site_address
     
    365365<?php
    366366if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    367     /* translators: %s: search keywords */
     367    /* translators: %s: Search query. */
    368368    printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $s ) );
    369369}
Note: See TracChangeset for help on using the changeset viewer.