Use numbered string replacements in 2 new strings. Props dimadin. Fixes #25667
Built from https://develop.svn.wordpress.org/trunk@26346 git-svn-id: http://core.svn.wordpress.org/trunk@26247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2768466674
commit
5624f82c38
|
@ -2416,9 +2416,11 @@ Thanks! -- The WordPress Team" );
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if ( 'rollback' === $result_type ) {
|
if ( 'rollback' === $result_type ) {
|
||||||
$body[] = ' ' . sprintf( __( 'Rollback Error: [%s] %s' ), $result->get_error_code(), $result->get_error_message() );
|
/* translators: 1: Error code, 2: Error message. */
|
||||||
|
$body[] = ' ' . sprintf( __( 'Rollback Error: [%1$s] %2$s' ), $result->get_error_code(), $result->get_error_message() );
|
||||||
} else {
|
} else {
|
||||||
$body[] = ' ' . sprintf( __( 'Error: [%s] %s' ), $result->get_error_code(), $result->get_error_message() );
|
/* translators: 1: Error code, 2: Error message. */
|
||||||
|
$body[] = ' ' . sprintf( __( 'Error: [%1$s] %2$s' ), $result->get_error_code(), $result->get_error_message() );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $result->get_error_data() )
|
if ( $result->get_error_data() )
|
||||||
|
|
Loading…
Reference in New Issue