[wp-trac] [WordPress Trac] #48244: script-loader.php Need to use _n() when more than one results are found

WordPress Trac noreply at wordpress.org
Sun Feb 18 22:14:19 UTC 2024


#48244: script-loader.php Need to use _n() when more than one results are found
------------------------------+-----------------------------
 Reporter:  tobifjellner      |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.5
Component:  Script Loader     |     Version:  4.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-----------------------------
Changes (by peterwilsoncc):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57654" 57654]:
 {{{
 #!CommitTicketReference repository="" revision="57654"
 Script Loader: Switch to JavaScript translations.

 Update JavaScript files for tag suggestions and the TinyMCE link plugin to
 use client side translations. This allows for `_n()` to be used for
 strings requiring singular and plural versions in which the correct form
 is only known client side.

 Props audrasjb, chaion07, costdev, hellofromtonya, johnbillion, marybaum,
 nicolefurlan, oglekler, rebasaurus, rsiddharth, sergeybiryukov, shaampk1,
 shahariaazam, swissspidy, tobifjellner.
 Fixes #48244.
 }}}

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


More information about the wp-trac mailing list