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

    r45740 r45932  
    3636
    3737if ( is_network_admin() ) {
    38     /* translators: Network admin screen title. %s: Network name */
     38    /* translators: Network admin screen title. %s: Network title. */
    3939    $admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_network()->site_name ) );
    4040} elseif ( is_user_admin() ) {
    41     /* translators: User dashboard screen title. %s: Network name */
     41    /* translators: User dashboard screen title. %s: Network title. */
    4242    $admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ) );
    4343} else {
     
    4646
    4747if ( $admin_title == $title ) {
    48     /* translators: Admin screen title. %s: Admin screen name */
     48    /* translators: Admin screen title. %s: Admin screen name. */
    4949    $admin_title = sprintf( __( '%s — WordPress' ), $title );
    5050} else {
    51     /* translators: Admin screen title. 1: Admin screen name, 2: Network or site name */
     51    /* translators: Admin screen title. 1: Admin screen name, 2: Network or site name. */
    5252    $admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title );
    5353}
Note: See TracChangeset for help on using the changeset viewer.