Convert remaining notifications strings from browser.dtd to fluent
Categories
(Firefox :: Toolbars and Customization, task, P3)
Tracking
()
People
(Reporter: Gijs, Assigned: salniker, Mentored)
References
Details
Attachments
(1 file)
Are used from panelUI.inc.xhtml . They should go into https://searchfox.org/mozilla-central/source/browser/locales/en-US/browser/appMenuNotifications.ftl . The ftl file is already dynamically appended to the document in https://searchfox.org/mozilla-central/source/browser/components/customizableui/content/panelUI.js#863 which I think should be sufficient.
You can get these 3 notifications to come up by running these tests with ./mach test
:
To pause the test and keep the notification visible, you probably want to add a new line after each of the highlighted lines linked above with something like:
await new Promise(r => setTimeout(r, 20 * 1000));
which waits 20 seconds.
Reporter | ||
Comment 1•5 years ago
|
||
(In reply to :Gijs (he/him) from comment #0)
The ftl file is already dynamically appended to the document in https://searchfox.org/mozilla-central/source/browser/components/customizableui/content/panelUI.js#863 which I think should be sufficient.
Actually, I think this might be wrong - check what happens, but if strings aren't showing up, copy the insertFTLIfNeeded()
line into the open
method in https://searchfox.org/mozilla-central/source/browser/components/extensions/ExtensionControlledPopup.jsm#212 .
Updated•5 years ago
|
Comment 4•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Verified fixed as part of PI 551; tested with Nightly 77 across platforms (Windows 10, macOS 10.15 and Ubuntu 18.04).
Description
•