[wp-trac] [WordPress Trac] #47655: Consolidate broken up strings for better localization

WordPress Trac noreply at wordpress.org
Fri Jul 5 23:25:02 UTC 2019


#47655: Consolidate broken up strings for better localization
-----------------------------+------------------------------
 Reporter:  garrett-eclipse  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  I18N             |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:1 SergeyBiryukov]:
 > ` __( '<a href="%s">Learn more about updating PHP</a>.' )` is used in a
 few other places in core, I don't see a strong reason to duplicate it as
 part of a larger string.

 For some more context, reusable strings like this one were previously
 moved out of the larger strings to avoid duplicating translations, see
 #35746 or #38880 for example.

 The change suggested in this ticket seems to go the opposite direction.

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


More information about the wp-trac mailing list