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

Props ramiy.
Fixes #37794.
Built from https://develop.svn.wordpress.org/trunk@38340


git-svn-id: http://core.svn.wordpress.org/trunk@38281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2016-08-23 23:05:31 +00:00
parent bd816e5182
commit ce4c0d67dc
2 changed files with 7 additions and 4 deletions

View File

@ -196,7 +196,8 @@ function wp_admin_bar_my_account_item( $wp_admin_bar ) {
}
$avatar = get_avatar( $user_id, 26 );
$howdy = sprintf( __('Howdy, %1$s'), $current_user->display_name );
/* translators: %s: current user's display name */
$howdy = sprintf( __( 'Howdy, %s' ), $current_user->display_name );
$class = empty( $avatar ) ? '' : 'with-avatar';
$wp_admin_bar->add_menu( array(
@ -293,9 +294,11 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) {
}
if ( is_network_admin() ) {
$blogname = sprintf( __('Network Admin: %s'), esc_html( get_current_site()->site_name ) );
/* translators: %s: site name */
$blogname = sprintf( __( 'Network Admin: %s' ), esc_html( get_current_site()->site_name ) );
} elseif ( is_user_admin() ) {
$blogname = sprintf( __('User Dashboard: %s'), esc_html( get_current_site()->site_name ) );
/* translators: %s: site name */
$blogname = sprintf( __( 'User Dashboard: %s' ), esc_html( get_current_site()->site_name ) );
}
$title = wp_html_excerpt( $blogname, 40, '…' );

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38337';
$wp_version = '4.7-alpha-38340';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.