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

WordPress Trac noreply at wordpress.org
Fri Aug 18 00:06:23 UTC 2017


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

Comment (by ramiy):

 The patch also adds a period at the end of the sentence and it has a small
 text change to match the other string.


 Old translation strings:

 * `The register_routes() method must be overridden`
 * `Method '%s' not implemented. Must be overridden in subclass.`

 New translation strings:

 * `Method %s must be overridden.`
 * `Method %s not implemented. Must be overridden in subclass.`

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


More information about the wp-trac mailing list