diff --git a/src/wp-admin/includes/network.php b/src/wp-admin/includes/network.php index dddc925272..7f30c99d07 100644 --- a/src/wp-admin/includes/network.php +++ b/src/wp-admin/includes/network.php @@ -159,17 +159,38 @@ function network_step1( $errors = false ) { $subdomain_install = true; } else { $subdomain_install = false; - if ( $got_mod_rewrite = got_mod_rewrite() ) // dangerous assumptions - echo '
' . __( 'Note:' ) . ' ' . __( 'Please make sure the Apache mod_rewrite
module is installed as it will be used at the end of this installation.' ) . '
' . __( 'Warning!' ) . ' ' . __( 'It looks like the Apache mod_rewrite
module is not installed.' ) . '
' . __( 'If mod_rewrite
is disabled, ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up.' ) . '
' . __( 'Note:' ) . ' ';
+ /* translators: %s: mod_rewrite */
+ printf( __( 'Please make sure the Apache %s module is installed as it will be used at the end of this installation.' ),
+ 'mod_rewrite
'
+ );
+ echo '
' . __( 'Warning!' ) . ' ';
+ /* translators: %s: mod_rewrite */
+ printf( __( 'It looks like the Apache %s module is not installed.' ),
+ 'mod_rewrite
'
+ );
+ echo '
';
+ /* translators: 1: mod_rewrite, 2: mod_rewrite documentation URL, 3: Google search for mod_rewrite */
+ printf( __( 'If %1$s is disabled, ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up.' ),
+ 'mod_rewrite
',
+ 'http://httpd.apache.org/docs/mod/mod_rewrite.html',
+ 'http://www.google.com/search?q=apache+mod_rewrite'
+ );
+ echo '
You cannot change this later.' ); ?>
++
localhost, the sites in your WordPress network must use sub-directories. Consider using localhost.localdomain if you wish to use sub-domains.' );
+ printf(
+ /* translators: 1: localhost 2: localhost.localdomain */
+ __( 'Because you are using %1$s, the sites in your WordPress network must use sub-directories. Consider using %2$s if you wish to use sub-domains.' ),
+ 'localhost ',
+ 'localhost.localdomain '
+ );
// Uh oh:
if ( !allow_subdirectory_install() )
echo ' ' . __( 'Warning!' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '';
|