Make WordPress Core

Ticket #34579: 34579.patch

File 34579.patch, 3.0 KB (added by ramiy, 11 years ago)
  • wp-admin/setup-config.php

     
    139139        <li><?php _e( 'Table prefix (if you want to run more than one WordPress in a single database)' ); ?></li>
    140140</ol>
    141141<p>
    142         <?php _e( 'We&#8217;re going to use this information to create a <code>wp-config.php</code> file.' ); ?>
    143         <strong><?php _e( "If for any reason this automatic file creation doesn&#8217;t work, don&#8217;t worry. All this does is fill in the database information to a configuration file. You may also simply open <code>wp-config-sample.php</code> in a text editor, fill in your information, and save it as <code>wp-config.php</code>." ); ?></strong>
    144         <?php _e( "Need more help? <a href='https://codex.wordpress.org/Editing_wp-config.php'>We got it</a>." ); ?>
     142        <?php printf( __( 'We&#8217;re going to use this information to create a %s file.' ), '<code>wp-config.php</code>' ); ?>
     143        <strong><?php printf( __( "If for any reason this automatic file creation doesn&#8217;t work, don&#8217;t worry. All this does is fill in the database information to a configuration file. You may also simply open %1$s in a text editor, fill in your information, and save it as %2$s." ), '<code>wp-config-sample.php</code>', '<code>wp-config.php</code>' ); ?></strong>
     144        <?php printf( __( "Need more help? <a href='%s'>We got it</a>." ), __( 'https://codex.wordpress.org/Editing_wp-config.php' ) ); ?>
    145145</p>
    146146<p><?php _e( "In all likelihood, these items were supplied to you by your Web Host. If you don&#8217;t have this information, then you will need to contact them before you can continue. If you&#8217;re all ready&hellip;" ); ?></p>
    147147
    … …  
    176176                <tr>
    177177                        <th scope="row"><label for="dbhost"><?php _e( 'Database Host' ); ?></label></th>
    178178                        <td><input name="dbhost" id="dbhost" type="text" size="25" value="localhost" /></td>
    179                         <td><?php _e( 'You should be able to get this info from your web host, if <code>localhost</code> doesn&#8217;t work.' ); ?></td>
     179                        <td><?php printf( __( 'You should be able to get this info from your web host, if %s doesn&#8217;t work.' ), '<code>localhost</code>' ); ?></td>
    180180                </tr>
    181181                <tr>
    182182                        <th scope="row"><label for="prefix"><?php _e( 'Table Prefix' ); ?></label></th>
    … …  
    307307        if ( ! is_writable(ABSPATH) ) :
    308308                setup_config_display_header();
    309309?>
    310 <p><?php _e( "Sorry, but I can&#8217;t write the <code>wp-config.php</code> file." ); ?></p>
    311 <p><?php _e( 'You can create the <code>wp-config.php</code> manually and paste the following text into it.' ); ?></p>
     310<p><?php printf( __( "Sorry, but I can&#8217;t write the %s file." ), '<code>wp-config.php</code>' ); ?></p>
     311<p><?php printf( __( 'You can create the %s manually and paste the following text into it.' ), '<code>wp-config.php</code>' ); ?></p>
    312312<textarea id="wp-config" cols="98" rows="15" class="code" readonly="readonly"><?php
    313313                foreach ( $config_file as $line ) {
    314314                        echo htmlentities($line, ENT_COMPAT, 'UTF-8');