Closed Bug 1217733 Opened 10 years ago Closed 10 years ago

Update l20n.js to 3.4.0

Categories

(Firefox OS Graveyard :: Gaia::L10n, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Unassigned)

References

Details

Attachments

(1 file)

l20n.js 3.4 is now build with rollup.js which should save some memory (bug 1216903). It also introduces new pseudolocales names for better compatibility with Intl: en-x-psaccent and ar-x-psbidi (bug 1190593).
Depends on: 1190593
Landed in https://github.com/mozilla-b2g/gaia/commit/f03380e451eb2a33a27e7b30c183c311f8e7430d The devtools.qps.enabled setting has been renamed to devtools.pseudolocalization.enabled. I have also updated the MDN docs: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Debugging/Developer_settings#Pseudo-localization
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Nice wins! On Aries - USS of Music ~200kb win, USS of SMS 70kb win, USS of FM 100kb win. The variance on Flame USS is too high. No impact on perf.
tv_apps still seem to have some qps-loc in them: http://mxr.mozilla.org/gaia/search?string=qps-ploc
Looks like tv_apps/remote-control-client bundles its own version of l20n.js instead of using the one in shared/js. https://github.com/mozilla-b2g/gaia/tree/master/tv_apps/remote-control-client/bower_components/l20n
I filed bug 1248914 for tv_apps.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: