http://wordpress.org/support/ then copy and paste the following information into your message:'); ?>
+ .htaccess with the following:'); ?>
@@ -105,29 +107,27 @@ function step1() {
- - Access to your server to change directory permissions. This can be done through ssh or ftp for example.
- - A valid email where your password and administrative emails will be sent.
- - Wildcard dns records if you're going to use the virtual host (sub-domain) functionality. Check the README for further details.
+
+
+ - README for further details."); ?>
If the mod_rewrite
module is disabled ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up.";
+ $mod_rewrite_msg = "\n" . __( "If the mod_rewrite
module is disabled ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up." ) . '
';
- if( function_exists( "apache_get_modules" ) ) {
+ if ( function_exists( 'apache_get_modules' ) ) {
$modules = apache_get_modules();
- if( in_array( "mod_rewrite", $modules ) == false ) {
- echo "Warning! It looks like mod_rewrite is not installed.
" . $mod_rewrite_msg;
- } else {
+ if ( ! in_array( 'mod_rewrite', $modules ) )
+ echo '' . __('Warning! It looks like mod_rewrite is not installed.') . '
' . $mod_rewrite_msg;
+ else
$rewrite_enabled = true;
- }
} else {
- ?>Please make sure mod_rewrite
is installed as it will be activated at the end of this install.
' . __( 'Please make sure mod_rewrite
is installed as it will be activated at the end of this install.' ) . '' . $mod_rewrite_msg;
}
return $rewrite_enabled;
}
function printstep1form( $rewrite_enabled = false ) {
- $weblog_title = ucfirst( get_option( 'blogname' ) ) . ' Sites';
+ $weblog_title = sprintf( __('%s Sites'), ucfirst( get_option( 'blogname' ) ) );
$email = get_option( 'admin_email' );
$hostname = get_clean_basedomain();
if( substr( $hostname, 0, 4 ) == 'www.' )
@@ -136,58 +136,58 @@ function printstep1form( $rewrite_enabled = false ) {
wp_nonce_field( 'install-network-1' );
?>
- Site Addresses
- Please choose whether you would like sites in your WordPress install to use sub-domains or sub-directories. You can not change this later.
+
+
- Note It looks like mod_rewrite
is not installed.
+ Note It looks like mod_rewrite
is not installed.'); ?>
-
-
+
+
- Server Address
+
- We recommend you change your siteurl to
before enabling the network feature. It will still be possible to visit your site using the "www" prefix with an address like
but any links will not have the "www" prefix.
+ %1$s before enabling the network feature. It will still be possible to visit your site using the "www" prefix with an address like %2$s
but any links will not have the "www" prefix.' ), $nowww, $hostname ); ?>
- Site Details
+
-
+ ' />
- Enabling WordPress Sites
- Complete the following steps to enable the features for creating a network of sites. Note: We recommend you make a backup copy of your existing wp-config.php
and .htaccess
files.
+
+ Note: We recommend you make a backup copy of your existing wp-config.php
and .htaccess
files.' ); ?>
- - Create a
blogs.dir
directory in your wp-content
directory. This directory is used to stored uploaded media for your additional sites and must be writeable by the web server.
+ - blogs.dir directory in your
wp-content
directory. This directory is used to stored uploaded media for your additional sites and must be writeable by the web server.' ); ?>
@@ -202,11 +202,11 @@ function step2_config() {
$config_sample = ABSPATH . 'wp-admin/includes/wp-config.ms';
if ( !file_exists( $config_sample ) )
- wp_die("Sorry, I need a {$config_sample} to work from. Please re-upload this file to your WordPress installation.");
+ wp_die( sprintf( __( 'Sorry, I need a %s
to work from. Please re-upload this file to your WordPress installation.' ), $config_sample ) );
$wp_config_file = file( $config_sample );
?>
-