[wp-trac] [WordPress Trac] #47271: i18n: Avoid using HTML tags in translation strings (wp-includes/customize/class-wp-customize-theme-control.php)

WordPress Trac noreply at wordpress.org
Tue May 14 20:40:12 UTC 2019


#47271: i18n: Avoid using HTML tags in translation strings (wp-includes/customize
/class-wp-customize-theme-control.php)
---------------------------------------+------------------------------
 Reporter:  ramiy                      |       Owner:  SergeyBiryukov
     Type:  defect (bug)               |      Status:  assigned
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Customize                  |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  administration
---------------------------------------+------------------------------
Changes (by ramiy):

 * keywords:   => has-screenshots has-patch


Comment:

 Simpler string to translate in RTL languages where LTR code is making it
 hard to translate RTL letters.

 The is an unwritten convention implemented all over the code. It should be
 implemented in this string too.

 Also, in this case (`<span>Previewing:</span> %s`), translators can't
 really translate the HTML and the placeholder.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47271#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list