[wp-trac] [WordPress Trac] #20188: _n_noop() does not accept a textdomain

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 7 03:24:25 UTC 2012


#20188: _n_noop() does not accept a textdomain
-------------------------+-------------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  I18N         |     Version:
 Severity:  normal       |  Resolution:  maybelater
 Keywords:               |
-------------------------+-------------------------
Changes (by nacin):

 * status:  new => closed
 * type:  defect (bug) => enhancement
 * resolution:   => maybelater
 * milestone:  Awaiting Review =>


Comment:

 It actually doesn't need it.

 makepot does not use textdomains when scanning a file for strings. (It may
 in the future as an enhancement, to allow us to do things like move all
 multisite strings to their own pot, even if they exist in a regular core
 file.) The only job of _n_noop() is to get the string into the POT file.
 After that, translate_nooped_plural() is used to translate a string
 according to the textdomain.

 We can consider this one an enhancement + maybelater, I think.

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


More information about the wp-trac mailing list