Closed Bug 1799877 Opened 2 years ago Closed 2 years ago

Setting NotificationBox label should support Fluent

Categories

(Toolkit :: UI Widgets, task)

task

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.

This matches the existing behavior of NotificationBox.appendNotification().

Assignee: nobody → earo
Status: NEW → ASSIGNED

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
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
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: