[glotpress-updates] [GlotPress] #427: Prevent erroneous missing placeholder notices

GlotPress noreply at wordpress.org
Mon Mar 30 11:08:56 UTC 2015


#427: Prevent erroneous missing placeholder notices
------------------------------------+-----------------------------
 Reporter:  joostdevalk             |      Owner:
     Type:  defect                  |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  interface               |    Version:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------------
 Placeholder notices are dismissed somewhat too often, the reason those
 notices are dismissed too quickly is because the warning is also show when
 `%s` is has no space before/after it and those notices are thus thrown far
 too often.

 For example: `This string has %stwo variables%s.` This string will cause a
 warning when (correctly) translated to `Deze string heeft %stwee
 variabelen%s.`

 The fix is simple: improve the regex that checks for these, so we don't
 throw the notice when it's not needed.

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/427>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list