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/admin-bar.php

    r45926 r45932  
    230230
    231231    $avatar = get_avatar( $user_id, 26 );
    232     /* translators: %s: current user's display name */
     232    /* translators: %s: Current user's display name. */
    233233    $howdy = sprintf( __( 'Howdy, %s' ), '<span class="display-name">' . $current_user->display_name . '</span>' );
    234234    $class = empty( $avatar ) ? '' : 'with-avatar';
     
    342342
    343343    if ( is_network_admin() ) {
    344         /* translators: %s: site name */
     344        /* translators: %s: Site title. */
    345345        $blogname = sprintf( __( 'Network Admin: %s' ), esc_html( get_network()->site_name ) );
    346346    } elseif ( is_user_admin() ) {
    347         /* translators: %s: site name */
     347        /* translators: %s: Site title. */
    348348        $blogname = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ) );
    349349    }
     
    897897    $awaiting_mod  = $awaiting_mod->moderated;
    898898    $awaiting_text = sprintf(
    899         /* translators: %s: number of comments */
     899        /* translators: %s: Number of comments. */
    900900        _n( '%s Comment in moderation', '%s Comments in moderation', $awaiting_mod ),
    901901        number_format_i18n( $awaiting_mod )
Note: See TracChangeset for help on using the changeset viewer.