Am 17.06.2014 07:37 schrieb "Juha Manninen" <[email protected]>:
>
> Could somebody please explain what happens when there is #13#10 in a
> resource string.
>
> See issue
>   http://bugs.freepascal.org/view.php?id=26343
> and a note:
>   http://bugs.freepascal.org/view.php?id=26343#c75738
>
> It is converted to \n in .po file strings.
> However Format() does not convert \n. How can it work?
> I will do more experiments later today.

As Michael wrote Format() does not need to deal with it. The translated
value of the resourcestring constant should already contain the correct
line ending and thus the .po-reader needs to handle this when it sets up
the translated strings.

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

Reply via email to