Closed Bug 2059182 Opened 19 days ago Closed 13 days ago

Thunderbird logs missing Fluent message for the built-in default theme

Categories

(Thunderbird :: Upstream Synchronization, defect, P3)

defect
Points:
1

Tracking

(Not tracked)

RESOLVED FIXED
155 Branch

People

(Reporter: tobyp, Assigned: tobyp)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

After the changes to bundled theme localization, Thunderbird logs the following warnings at startup and when opening the Themes pane in about:addons:

[fluent] Missing message in locale en-US: extension-default-theme-name
[fluent] Couldn't find a message: extension-default-theme-name

The affected add-on is Thunderbird’s built-in default theme:

default-theme@mozilla.org

For this theme, getL10nIdForThemeProp(addonId, "name") correctly returns:

extension-default-theme-name-auto

However, getL10nThemeString() bypasses that mapping for Thunderbird and constructs the Fluent ID directly:

extension-default-theme-name

Thunderbird does not define that ID. As a result, Fluent resolution returns undefined and XPIDatabase falls back to the theme manifest value. The visible theme name therefore remains correct, but the bundled localization lookup fails and generates repeated console warnings.

Browser Console verification:

{
  prefix: "default-theme",
  genericNameId: "extension-default-theme-name-auto",
  thunderbirdResolvedName: undefined
}
Keywords: regression
Regressed by: 2055936
Assignee: nobody → toby
Status: NEW → ASSIGNED
Blocks: 2059562
Attachment #9619567 - Attachment description: Bug 2059182 - Fix Thunderbird default theme Fluent localization. r=rpl,john.bieling → Bug 2059182 - Fix Thunderbird default theme Fluent localization. r=rpl
Status: ASSIGNED → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: