Closed Bug 1788798 Opened 2 years ago Closed 2 years ago

Support fluent in storybook

Categories

(Firefox :: General, task, P3)

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: mstriemer, Assigned: mstriemer)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Some components use fluent for translations. An alternative is to require the caller of a component to get the translated string first but that isn't as nice ergonomics wise as passing in a fluent string.

We should support fluent directly in Storybook so these components can be shown there.

Depends on D156241

Pushed by mstriemer@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/81a745e4c3c5
Support fluent in storybook r=hjones
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Pushed by mstriemer@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/df4f5b385c12
Fixup unnecessary fluent import in preview.js r=hjones

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: