[wp-trac] [WordPress Trac] #29480: Remove leading newlines from translatable strings

WordPress Trac noreply at wordpress.org
Wed Sep 3 00:18:11 UTC 2014


#29480: Remove leading newlines from translatable strings
----------------------------+----------------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Future Release
Component:  I18N            |    Version:  3.8
 Severity:  normal          |   Keywords:  4.1-early
  Focuses:                  |
----------------------------+----------------------------
 We have a couple of strings starting with a newline character:
 *
 [http://translate.wordpress.org/projects/wp/dev/admin/ru/default?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=77939&filters%5Btranslation_id%5D=3906171
 ""BETA TESTING?""]
 *
 [http://translate.wordpress.org/projects/wp/dev/admin/ru/default?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=142386&filters%5Btranslation_id%5D=8361014
 ""UPDATE LOG""]

 They cause a warning in GlotPress:
 {{{
 Warning: Original and translation should both begin on newline.
 }}}

 Let's remove these leading newlines for clarity.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29480>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list