[wp-trac] [WordPress Trac] #20782: Translator context needed on a Customize.php string

WordPress Trac wp-trac at lists.automattic.com
Tue May 29 23:04:58 UTC 2012


#20782: Translator context needed on a Customize.php string
-------------------------+-----------------------------
 Reporter:  xibe         |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  3.4
 Severity:  trivial      |   Keywords:
-------------------------+-----------------------------
 In the file /trunk/wp-admin/customize.php, line 72:

 {{{
 <span class="preview-notice"><?php _e('You are previewing'); ?></span>
 <strong class="theme-name"><?php echo
 $wp_customize->theme()->display('Name'); ?></strong>
 }}}

 The line "You are previewing" doesn't convey the fact that it is going to
 be followed by the theme's name; hence translators might miss a word (I
 almost did, had I not looked at the code).

 I'd suggest either including the name within the string (as %s; better for
 RTL languages?), or adding a line of context.

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


More information about the wp-trac mailing list