[wp-trac] [WordPress Trac] #9548: Translate strings in comment template functions by default

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 16 18:01:03 GMT 2009


#9548: Translate strings in comment template functions by default
--------------------------+-------------------------------------------------
 Reporter:  nbachiyski    |       Owner:  nbachiyski
     Type:  defect (bug)  |      Status:  new       
 Priority:  lowest        |   Milestone:  2.8       
Component:  i18n          |     Version:            
 Severity:  minor         |    Keywords:  has-patch 
--------------------------+-------------------------------------------------
 Several functions like {{{comment_type()}}} have as default values of
 there label arguments the strings in English. That way the theme author
 has to call the function with the translated strings.

 Instead, we can use {{{false}}} as default values and use the translated
 strings if no other value was given.

 Patch attached.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9548>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list