I18N: Move the "Caution:" prefix to a separate string in wp-admin/includes/network.php
.
Props ramiy. Fixes #35674. git-svn-id: https://develop.svn.wordpress.org/trunk@36690 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d80ef26b48
commit
12645e6f75
@ -376,23 +376,26 @@ function network_step2( $errors = false ) {
|
||||
<p><?php _e( 'Complete the following steps to enable the features for creating a network of sites.' ); ?></p>
|
||||
<div class="updated inline"><p><?php
|
||||
if ( file_exists( $home_path . '.htaccess' ) ) {
|
||||
echo '<strong>' . __( 'Caution:' ) . '</strong> ';
|
||||
printf(
|
||||
/* translators: 1: wp-config.php 2: .htaccess */
|
||||
__( '<strong>Caution:</strong> We recommend you back up your existing %1$s and %2$s files.' ),
|
||||
__( 'We recommend you back up your existing %1$s and %2$s files.' ),
|
||||
'<code>wp-config.php</code>',
|
||||
'<code>.htaccess</code>'
|
||||
);
|
||||
} elseif ( file_exists( $home_path . 'web.config' ) ) {
|
||||
echo '<strong>' . __( 'Caution:' ) . '</strong> ';
|
||||
printf(
|
||||
/* translators: 1: wp-config.php 2: web.config */
|
||||
__( '<strong>Caution:</strong> We recommend you back up your existing %1$s and %2$s files.' ),
|
||||
__( 'We recommend you back up your existing %1$s and %2$s files.' ),
|
||||
'<code>wp-config.php</code>',
|
||||
'<code>web.config</code>'
|
||||
);
|
||||
} else {
|
||||
echo '<strong>' . __( 'Caution:' ) . '</strong> ';
|
||||
printf(
|
||||
/* translators: 1: wp-config.php */
|
||||
__( '<strong>Caution:</strong> We recommend you back up your existing %s file.' ),
|
||||
__( 'We recommend you back up your existing %s file.' ),
|
||||
'<code>wp-config.php</code>'
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user