Follow-up Comment #5, bug #50920 (project gettext): This is a little bit more serious than simply not extracting such strings - it sometimes breaks parsing of the JS file even if a template string is not used in connection with gettext. As an example, feeding xgettext this file:
window.location.href = `/${path}`; _('hello'); will not extract "hello" (a normal string) or any subsequent _() calls simply because a template string with / in it happened before: $ xgettext -o- x.js x.js:3: warning: RegExp literal terminated too early $ _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50920> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/