[wp-trac] [WordPress Trac] #27581: Plural form instead of singular for 'Based on %s ratings' in theme-install.php

WordPress Trac noreply at wordpress.org
Wed Apr 2 22:28:33 UTC 2014


#27581: Plural form instead of singular for 'Based on %s ratings' in theme-
install.php
--------------------------+-----------------------------
 Reporter:  kenan3008     |       Owner:  johnbillion
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  3.9
Component:  I18N          |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------

Comment (by johnbillion):

 The phrase containing `num_ratings` needs to pass through `_n()` in order
 to correctly pluralise it, which means the result of the call to
 `api.wordpress.org` needs to go through WordPress one way or another.

 Another option would be to add a language parameter to the API call and
 get the API to return our localised string for us, but that doesn't sound
 like a good idea.

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


More information about the wp-trac mailing list