Review LoginItem localization with Fluent before exposing it to localization
Categories
(Firefox :: about:logins, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: Pike, Assigned: jaws)
References
Details
(Whiteboard: [passwords:management] [skyline] )
Attachments
(1 file)
Right now, the login-item element has a huge number of attributes, which really shows a weakness of how we set up DOM element localization in the Fluent bindings.
Once LoginItem is feature-complete, we should review this and see if we can do better. In particular, a few child elements with a slot might help a long way.
Not only would they make the localization easier, but they'd also help in maintaining the element, in case some of its strings need changing or addition. Right now, the whole translation for the element needs to be redone.
| Assignee | ||
Updated•6 years ago
|
| Reporter | ||
Comment 1•6 years ago
|
||
In https://phabricator.services.mozilla.com/D30800/, I also speculated about exposing connectRoot, so custom elements could be like "Yeah, I know, we're all modular, but seriously, localize my content like it'd be non-shadow DOM"
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 2•6 years ago
|
||
Comment 4•6 years ago
|
||
| bugherder | ||
Updated•6 years ago
|
Updated•6 years ago
|
Description
•