Closed Bug 1803615 Opened 3 years ago Closed 3 years ago

Empty strings for fluent data-l10n-args mistakenly trigger a warning

Categories

(Core :: Internationalization: Localization, defect, P3)

defect

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

Details

Attachments

(1 file)

If an empty string is provided like data-l10n-args="", this should be treated as an empty attribute by fluent rather than provided an empty and mysterious warning: "[dom/l10n] Failed to parse l10n-args JSON: "`

Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fdb11482dce6 Ignore empty strings for fluent data-l10n-args; r=nordzilla
Status: NEW → RESOLVED
Closed: 3 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: