allow localization of elements via data-msg-text and data-msg-html
authorjrobson <jrobson@wikimedia.org>
Tue, 14 Aug 2012 00:15:24 +0000 (17:15 -0700)
committerjrobson <jrobson@wikimedia.org>
Wed, 15 Aug 2012 18:39:32 +0000 (11:39 -0700)
commit613cd3bb7b083869608510309dd903b42bafe887
treea1fa51603f81a487d567dfd77bf2a0b9031ee722
parent0994f2584ce3c3c63ade8a1ed51a02977c5e262a
allow localization of elements via data-msg-text and data-msg-html

to distinguish from attributes i've reversed the order e.g. instead of
html-msg i've used msg-html

i've added the data prefix to allow for html validation.

this is important as an OPTION tag cannot have any children so currently
there is no way to localize it. This provides a route.

Documentation needed.

Change-Id: Iefdbbf0e55ab3c6c6a9564b568980a7319bc4453
resources/jquery/jquery.localize.js
tests/qunit/suites/resources/jquery/jquery.localize.test.js