Port bug 1834305 - Move PluralForm.sys.mjs to comm-central
Categories
(Thunderbird :: L10n, task, P1)
Tracking
(thunderbird_esr115 unaffected, thunderbird117 unaffected)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr115 | --- | unaffected |
| thunderbird117 | --- | unaffected |
People
(Reporter: aleca, Assigned: freaktechnik)
References
Details
Attachments
(2 files)
PluralForm.sys.mjs is getting removed in m-c since everything in there uses Fluent.
We will drop this as well during our Fluent migration effort after September, but for now we need to duplicate it and port it into our code as temporary solution to not break things.
For reference Bug 1834305 comment 7
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
The values are from https://transvision.flod.org/string/?entity=toolkit/chrome/global/intl.properties:pluralRule&repo=gecko_strings and generated with copy(JSON.stringify(Object.fromEntries(Array.from($0.querySelectorAll("tr:not(.column_headers)"), (tr) => [tr.firstElementChild.textContent, parseInt(tr.children[1].textContent, 10)])), 0, 2))
Depends on D185795
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 4•2 years ago
|
||
Please land this when the upstream bug lands. It can't go right now, since the modules would have a naming conflict.
Updated•2 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/e857f853ca3d
Copy PluralForm.sys.mjs to mail/. r=mkmelin
https://hg.mozilla.org/comm-central/rev/bf70d3897540
Use static plural rule numbers in PluralForm.sys.mjs. r=mkmelin
Updated•10 months ago
|
Description
•