Closed Bug 1453319 Opened 7 years ago Closed 7 years ago

[FTL] Support missing Expression types in rich editor

Categories

(Webtools Graveyard :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: mathjazz)

Details

Attachments

(1 file)

The following Expression types are not supported in rich Fluent editor, which means we can only show them in the source editor: https://github.com/mozilla/pontoon/blob/master/pontoon/base/static/js/fluent_interface.js#L55 1. StringExpression key = { "" } 2. NumberExpression key = { 5 } 3. VariantExpression key = { -foo[bar] } 4. AttributeExpression key = { my_id.title } They should be treated similarly in the UI (see bug 1437857), so we should fix them in one patch.
Commit pushed to master at https://github.com/mozilla/pontoon https://github.com/mozilla/pontoon/commit/3e1742857984dac5fcd7afbf4fbad45a4727aea6 Fix bug 1453319: [FTL] Add support for missing expression types (#956) The following Expression types are now supported: * StringExpressions * NumberExpressions * VariantExpressions * AttributeExpressions
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: