mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Decouple strings where the singular and plural form are not just the same string with different numbers, but essentially two different strings.
This allows for using proper plural forms in languages with more than two forms, and also resolves string conflicts when the same string is present in both singular and plural form. fixes #28502. git-svn-id: https://develop.svn.wordpress.org/trunk@31941 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -413,8 +413,16 @@ define('BLOG_ID_CURRENT_SITE', 1);
|
||||
}
|
||||
$num_keys_salts = count( $keys_salts );
|
||||
?>
|
||||
<p><?php
|
||||
echo _n( 'This unique authentication key is also missing from your <code>wp-config.php</code> file.', 'These unique authentication keys are also missing from your <code>wp-config.php</code> file.', $num_keys_salts ); ?> <?php _e( 'To make your installation more secure, you should also add:' ) ?></p>
|
||||
<p>
|
||||
<?php
|
||||
if ( 1 == $num_keys_salts ) {
|
||||
_e( 'This unique authentication key is also missing from your <code>wp-config.php</code> file.' );
|
||||
} else {
|
||||
_e( 'These unique authentication keys are also missing from your <code>wp-config.php</code> file.' );
|
||||
}
|
||||
?>
|
||||
<?php _e( 'To make your installation more secure, you should also add:' ); ?>
|
||||
</p>
|
||||
<textarea class="code" readonly="readonly" cols="100" rows="<?php echo $num_keys_salts; ?>"><?php echo esc_textarea( $keys_salts_str ); ?></textarea>
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user