[wp-trac] [WordPress Trac] #51893: Don’t split translatable strings in block templates

WordPress Trac noreply at wordpress.org
Sun Nov 29 15:25:56 UTC 2020


#51893: Don’t split translatable strings in block templates
-----------------------------------+---------------------
 Reporter:  tobifjellner           |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  5.6
Component:  Editor                 |     Version:  5.5
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch i18n-change  |     Focuses:
-----------------------------------+---------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 audrasjb]:
 > By the way, the above patch keeps the current markup. The string
 becomes:
 > {{{
 > <strong>Thou hast seen</strong><br><strong>nothing yet</strong>
 > }}}

 Is there a difference in display between that and `__( 'Thou hast seen<br>
 nothing yet' )`, with the `<strong>` tags outside of the string? I'd like
 to keep the string as simple as possible :)

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


More information about the wp-trac mailing list