Closed
Bug 1465121
Opened 7 years ago
Closed 6 years ago
[FTL] Upgrade to Fluent Syntax 0.6
Categories
(Webtools Graveyard :: Pontoon, enhancement, P2)
Webtools Graveyard
Pontoon
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: stas, Assigned: mathjazz)
References
Details
Attachments
(1 file)
We're close to publishing Fluent Syntax 0.6: https://github.com/projectfluent/fluent/projects/2. The implementation in the JS tooling parser is tracked by https://github.com/projectfluent/fluent.js/issues/206. Once it lands and a new version of fluent-syntax is published together with Python's fluent.syntax, we should upgrade the dependencies in Pontoon.
Assignee | ||
Updated•7 years ago
|
Priority: -- → P2
Assignee | ||
Updated•7 years ago
|
Summary: Upgrade to Fluent Syntax 0.6 → [FTL] Upgrade to Fluent Syntax 0.6
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → m
Status: NEW → ASSIGNED
Comment 1•7 years ago
|
||
Comment 2•6 years ago
|
||
Commit pushed to master at https://github.com/mozilla/pontoon
https://github.com/mozilla/pontoon/commit/d530830acd4e03f3e29cae3273a5fede9f246499
Fix bug 1465121: Update to Fluent Syntax 0.6 (#1026)
* Update libraries
* Rename NumberExpression to NumberLiteral
* Rename StringExpression to StringLiteral
* Rename ExternalArgument to VariableReference
* Rename element.expression.expression to element.expression.selector
* Add support for TermReference
* Add support for VariantLists to as_simple_translation filter
* Add support for VariantLists in frontend through a custom parseEntry()
Also:
* Simplify attribute serialization
* #ftl-original should not overflow (scrollbar on parent element)
* Enforce = sign for strings without value in tests
* Replace hasattr() with isinstance()
* Placeables are guaranteed to have the expression field
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•