[wp-trac] Re: [WordPress Trac] #9112: Use gettext's contexts and extracted comments instead of our pipe syntax

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 16 15:27:26 GMT 2009


#9112: Use gettext's contexts and extracted comments instead of our pipe syntax
-------------------------+--------------------------------------------------
 Reporter:  nbachiyski   |       Owner:  nbachiyski
     Type:  enhancement  |      Status:  new       
 Priority:  normal       |   Milestone:  2.8       
Component:  i18n         |     Version:  2.7       
 Severity:  minor        |    Keywords:  has-patch 
-------------------------+--------------------------------------------------
Changes (by nbachiyski):

  * keywords:  => has-patch


Comment:

 Here is a patch, which switches from current php-gettext to the !GlotPress
 one. It expects the new library files to be in {{{wp-includes/pomo}}}. In
 the beginning we can add it as an external and then we can trim it just to
 the needed files.

 {{{wp-includes/gettext.php}}} and {{{wp-includes/streams.php}}} aren't
 needed any more.

 I named the new context functions {{{_x}}} and {{{_nx}}}. It resembles
 conte'''X'''t.

 Note: the patch includes the deprecation part from #9111.

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


More information about the wp-trac mailing list