[wp-trac] [WordPress Trac] #41643: i18n: Use %s placeholders in rest api translation strings

WordPress Trac noreply at wordpress.org
Tue Aug 15 14:03:21 UTC 2017


#41643: i18n: Use %s placeholders in rest api translation strings
--------------------------+------------------------------
 Reporter:  ramiy         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Text Changes  |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by ramiy):

 The translators should not have access to code like `force=true`, they can
 accidentally change some characters.

 When using code in translation strings we should always use `%s`
 placeholders.

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


More information about the wp-trac mailing list