Changeset 45932 for trunk/src/wp-includes/user.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r45926 r45932 175 175 'incorrect_password', 176 176 sprintf( 177 /* translators: %s: user name*/177 /* translators: %s: User name. */ 178 178 __( '<strong>ERROR</strong>: The password you entered for the username %s is incorrect.' ), 179 179 '<strong>' . $username . '</strong>' … … 249 249 'incorrect_password', 250 250 sprintf( 251 /* translators: %s: email address*/251 /* translators: %s: Email address. */ 252 252 __( '<strong>ERROR</strong>: The password you entered for the email address %s is incorrect.' ), 253 253 '<strong>' . $email . '</strong>' … … 1191 1191 foreach ( (array) $users as $user ) { 1192 1192 if ( 'display_name_with_login' === $show ) { 1193 /* translators: 1: display name, 2: user_login*/1193 /* translators: 1: User's display name, 2: User login. */ 1194 1194 $display = sprintf( _x( '%1$s (%2$s)', 'user dropdown' ), $user->display_name, $user->user_login ); 1195 1195 } elseif ( ! empty( $user->$show ) ) { … … 1712 1712 $display_name = $user_login; 1713 1713 } elseif ( $meta['first_name'] && $meta['last_name'] ) { 1714 /* translators: 1: first name, 2: last name*/1714 /* translators: 1: User's first name, 2: Last name. */ 1715 1715 $display_name = sprintf( _x( '%1$s %2$s', 'Display name based on first name and last name' ), $meta['first_name'], $meta['last_name'] ); 1716 1716 } elseif ( $meta['first_name'] ) { … … 2019 2019 $pass_change_email = array( 2020 2020 'to' => $user['user_email'], 2021 /* translators: Password change notification email subject. %s: Site name*/2021 /* translators: Password change notification email subject. %s: Site title. */ 2022 2022 'subject' => __( '[%s] Password Changed' ), 2023 2023 'message' => $pass_change_text, … … 2076 2076 $email_change_email = array( 2077 2077 'to' => $user['user_email'], 2078 /* translators: Email change notification email subject. %s: Site name*/2078 /* translators: Email change notification email subject. %s: Site title. */ 2079 2079 'subject' => __( '[%s] Email Changed' ), 2080 2080 'message' => $email_change_text, … … 2561 2561 'registerfail', 2562 2562 sprintf( 2563 /* translators: %s: admin email address*/2563 /* translators: %s: Admin email address. */ 2564 2564 __( '<strong>ERROR</strong>: Couldn’t register you… please contact the <a href="mailto:%s">webmaster</a> !' ), 2565 2565 get_option( 'admin_email' ) … … 2876 2876 $content = str_replace( '###SITEURL###', home_url(), $content ); 2877 2877 2878 /* translators: New email address notification email subject. %s: Site name*/2878 /* translators: New email address notification email subject. %s: Site title. */ 2879 2879 wp_mail( $_POST['email'], sprintf( __( '[%s] Email Change Request' ), $sitename ), $content ); 2880 2880 … … 2898 2898 $email = get_user_meta( get_current_user_id(), '_new_email', true ); 2899 2899 if ( $email ) { 2900 /* translators: %s: New email address */2900 /* translators: %s: New email address. */ 2901 2901 echo '<div class="notice notice-info"><p>' . sprintf( __( 'Your email address has not been updated yet. Please check your inbox at %s for a confirmation email.' ), '<code>' . esc_html( $email['newemail'] ) . '</code>' ) . '</p></div>'; 2902 2902 } … … 3237 3237 3238 3238 $subject = sprintf( 3239 /* translators: Erasure request fulfilled notification email subject. %s: Site name. */3239 /* translators: Erasure request fulfilled notification email subject. %s: Site title. */ 3240 3240 __( '[%s] Erasure Request Fulfilled' ), 3241 3241 $email_data['sitename'] … … 3455 3455 break; 3456 3456 default: 3457 /* translators: %s: action name*/3457 /* translators: %s: Action name. */ 3458 3458 $description = sprintf( __( 'Confirm the "%s" action' ), $action_name ); 3459 3459 break; … … 3565 3565 $content = str_replace( '###SITEURL###', esc_url_raw( $email_data['siteurl'] ), $content ); 3566 3566 3567 /* translators: Confirm privacy data request notification email subject. 1: Site title, 2: Name of the action */3567 /* translators: Confirm privacy data request notification email subject. 1: Site title, 2: Name of the action. */ 3568 3568 $subject = sprintf( __( '[%1$s] Confirm Action: %2$s' ), $email_data['sitename'], $email_data['description'] ); 3569 3569
Note: See TracChangeset
for help on using the changeset viewer.