[wp-trac] [WordPress Trac] #42140: Incorrect use of plural in class-wp-customize-themes-section.php

WordPress Trac noreply at wordpress.org
Sun Oct 8 08:42:02 UTC 2017


#42140: Incorrect use of plural in class-wp-customize-themes-section.php
--------------------------------------+------------------------------
 Reporter:  tobifjellner              |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Themes                    |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  2nd-opinion dev-feedback  |     Focuses:
--------------------------------------+------------------------------

Comment (by tobifjellner):

 If the number really can be only 0 (zero), then the straightforward
 solution is to simply use a string with the number 0 explicitly given in
 the string.
 However, if this value can be changed anywhere, then account should be
 made that many languages have several different plural forms, depending on
 the specific count.
 Alternative approach, less nice, but workable:
 {{{Number of themes:}}} followed by the number.

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


More information about the wp-trac mailing list