Make WordPress Core


Ignore:
Timestamp:
03/22/2010 06:51:49 AM (14 years ago)
Author:
nbachiyski
Message:

Wrap transtable strings used in Network install in WP_I18N_SOMETHING, because translations still aren't loaded. Fixes #12357

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-settings.php

    r13725 r13797  
    1212// $base sanity check.
    1313if ( 'BASE' == $base )
    14     die( 'Configuration error in <code>wp-config.php</code>. <code>$base</code> is set to "BASE" when it should be the path like "/" or "/blogs/".' );
     14    die( /*WP_I18N_BASE_ERROR*/'Configuration error in <code>wp-config.php</code>. <code>$base</code> is set to "BASE" when it should be the path like "/" or "/blogs/".'/*/WP_I18N_BASE_ERROR*/ );
    1515
    1616/** Include Multisite initialization functions */
     
    3232            $_SERVER['HTTP_HOST'] = substr( $_SERVER['HTTP_HOST'], 0, -4 );
    3333        } else {
    34             wp_die( 'Multisite only works without the port number in the URL.' );
     34            wp_die( /*WP_I18N_NO_PORT_NUMBER*/'Multisite only works without the port number in the URL.'/*/WP_I18N_NO_PORT_NUMBER*/ );
    3535        }
    3636    }
     
    114114            $current_blog->blog_id = $blog_id = 1;
    115115        } else {
    116             $msg = ! $wpdb->get_var( "SHOW TABLES LIKE '$wpdb->site'" ) ? ' ' . __( 'Database tables are missing.' ) : '';
    117             wp_die( 'No blog by that name on this system.' . $msg );
     116            $msg = ! $wpdb->get_var( "SHOW TABLES LIKE '$wpdb->site'" ) ? ' ' . /*WP_I18N_TABLES_MISSING*/'Database tables are missing.'/*/WP_I18N_TABLES_MISSING*/ : '';
     117            wp_die( /*WP_I18N_NO_BLOG*/'No blog by that name on this system.'/*/WP_I18N_NO_BLOG*/ . $msg );
    118118        }
    119119    }
     
    128128// Define upload directory constants
    129129ms_upload_constants();
    130 
    131 ?>
Note: See TracChangeset for help on using the changeset viewer.