Closed Bug 1616999 Opened 5 years ago Closed 5 years ago

Minor cleanups around language identifier parsing in int/locale

Categories

(Core :: Internationalization, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: zbraniecki, Assigned: zbraniecki)

Details

Attachments

(4 files)

This is just a set of smaller cleanups that I noticed while fixing other bugs that would help with maintenance of the module:

  1. Rename Locale::AddLikelySubtags to Locale::Maximize following ECMA402.
  2. Switch LocaleService::IsLocaleRTL to use unic_langid instead of ICU.
  3. Use unic_langid new_langid_for_mozilla in fluent-langneg.
  4. Move the ICU include in OSPreferences to GTK specification to better express where it's needed.
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Priority: -- → P3
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d67220ef9a91 Rename MozLocale::AddLikelySubtags to Maximize following ECMA402 Intl.Locale convention. r=jfkthame https://hg.mozilla.org/integration/autoland/rev/8a875e45bcf1 Move LocaleService::IsLocaleRTL to use unic_langid. r=jfkthame https://hg.mozilla.org/integration/autoland/rev/c5a54dd0284e Use unic-langid-ffi new_langid_for_mozilla in fluent-langneg. r=jfkthame https://hg.mozilla.org/integration/autoland/rev/908b192e5bd6 Move the ICU include to GTK OSPreferences. r=jfkthame
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: