bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] xgettext: incorrectly extracts strings from windows line e


From: Mesar Hameed
Subject: [bug-gettext] xgettext: incorrectly extracts strings from windows line ended python files.
Date: Fri, 6 Jan 2012 22:20:56 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hi list,

It seems like xgettext parses the following snippet differently depending if it 
is indented with tabs, or spaces.

--start--
a = _(
        "line 1\n"
        "line 2\n"
        "line 3."
)
--end--

When indented using spaces, text is extracted correctly.
When using tabs, only "line 1\n" is extracted.

When the file is using unix line endings, all seems to be fine.

Can someone reproduce this?
 
Thanks.

xgettext (GNU gettext-tools) 0.18.1 (ubuntu natty 64-bit)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]