I18N: Add translator comments for strings in `wp-includes/admin-bar.php`.
Props ramiy. Fixes #37794. git-svn-id: https://develop.svn.wordpress.org/trunk@38340 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5e1193272f
commit
bcc0fc20b3
|
@ -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,8 +294,10 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) {
|
|||
}
|
||||
|
||||
if ( is_network_admin() ) {
|
||||
/* translators: %s: site name */
|
||||
$blogname = sprintf( __( 'Network Admin: %s' ), esc_html( get_current_site()->site_name ) );
|
||||
} elseif ( is_user_admin() ) {
|
||||
/* translators: %s: site name */
|
||||
$blogname = sprintf( __( 'User Dashboard: %s' ), esc_html( get_current_site()->site_name ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue