Closed
Bug 1799877
Opened 2 years ago
Closed 2 years ago
Setting NotificationBox label should support Fluent
Categories
(Toolkit :: UI Widgets, task)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
109 Branch
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: eemeli, Assigned: eemeli)
References
Details
Attachments
(1 file)
The changes made in bug 1646160 allow using an { l10n-id, l10n-args }
object as the label of a notification in an appendNotification()
call, but not in a notification's set label()
.
Including Fluent support in the latter would allow for less fragile modifications of localized notification labels, as noted by Dao here.
Assignee | ||
Comment 1•2 years ago
|
||
This matches the existing behavior of NotificationBox.appendNotification().
Updated•2 years ago
|
Assignee: nobody → earo
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•2 years ago
|
||
For context, the need for this API was identified in this discussion on a patch for bug 1760029.
Mark, I requested the patch review from you as you'd reviewed the patch for bug 1646160, but would you be comfortable with this going forward with just Dão's r+
?
Flags: needinfo?(mstriemer)
See Also: → 1760029
Updated•2 years ago
|
Flags: needinfo?(mstriemer)
Pushed by earo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5ca9d371d075
Allow using { l10n-id, l10n-args } object when setting notification label. r=dao,mstriemer
Comment 4•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox109:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•