Use numbered string replacements in 2 new strings. Props dimadin. Fixes #25667

git-svn-id: https://develop.svn.wordpress.org/trunk@26346 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2013-11-24 06:09:43 +00:00
parent b76c2b3170
commit 72e4fe6420

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() )