bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] [bug #50920] support Javascript template strings in xgette


From: Daiki Ueno
Subject: [bug-gettext] [bug #50920] support Javascript template strings in xgettext
Date: Thu, 25 Oct 2018 01:03:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #10, bug #50920 (project gettext):

Thank you for the patches, Marco.  The general approach (discarding template
strings with any substitutions) sounds reasonable.

However, I think it is not straightforward to determine the end of template
strings, because substitutions may be nested; for example, this is a valid
template string:

`a${`b${`c`+d}`}e`


Maybe, it could be based on the backtick support in the shell-script scanner,
which takes into account of nesting.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?50920>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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