bugGNU gettext - Bugs: bug #56678, Wrong behaviour of template strings

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56678: Wrong behaviour of template strings

Submitter:  Dmitry Vinnik <arkan0id>
Submitted:  Sat 27 Jul 2019 10:11:21 AM UTC
   
 
Category:  JavaScript Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Tue 14 Apr 2020 12:17:39 PM UTC, comment #2: 

The fix is contained in gettext 0.20.2.

Bruno Haible <haible>
Group administrator
Sun 28 Jul 2019 06:01:45 PM UTC, comment #1: 

Thanks a lot for the report. JavaScript template literal support was one of the main new features of the 0.20 release.

Fixed through https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=4785289e45f4467bd484ae4249c58ad730966d1b

Bruno Haible <haible>
Group administrator
Sat 27 Jul 2019 10:11:21 AM UTC, original submission:  

xgettext (GNU gettext-tools) 0.20.1
test.js output:

msgid "t1"
msgstr ""

msgid "t2"
msgstr ""

msgid "t3"
msgstr ""

expected result:

msgid "t1"
msgstr ""

msgid "t2"
msgstr ""

msgid "t3"
msgstr ""

msgid "t4"
msgstr ""

msgid "t5"
msgstr ""

msgid "t6"
msgstr ""

msgid "t7"
msgstr ""

msgid "t8"
msgstr ""

Dmitry Vinnik <arkan0id>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #47267:  test.js added by arkan0id (234B - text/javascript)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by arkan0id (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2019-07-28 haible StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed
    2019-07-27 arkan0id Attached File- Added test.js, #47267

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code