Update to Fluent Syntax 0.9
Categories
(Webtools Graveyard :: Pontoon, defect, P2)
Tracking
(Not tracked)
People
(Reporter: stas, Assigned: mathjazz)
Details
Attachments
(1 file)
Please update Pontoon to Fluent Syntax 0.9.
The following updates to implementations have been published:
- fluent-syntax 0.12 (JS)
- fluent.syntax 0.14 (Python)
- compare-locales 7.0.0
This update will require a few changes in fluent_interface.js. See https://github.com/projectfluent/fluent/releases/tag/v0.9.0 for the AST changes. See https://github.com/projectfluent/fluent.js/releases/tag/fluent-syntax%400.11.0 and https://github.com/projectfluent/fluent.js/releases/tag/fluent-syntax%400.12.0 for the API changes. Most notably:
-
(AST)
CallExpressions
andAttributeExpressions
are gone. Instead,MessageReferences
,TermReferences
andFunctionReferences
have new fields, where applicable:attribute
andarguments
. -
(API) You can use the newly exposed
serializeVariantKey
in a few places rather than manually doing things likeitem.key.value || item.key.name
. -
(API)
serializeExpression
is now a simple function export, not a method ofFluentSerializer
.
Assignee | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Updated•3 years ago
|
Description
•