Changeset 19760 for trunk/wp-includes/functions.php
- Timestamp:
- 01/26/2012 08:34:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r19712 r19760 1202 1202 // One or more tables exist. We are insane. 1203 1203 1204 wp_load_translations_early(); 1205 1204 1206 // Die with a DB error. 1205 $wpdb->error = sprintf( /*WP_I18N_NO_TABLES*/'One or more database tables are unavailable. The database may need to be <a href="%s">repaired</a>.'/*/WP_I18N_NO_TABLES*/, 'maint/repair.php?referrer=is_blog_installed' );1207 $wpdb->error = sprintf( __( 'One or more database tables are unavailable. The database may need to be <a href="%s">repaired</a>.' ), 'maint/repair.php?referrer=is_blog_installed' ); 1206 1208 dead_db(); 1207 1209 } … … 2648 2650 nocache_headers(); 2649 2651 header( 'Content-Type: text/html; charset=utf-8' ); 2652 2653 wp_load_translations_early(); 2650 2654 ?> 2651 2655 <!DOCTYPE html> … … 2653 2657 <head> 2654 2658 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 2655 <title><?php echo /*WP_I18N_DB_ERROR*/'Database Error'/*/WP_I18N_DB_ERROR*/; ?></title>2659 <title><?php _e( 'Database Error' ); ?></title> 2656 2660 2657 2661 </head> 2658 2662 <body> 2659 <h1><?php echo /*WP_I18N_DB_CONNECTION_ERROR*/'Error establishing a database connection'/*/WP_I18N_DB_CONNECTION_ERROR*/; ?></h1>2663 <h1><?php _e( 'Error establishing a database connection' ); ?></h1> 2660 2664 </body> 2661 2665 </html>
Note: See TracChangeset
for help on using the changeset viewer.