[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #50920] Javascript interpolated strings in xgettext
From: |
Philip Chimento |
Subject: |
[bug-gettext] [bug #50920] Javascript interpolated strings in xgettext |
Date: |
Tue, 2 May 2017 19:14:57 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?50920>
Summary: Javascript interpolated strings in xgettext
Project: GNU gettext
Submitted by: ptomato
Submitted on: Tue 02 May 2017 11:14:55 PM UTC
Category: JavaScript
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
In the latest Javascript specification, the language has gained interpolated
strings:
`${greeting}, ${planet.toUpperCase()}!`
They are delineated with backticks, and behave much like interpolated strings
in other various languages.
Many widely used Javascript implementations either already support these
strings, or are commonly used with preprocessors that perform the required
code transformation for implementations without the feature.
It would be nice if xgettext understood these strings.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50920>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug-gettext] [bug #50920] Javascript interpolated strings in xgettext,
Philip Chimento <=