L20n/Localizable XUL Attributes

From MozillaWiki
< L20n
Revision as of 11:15, 17 January 2018 by StasM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

An inventory of data-l10n-attrs used while porting Firefox to Fluent.

The default list of allowed localizable attributes is defined in https://github.com/projectfluent/fluent.js/blob/master/fluent-dom/src/overlay.js. The data-l10n-attrs attribute can be used to allow more attributes to be localized on an element-by-element basis.

browser/components/preferences/in-content/preferences.xul

bug 1424682 - Migrate the chrome of Preferences to the new Localization API

page
title
richlistitem
tooltiptext
textbox
style