[wpmu-trac] [WordPress MU Trac] #498: __('Just another ' . $current_site->site_name . ' weblog') problematic in translation

WordPress MU Trac wpmu-trac at lists.automattic.com
Sun Nov 11 16:22:46 GMT 2007


#498: __('Just another ' . $current_site->site_name . ' weblog') problematic in
translation
------------------------+---------------------------------------------------
 Reporter:  huni        |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  WPMU 1.0   
Component:  component1  |     Version:  1.0        
 Severity:  normal      |    Keywords:  translation
------------------------+---------------------------------------------------
 in wp-admin/includes/schema.php;

 When searching with poedit in php files, it will come up with two fields:

  * 'Just another '
  * ' weblog'

 But since the variable replacement will be done before gettext, wordpress
 asks for the text 'Just another ''somesite'' weblog' from the translation
 file, and no match will return.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/498>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list