Comment 4 for bug 999262

Revision history for this message
Dirk Stöcker (stoecker) wrote : Re: lua-gettext.py misses multiline strings with \n at the end or truncates it unnecessarily

> If they aren't picked up by lua-gettext.py it is more a bug in it. I am grateful for your proposed fix, but the real fix is to fix lua-gettext.py. I changed this bug report accordingly.

You may modify the gettext system either that also inside the software the trailing character is stripped as well (looks better) or that the text extractor for translation adds the character also (cleaner design).

Nevertheless the patch should be applied, as the additional character is obsolete and should not be there (all other strings don't have it). And even the displayed English texts looks (a bit) ugly due to this one. The patch simply will match the internal representation with the correct translated ones.