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:
Dion Hulse 2013-11-24 06:10:10 +00:00
parent 2768466674
commit 5624f82c38
1 changed files with 4 additions and 2 deletions

View File

@ -2416,9 +2416,11 @@ Thanks! -- The WordPress Team" );
continue;
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 {
$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() )