Closed Bug 1728183 Opened 2 months ago Closed 1 month ago

Unify AvailableCollations

Categories

(Core :: Internationalization, task, P3)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: gregtatum, Assigned: anba)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [i18n-unification], [i18n-unification-help-wanted])

Attachments

(3 files)

Work Amount: Small
What it is:

Blocks: 1728184
No longer blocks: 1728184
Whiteboard: [i18n-unification-help-wanted]
Whiteboard: [i18n-unification-help-wanted] → [i18n-unification], [i18n-unification-help-wanted]

Adds EnumerationIntoList template function for intl::Enumeration objects. The
two other existing EnumerationIntoList functions will be replaced with this version.

Assignee: nobody → andrebargull
Status: NEW → ASSIGNED

In contrast to the existing GetBcp47KeywordValuesForLocale() method, this
method returns all possible collation types, even the ones which aren't supported
by a specific locale.

Depends on D125672

Replaces the call to ucol_getKeywordValues() with Collator::GetBcp47KeywordValues().

Depends on D125673

Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/74e491204d18
Part 1: Add EnumerationIntoList for intl::Enumeration. r=platform-i18n-reviewers,dminor
https://hg.mozilla.org/integration/autoland/rev/01a7a7ffe7c6
Part 2: Add Collator::GetBcp47KeywordValues() method to retrieve all possible collations. r=platform-i18n-reviewers,dminor
https://hg.mozilla.org/integration/autoland/rev/65ae6c4df8c6
Part 3: Call Collator::GetBcp47KeywordValues() in SpiderMonkey code. r=platform-i18n-reviewers,dminor
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.