[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 21:01:32 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: | Focuses: administration
--------------------------+-----------------------------
Changes (by johnbillion):
* owner: => johnbillion
* status: new => assigned
Comment:
The problem here is that the theme install screen is doing a direct AJAX
call to `api.wordpress.org`. If we changed this to a local AJAX call which
done a server-side request to `api.wordpress.org` we could post-process
the data and use `_n()` to populate a string with the complete correctly
pluralised phrase.
I'll knock up a patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27581#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list