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-includes/widgets.php

    r45926 r45932  
    179179                $_args['name'] = sprintf( $args['name'], $i );
    180180            } else {
    181                 /* translators: %d: Sidebar number */
     181                /* translators: %d: Sidebar number. */
    182182                $_args['name'] = sprintf( __( 'Sidebar %d' ), $i );
    183183            }
     
    253253
    254254    $defaults = array(
    255         /* translators: %d: Sidebar number */
     255        /* translators: %d: Sidebar number. */
    256256        'name'          => sprintf( __( 'Sidebar %d' ), $i ),
    257257        'id'            => "sidebar-$i",
     
    270270            __FUNCTION__,
    271271            sprintf(
    272                 /* translators: 1: the id argument, 2: sidebar name, 3: recommended id value */
     272                /* translators: 1: The 'id' argument, 2: Sidebar name, 3: Recommended 'id' value. */
    273273                __( 'No %1$s was set in the arguments array for the "%2$s" sidebar. Defaulting to "%3$s". Manually set the %1$s to "%3$s" to silence this notice and keep existing sidebar content.' ),
    274274                '<code>id</code>',
Note: See TracChangeset for help on using the changeset viewer.