Open Bug 1691759 Opened 5 years ago

Add variable comment check for Fluent linter

Categories

(Core :: Internationalization: Localization, enhancement)

enhancement

Tracking

()

People

(Reporter: dminor, Unassigned)

References

(Blocks 1 open bug)

Details

For each variable in a message, there should be a comment explaining the purpose of the variable in a format like:

# $duration (Number) - The duration in seconds.
time-elapsed = Time elapsed: { NUMBER($duration, maximumFractionDigits: 0) }s.

It is possible to use group level comments (##) to explain variables for a group of messages.

You need to log in before you can comment on or make changes to this bug.