Make WordPress Core

Ticket #18770: 18770.2.patch

File 18770.2.patch, 861 bytes (added by ocean90, 13 years ago)
  • wp-admin/maint/repair.php

     
    7878                                echo '<br />&nbsp;&nbsp;&nbsp;&nbsp';
    7979                                if ( 'OK' == $check->Msg_text || 'Table is already up to date' == $check->Msg_text ) {
    8080                                        /* translators: %s: table name */
    81                                         printf( __( 'Successfully optimized the $table table.' ), $table );
     81                                        printf( __( 'Successfully optimized the %s table.' ), $table );
    8282                                } else {
    8383                                        /* translators: 1: table name, 2: error message, */
    84                                         printf( __( 'Failed to optimize the $table table. Error: $check->Msg_text' ), $table,"<code>$check->Msg_text</code>" );
     84                                        printf( __( 'Failed to optimize the %1$s table. Error: %2$s' ), $table, "<code>$check->Msg_text</code>" );
    8585                                }
    8686                        }
    8787                }