L20n/Localizable XUL Attributes: Difference between revisions
< L20n
Jump to navigation
Jump to search
(Created page with "An inventory of <code>data-l10n-attrs</code> used while porting Firefox to Fluent. The default list of allowed localizable attributes is defined in https://github.com/project...") |
mNo edit summary |
||
Line 9: | Line 9: | ||
;page | ;page | ||
:title | :title | ||
; | ;richlistitem | ||
:tooltiptext | :tooltiptext | ||
;textbox | ;textbox | ||
:style | :style |
Latest revision as of 11:15, 17 January 2018
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