Closed Bug 1847844 Opened 2 years ago Closed 2 years ago

Port bug 1834305 - Move PluralForm.sys.mjs to comm-central

Categories

(Thunderbird :: L10n, task, P1)

Tracking

(thunderbird_esr115 unaffected, thunderbird117 unaffected)

RESOLVED FIXED
118 Branch
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

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

Status: NEW → ASSIGNED

Please land this when the upstream bug lands. It can't go right now, since the modules would have a naming conflict.

Target Milestone: --- → 118 Branch

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

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/98ec35045ff0 follow-up to fix linting in browser_alarmDefaultValue.js. rs=eslint
Summary: Port PluralForm.sys.mjs to comm-central → Port bug 1834305 - Move PluralForm.sys.mjs to comm-central
See Also: → 1935334
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: