[wp-trac] [WordPress Trac] #13024: Don't mark internal post status strings for translation

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 15 19:47:50 UTC 2010


#13024: Don't mark internal post status strings for translation
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:  nbachiyski
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  3.0       
Component:  i18n          |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 {{{
         register_post_status( 'auto-draft', array(      'label' => _x
 ('Auto-Draft', 'post'),
 'internal' => true,
 '_builtin' => true, /* internal use only. */
 'label_count' => _n_noop('Auto-Draft <span class="count">(%s)</span>',
 'Auto-Drafts <span class="count">(%s)</span>')
 ) );

         register_post_status( 'inherit', array( 'label' => _x('Inherit',
 'post'),
 'internal' => true,
 '_builtin' => true, /* internal use only. */
 'label_count' => _n_noop('Inherit <span class="count">(%s)</span>',
 'Inherit <span class="count">(%s)</span>')
 ) );
 }}}

 Some translators have asked how to deal with these. Since they never
 appear in the UI, perhaps we should remove the gettext and just use the
 status id for the labels ('inherit' and 'auto-draft').

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


More information about the wp-trac mailing list