Open
Bug 1703417
Opened 5 years ago
Updated 5 years ago
Remove sync translations from `browser-sync.js`
Categories
(Firefox :: Sync, task)
Firefox
Sync
Tracking
()
NEW
People
(Reporter: emmamalysz, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-cleanups])
We're synchronously fetching fluent values via formatValueSync multiple times throughout this file.
I believe we can call await window.document.l10n.translateFragment(this.panel); around here: https://searchfox.org/mozilla-central/rev/ee9dab6aa95f167a34cb178960f7375210a0bba4/browser/components/customizableui/content/panelUI.js#233 to make sure the translations are ready.
We will most likely have to do a similar call when we open the fxa panel.
Once they're ready, we should be able to rely on using setAttribute("data-l10n-id"... instead for these elements
Updated•5 years ago
|
See Also: → https://jira.mozilla.com/browse/SYNC-2159
Updated•5 years ago
|
Whiteboard: [proton-cleanups]
Updated•5 years ago
|
Points: --- → 2
You need to log in
before you can comment on or make changes to this bug.
Description
•