mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-20 19:24:32 +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:
@@ -24,10 +24,10 @@ function confirm_delete_users( $users ) {
|
||||
?>
|
||||
<h2><?php esc_html_e( 'Users' ); ?></h2>
|
||||
|
||||
<?php if ( count( $users ) > 1 ) : ?>
|
||||
<p><?php _e( 'You have chosen to delete the following users from all networks and sites.' ); ?></p>
|
||||
<?php else : ?>
|
||||
<?php if ( 1 == count( $users ) ) : ?>
|
||||
<p><?php _e( 'You have chosen to delete the user from all networks and sites.' ); ?></p>
|
||||
<?php else : ?>
|
||||
<p><?php _e( 'You have chosen to delete the following users from all networks and sites.' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<form action="users.php?action=dodelete" method="post">
|
||||
@@ -103,10 +103,10 @@ function confirm_delete_users( $users ) {
|
||||
/** This action is documented in wp-admin/users.php */
|
||||
do_action( 'delete_user_form', $current_user );
|
||||
|
||||
if ( count( $users ) > 1 ) : ?>
|
||||
<p><?php _e( 'Once you hit “Confirm Deletion”, these users will be permanently removed.' ); ?></p>
|
||||
<?php else : ?>
|
||||
if ( 1 == count( $users ) ) : ?>
|
||||
<p><?php _e( 'Once you hit “Confirm Deletion”, the user will be permanently removed.' ); ?></p>
|
||||
<?php else : ?>
|
||||
<p><?php _e( 'Once you hit “Confirm Deletion”, these users will be permanently removed.' ); ?></p>
|
||||
<?php endif;
|
||||
|
||||
submit_button( __('Confirm Deletion'), 'delete' );
|
||||
|
||||
Reference in New Issue
Block a user