Changeset 45932 for trunk/src/wp-admin/maint/repair.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/maint/repair.php
r45926 r45932 64 64 echo '<h2 class="screen-reader-text">' . __( 'Check secret keys' ) . '</h2>'; 65 65 66 /* translators: 1: wp-config.php, 2: secret key service URL*/66 /* translators: 1: wp-config.php, 2: Secret key service URL. */ 67 67 echo '<p>' . sprintf( __( 'While you are editing your %1$s file, take a moment to make sure you have all 8 keys and that they are unique. You can generate these using the <a href="%2$s">WordPress.org secret key service</a>.' ), '<code>wp-config.php</code>', 'https://api.wordpress.org/secret-key/1.1/salt/' ) . '</p>'; 68 68 } … … 98 98 echo '<p>'; 99 99 if ( 'OK' == $check->Msg_text ) { 100 /* translators: %s: table name*/100 /* translators: %s: Table name. */ 101 101 printf( __( 'The %s table is okay.' ), "<code>$table</code>" ); 102 102 } else { 103 /* translators: 1: table name, 2: error message,*/103 /* translators: 1: Table name, 2: Error message. */ 104 104 printf( __( 'The %1$s table is not okay. It is reporting the following error: %2$s. WordPress will attempt to repair this table…' ), "<code>$table</code>", "<code>$check->Msg_text</code>" ); 105 105 … … 108 108 echo '<br /> '; 109 109 if ( 'OK' == $check->Msg_text ) { 110 /* translators: %s: table name*/110 /* translators: %s: Table name. */ 111 111 printf( __( 'Successfully repaired the %s table.' ), "<code>$table</code>" ); 112 112 } else { 113 /* translators: 1: table name, 2: error message,*/113 /* translators: 1: Table name, 2: Error message. */ 114 114 echo sprintf( __( 'Failed to repair the %1$s table. Error: %2$s' ), "<code>$table</code>", "<code>$check->Msg_text</code>" ) . '<br />'; 115 115 $problems[ $table ] = $check->Msg_text; … … 123 123 echo '<br /> '; 124 124 if ( 'Table is already up to date' == $check->Msg_text ) { 125 /* translators: %s: table name*/125 /* translators: %s: Table name. */ 126 126 printf( __( 'The %s table is already optimized.' ), "<code>$table</code>" ); 127 127 } else { … … 130 130 echo '<br /> '; 131 131 if ( 'OK' == $check->Msg_text || 'Table is already up to date' == $check->Msg_text ) { 132 /* translators: %s: table name*/132 /* translators: %s: Table name. */ 133 133 printf( __( 'Successfully optimized the %s table.' ), "<code>$table</code>" ); 134 134 } else { 135 /* translators: 1: table name, 2: error message,*/135 /* translators: 1: Table name. 2: Error message. */ 136 136 printf( __( 'Failed to optimize the %1$s table. Error: %2$s' ), "<code>$table</code>", "<code>$check->Msg_text</code>" ); 137 137 } … … 143 143 if ( $problems ) { 144 144 printf( 145 /* translators: %s: URL to "Fixing WordPress" forum */145 /* translators: %s: URL to "Fixing WordPress" forum. */ 146 146 '<p>' . __( 'Some database problems could not be repaired. Please copy-and-paste the following list of errors to the <a href="%s">WordPress support forums</a> to get additional assistance.' ) . '</p>', 147 147 __( 'https://wordpress.org/support/forum/how-to-and-troubleshooting' )
Note: See TracChangeset
for help on using the changeset viewer.