#31341: makemessages doesn't parse correctly/completely ES6 template strings
----------------------------------+--------------------------------------
Reporter: Cédric Eberhardt | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 3.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Comment (by Simon Charette):
Based on c3437f734d03d93f798151f712064394652cabed which
[https://savannah.gnu.org/bugs/?50920 links to the gettext bug tracker]
I'm fairly confident this is a duplicate of #29175 .
From [https://savannah.gnu.org/bugs/?50920#comment17 this comment].
> So a template string inside any code block, {}, seems to cause xgettext
to skip the rest of the file during parsing without warning or error.
That's exactly what you are experiencing here since removing the
`textContent` line allows following parsing to take place.
[https://savannah.gnu.org/bugs/?56678 Looks like it was fixed in 2.0+
though] so maybe we should re-purpose this ticket as a documentation
adjustment? Could you try downloading the latest `gettext` and see if it
helps anyhow?
--
Ticket URL: <https://code.djangoproject.com/ticket/31341#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.73f906c9a463cf47981ba4ec2e4a2fdd%40djangoproject.com.