[wp-trac] [WordPress Trac] #15920: List table screens in network admin break if no item is selected for bulk actions

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 24 16:48:29 UTC 2010


#15920: List table screens in network admin break if no item is selected for bulk
actions
-------------------------------------+-----------------------
 Reporter:  PeteMall                 |       Owner:  PeteMall
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  3.1
Component:  General                  |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 Replying to [comment:14 nacin]:
 > According to the gnu gettext manual, that should be handled by a proper
 Plural-Forms header in your PO file. Thus, 'Item deleted' or 'One item
 deleted' is fine, as it handles the singular case, and you are then given
 as many plural forms as you need based on the logic in the Plural-Forms
 header.

 I've been using the header from that same manual:
 {{{
 Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11) ? 0 : ((n%10>=2 &&
 n%10<=4 && (n%100<10 || n%100>=20)) ? 1 : 2);
 }}}
 Perhaps it can be modified to handle this. Thanks for the hint!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15920#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list