[wp-trac] [WordPress Trac] #28502: 'User deleted' message needs context

WordPress Trac noreply at wordpress.org
Thu Dec 18 16:08:24 UTC 2014


#28502: 'User deleted' message needs context
--------------------------+----------------------------------------
 Reporter:  extendwings   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  I18N          |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:  administration, multisite
--------------------------+----------------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 SergeyBiryukov]:
 > We have quite a few instances in core where singular and plural forms
 are different:
 > {{{
 > $message = sprintf( _n( 'User deleted.', '%s users deleted.',
 $delete_count ), number_format_i18n( $delete_count ) );
 > }}}
 > This doesn't seem like a valid use of `_n()`.

 See also #meta764 for a similar issue in the plugin repository (already
 resolved).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28502#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list