On Tue, 17 Jun 2014 21:12:02 +0300
Juha Manninen <[email protected]> wrote:

> I must say I agree mostly.
> Does anybody know why parameters are currently used for newlines? Logically
> parameters are meant for varying data.

In the old days special characters were not converted properly.

I just tested:

'A'#10'BC' is converted to
msgid ""
"A\n"
"BC\n"

Note the new line behind BC. When this is fixed, I can adapt the 'Make
resourcestring dialog'.

Also all line breaks (#10, #13, #13#10) are converted to \n and on
loading to the system line break. That's ok for all strings
passed to the LCL, but all other must be checked manually. 

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to