WordPress.org

Make WordPress Core

Changeset 38340


Ignore:
Timestamp:
08/23/2016 11:04:33 PM (3 years ago)
Author:
SergeyBiryukov
Message:

I18N: Add translator comments for strings in wp-includes/admin-bar.php.

Props ramiy.
Fixes #37794.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/admin-bar.php

    r37542 r38340  
    197197
    198198    $avatar = get_avatar( $user_id, 26 );
    199     $howdy  = sprintf( __('Howdy, %1$s'), $current_user->display_name );
     199    /* translators: %s: current user's display name */
     200    $howdy  = sprintf( __( 'Howdy, %s' ), $current_user->display_name );
    200201    $class  = empty( $avatar ) ? '' : 'with-avatar';
    201202
     
    294295
    295296    if ( is_network_admin() ) {
    296         $blogname = sprintf( __('Network Admin: %s'), esc_html( get_current_site()->site_name ) );
     297        /* translators: %s: site name */
     298        $blogname = sprintf( __( 'Network Admin: %s' ), esc_html( get_current_site()->site_name ) );
    297299    } elseif ( is_user_admin() ) {
    298         $blogname = sprintf( __('User Dashboard: %s'), esc_html( get_current_site()->site_name ) );
     300        /* translators: %s: site name */
     301        $blogname = sprintf( __( 'User Dashboard: %s' ), esc_html( get_current_site()->site_name ) );
    299302    }
    300303
Note: See TracChangeset for help on using the changeset viewer.