mozilla-b2g/gaia — pull request #1805 by fabi1cazenave (2012-06-19 15:34:18+00:00)
Title: [l10n] trigger a 'localized' event when the language setting is changed

This is mostly a follow-up to issue #1782 — documents should get a `localized` event as soon as the language setting is changed. That’s what is done in the [5th commit](https://github.com/fabi1cazenave/gaia/commit/4025ff2aea99c3b104ccf8cdf74a305f22b5a681).

The rest of this pull request is only code cleanup + sync with the latest version of the webL10n library.