[wp-trac] [WordPress Trac] #10738: Add New strings need a context, so that they can be different for each menu

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 6 19:38:10 UTC 2009


#10738: Add New strings need a context, so that they can be different for each menu
--------------------------+-------------------------------------------------
 Reporter:  nbachiyski    |       Owner:  nbachiyski
     Type:  defect (bug)  |      Status:  new       
 Priority:  low           |   Milestone:  2.9       
Component:  i18n          |     Version:            
 Severity:  normal        |    Keywords:  has-patch 
--------------------------+-------------------------------------------------
 Currently all Add New strings in the menus are the same string for
 translation. In many languages they should be translated differently.

 The patch adds context to the gettext function calls and adds a new
 function {{{esc_html_x()}}}, which both supports context and escapes the
 content.

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


More information about the wp-trac mailing list