diff --git a/wp-admin/maint/repair.php b/wp-admin/maint/repair.php
index 783eb5a8eb..3f5718876d 100644
--- a/wp-admin/maint/repair.php
+++ b/wp-admin/maint/repair.php
@@ -78,10 +78,10 @@ if ( !defined('WP_ALLOW_REPAIR') ) {
echo '
 ';
if ( 'OK' == $check->Msg_text || 'Table is already up to date' == $check->Msg_text ) {
/* translators: %s: table name */
- printf( __( 'Successfully optimized the $table table.' ), $table );
+ printf( __( 'Successfully optimized the %s table.' ), $table );
} else {
/* translators: 1: table name, 2: error message, */
- printf( __( 'Failed to optimize the $table table. Error: $check->Msg_text' ), $table,"$check->Msg_text" );
+ printf( __( 'Failed to optimize the %1$s table. Error: %2$s' ), $table, "$check->Msg_text" );
}
}
}