[glotpress-updates] [GlotPress] #443: Add support for carriage return (\r)

GlotPress noreply at wordpress.org
Mon May 11 08:30:21 UTC 2015


#443: Add support for carriage return (\r)
-----------------------+-----------------------------
 Reporter:  TacoVerdo  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:  Awaiting Review
Component:  General    |    Version:
 Keywords:             |
-----------------------+-----------------------------
 Strings that contain {{{\r}}} are not properly displayed/translatable in
 GlotPress.

 Example:
 {{{
 sprintf( __( "Hi %1\$s,\r\n\r\nI'm emailing you because \"%2\$s\" -
 %3\$s\r\n", 'example' ), '%firstname%', '%reason%', '%permalink%' )
 }}}

 Results in the following in GlotPress:
 {{{
 Hi %1$s,r↵
 r↵
 I'm emailing you because "%2$s" - %3$sr↵
 }}}

 There we can see that {{{\n}}} (newline) is correctly replaced with
 {{{↵}}}, but {{{\r}}} is displayed as {{{r}}}, causing problems in the
 translations.

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


More information about the glotpress-updates mailing list