giridharkn / google-web-toolkit-doc-1-5

Automatically exported from code.google.com/p/google-web-toolkit-doc-1-5
0 stars 0 forks source link

i18nCreator + text with line feeds leads to errors in generated Interface #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using i18nCreator to generate a Interface from a properties file
2. When the properties file contains text with line feeds (e.g. with \r\n
in text) the genereated Interface contains @DefaultMessage annotations or
@DefaultStringValue annotations where the line feeds are not escaped. This
leads to errors in the Interface.
3.

What is the expected output? What do you see instead?
The expected output are annotations where the line feeds are escaped.
e.g.
@DefaultMessage("An email was sent as result of changing your address to
{0} .\nTo activate of your new email address please follow the link which
is conained in the email.")

What version of the product are you using? On what operating system?
GWT 1.5.2 on Windows XP SP3

Please provide any additional information below.

Original issue reported on code.google.com by martin.k...@gmail.com on 2 Sep 2008 at 5:43

GoogleCodeExporter commented 9 years ago
Sorry wrong place for this issue. 

Original comment by martin.k...@gmail.com on 2 Sep 2008 at 5:48