diff --git a/src/wp-admin/users.php b/src/wp-admin/users.php
index 8bd8c6dd66..d13c43b278 100644
--- a/src/wp-admin/users.php
+++ b/src/wp-admin/users.php
@@ -248,8 +248,10 @@ case 'delete':
foreach ( $userids as $id ) {
$user = get_userdata( $id );
if ( $id == $current_user->ID ) {
+ /* translators: 1: user id, 2: user login */
echo "
" . sprintf(__('ID #%1$s: %2$s The current user will not be deleted.'), $id, $user->user_login) . "\n";
} else {
+ /* translators: 1: user id, 2: user login */
echo "" . sprintf(__('ID #%1$s: %2$s'), $id, $user->user_login) . "\n";
$go_delete++;
}
@@ -374,10 +376,13 @@ case 'remove':
$id = (int) $id;
$user = get_userdata( $id );
if ( $id == $current_user->ID && !is_super_admin() ) {
+ /* translators: 1: user id, 2: user login */
echo "" . sprintf(__('ID #%1$s: %2$s The current user will not be removed.'), $id, $user->user_login) . "\n";
} elseif ( !current_user_can('remove_user', $id) ) {
- echo "" . sprintf(__('ID #%1$s: %2$s You don\'t have permission to remove this user.'), $id, $user->user_login) . "\n";
+ /* translators: 1: user id, 2: user login */
+ echo "" . sprintf(__('ID #%1$s: %2$s You don’t have permission to remove this user.'), $id, $user->user_login) . "\n";
} else {
+ /* translators: 1: user id, 2: user login */
echo "" . sprintf(__('ID #%1$s: %2$s'), $id, $user->user_login) . "\n";
$go_remove = true;
}
@@ -427,6 +432,7 @@ default:
break;
case 'add':
if ( isset( $_GET['id'] ) && ( $user_id = $_GET['id'] ) && current_user_can( 'edit_user', $user_id ) ) {
+ /* translators: %s: edit page url */
$messages[] = '' . sprintf( __( 'New user created. Edit user' ),
esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ),
self_admin_url( 'user-edit.php?user_id=' . $user_id ) ) ) ) . '
';