[wp-trac] Re: [WordPress Trac] #3089: Localized values for plugin metadata

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 24 20:21:43 GMT 2008


#3089: Localized values for plugin metadata
-------------------------------------+--------------------------------------
 Reporter:  nbachiyski               |        Owner:  ryan
     Type:  enhancement              |       Status:  new 
 Priority:  normal                   |    Milestone:  2.5 
Component:  i18n                     |      Version:      
 Severity:  normal                   |   Resolution:      
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by ryan):

 {{{
 __($description[1], $text_domain);
 }}}

 You can't pass variables to __().  Only literal strings.  The plugin has
 to call __() with literal strings for those strings to show up in the po
 file and thus end up in the mo file.  With this method, we're loading a mo
 file that won't have the necessary strings in it.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3089#comment:17>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list