[Bug 1856501] Re: xgettext cannot deal with jsx self-closing tags

2020-01-09 Thread Sebastien Bacher
thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856501 Title: xgettext cannot deal with jsx self-closing tags To manage notifications about this bug go to:

[Bug 1856501] Re: xgettext cannot deal with jsx self-closing tags

2020-01-09 Thread Ilya Lukin
xgettext --from-code=utf-8 --language=JavaScript --keyword=translate Documentation.jsx ** Attachment added: "Documentation.jsx" https://bugs.launchpad.net/ubuntu/+source/gettext/+bug/1856501/+attachment/5318792/+files/Documentation.jsx -- You received this bug notification because you are a

[Bug 1856501] Re: xgettext cannot deal with jsx self-closing tags

2020-01-09 Thread Sebastien Bacher
Thanks for the detail, could you add a jsx example to the bug that could be used as testcase? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856501 Title: xgettext cannot deal with jsx self-closing

[Bug 1856501] Re: xgettext cannot deal with jsx self-closing tags

2020-01-08 Thread Ilya Lukin
It's important because a lot of web-developers are using React[1] (*.jsx), but can't using gettext for localization. Testcase: xgettext --from-code=utf-8 --language=JavaScript filename.jsx Fix already done, see first message. [1] A JavaScript library for building user interfaces -

[Bug 1856501] Re: xgettext cannot deal with jsx self-closing tags

2020-01-08 Thread Sebastien Bacher
Thank you for your bug report, Debian is working on a gettext version update which will include that fix It doesn't seem important enough to justify a SRU backport to Bionic though, could you give a bit more details of why you think it's important and maybe a testcase which can be used to verify