I18N: Use consistent pattern for placeholder references in translator comments in `wp_ajax_wp_privacy_erase_personal_data()`.

Merges [43088] to the 4.9 branch.
See #43438.
Built from https://develop.svn.wordpress.org/branches/4.9@43107


git-svn-id: http://core.svn.wordpress.org/branches/4.9@42936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-05-02 03:24:25 +00:00
parent fdb8a97664
commit 2083557ea9
2 changed files with 7 additions and 7 deletions

View File

@ -4315,7 +4315,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
if ( ! is_array( $response ) ) { if ( ! is_array( $response ) ) {
wp_send_json_error( wp_send_json_error(
sprintf( sprintf(
/* translators: %1$s: eraser friendly name, %2$d: array index */ /* translators: 1: eraser friendly name, 2: array index */
__( 'Did not receive array from %1$s eraser (index %2$d).' ), __( 'Did not receive array from %1$s eraser (index %2$d).' ),
esc_html( $eraser_friendly_name ), esc_html( $eraser_friendly_name ),
$eraser_index $eraser_index
@ -4326,7 +4326,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
if ( ! array_key_exists( 'num_items_removed', $response ) ) { if ( ! array_key_exists( 'num_items_removed', $response ) ) {
wp_send_json_error( wp_send_json_error(
sprintf( sprintf(
/* translators: %1$s: eraser friendly name, %2$d: array index */ /* translators: 1: eraser friendly name, 2: array index */
__( 'Expected num_items_removed key in response array from %1$s eraser (index %2$d).' ), __( 'Expected num_items_removed key in response array from %1$s eraser (index %2$d).' ),
esc_html( $eraser_friendly_name ), esc_html( $eraser_friendly_name ),
$eraser_index $eraser_index
@ -4337,7 +4337,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
if ( ! array_key_exists( 'num_items_retained', $response ) ) { if ( ! array_key_exists( 'num_items_retained', $response ) ) {
wp_send_json_error( wp_send_json_error(
sprintf( sprintf(
/* translators: %1$s: eraser friendly name, %2$d: array index */ /* translators: 1: eraser friendly name, 2: array index */
__( 'Expected num_items_retained key in response array from %1$s eraser (index %2$d).' ), __( 'Expected num_items_retained key in response array from %1$s eraser (index %2$d).' ),
esc_html( $eraser_friendly_name ), esc_html( $eraser_friendly_name ),
$eraser_index $eraser_index
@ -4348,7 +4348,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
if ( ! array_key_exists( 'messages', $response ) ) { if ( ! array_key_exists( 'messages', $response ) ) {
wp_send_json_error( wp_send_json_error(
sprintf( sprintf(
/* translators: %1$s: eraser friendly name, %2$d: array index */ /* translators: 1: eraser friendly name, 2: array index */
__( 'Expected messages key in response array from %1$s eraser (index %2$d).' ), __( 'Expected messages key in response array from %1$s eraser (index %2$d).' ),
esc_html( $eraser_friendly_name ), esc_html( $eraser_friendly_name ),
$eraser_index $eraser_index
@ -4359,7 +4359,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
if ( ! is_array( $response['messages'] ) ) { if ( ! is_array( $response['messages'] ) ) {
wp_send_json_error( wp_send_json_error(
sprintf( sprintf(
/* translators: %1$s: eraser friendly name, %2$d: array index */ /* translators: 1: eraser friendly name, 2: array index */
__( 'Expected messages key to reference an array in response array from %1$s eraser (index %2$d).' ), __( 'Expected messages key to reference an array in response array from %1$s eraser (index %2$d).' ),
esc_html( $eraser_friendly_name ), esc_html( $eraser_friendly_name ),
$eraser_index $eraser_index
@ -4370,7 +4370,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
if ( ! array_key_exists( 'done', $response ) ) { if ( ! array_key_exists( 'done', $response ) ) {
wp_send_json_error( wp_send_json_error(
sprintf( sprintf(
/* translators: %1$s: eraser friendly name, %2$d: array index */ /* translators: 1: eraser friendly name, 2: array index */
__( 'Expected done flag in response array from %1$s eraser (index %2$d).' ), __( 'Expected done flag in response array from %1$s eraser (index %2$d).' ),
esc_html( $eraser_friendly_name ), esc_html( $eraser_friendly_name ),
$eraser_index $eraser_index

View File

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