[wp-trac] [WordPress Trac] #54358: Add URL Details endpoint from Gutenberg plugin into Core

WordPress Trac noreply at wordpress.org
Tue Nov 2 12:50:58 UTC 2021


#54358: Add URL Details endpoint from Gutenberg plugin into Core
---------------------------------------------+-----------------------------
 Reporter:  hellofromTonya                   |       Owner:  hellofromTonya
     Type:  task (blessed)                   |      Status:  closed
 Priority:  normal                           |   Milestone:  5.9
Component:  Editor                           |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  rest-api
---------------------------------------------+-----------------------------

Comment (by swissspidy):

 The translatable strings added in [51973] should use sprintf with
 placeholders instead of containg HTML tags correctly.

 e.g. `The OG image link of the <meta property="og:image"> or <meta
 property="og:image:url"> element from the URL.` should really be `The OG
 image link of the %1$s or %2$s element from the URL.`. The placeholders
 can be explained in a translators comment.

 Also, translators don't necessarily know what "OG" is. Maybe use "Open
 Graph image link" instead of "OG image link", or just "image link"?

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


More information about the wp-trac mailing list