Closed Bug 1812568 Opened 3 years ago Closed 3 years ago

Fluent linter: variables in terms are carried over to the next message and reported as error

Categories

(Core :: Internationalization: Localization, defect)

defect

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: flod, Assigned: flod)

References

Details

Attachments

(1 file)

Trigged by comm-central folks in bug 1812553.

This didn't generate errors in mozilla-central, because normally terms are defined in their own file. But if a file has a term with variables (including a SelectExpression), and it's followed by at least one other message with variable, the linter will report an error incorrectly.

Pushed by flodolo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dbb10b2b86c7 Fluent linter: Reset comment and variable references after reading terms, r=eemeli
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: