Skip to content

Releases: ebidel/i18n-msg

1.1.0

01 Nov 00:31
Compare
Choose a tag to compare
Apcache 2 license

1.0.5

24 May 02:41
Compare
Choose a tag to compare

The component now uses a behavior (i18n-msg-behavior.html) to do i18n-msg and to make it
easier to make your own reusable components.

Also now allows creating a i18n property within an element and data binding to its properties:

<dom-module id="i18n-msg-behavior-example">
  <template>
    <h1>[[i18n.days]]</h1>
    <span>[[i18n.hours]]</span>
  </template>
</dom-module>

1.0.4

16 Feb 00:04
Compare
Choose a tag to compare
rev 1.0.4

1.0.3

17 Dec 00:11
Compare
Choose a tag to compare
  • Added Platform.performMicrotaskCheckpoint(); to demos. This is now needed since Object.observe() has removed removed in Chrome Canary.
  • Fixed issue with _notifyInstances() setting the readonly language property incorrectly.

1.0.2

10 Sep 16:42
Compare
Choose a tag to compare
  • Fixed console undefined error on attached.
  • Updated documentation to include info on setting global I18nMsg.url.

1.0.1

24 Aug 18:02
Compare
Choose a tag to compare

Fix issue where setting .url wasn't respected.

1.0.0

11 Jun 23:57
Compare
Choose a tag to compare
  • Ported to Polymer 1.0. Thanks @pkaske
  • Rename messageDir to messagesUrl (more fitting in my opinion).
  • Added possibility to set the source url for locales directory on the I18nMsg object (e.g. I18nMsg.url = 'path/to/localesDir). All instances will use this directory whenever it is modified dynamically. An element instance can override this by settings it's messagesUrl property
  • Fixed typo in 18n-language-ready event.
  • Bugs fixes.

Release 0.0.5

06 Apr 21:36
Compare
Choose a tag to compare

215869f - Demo working under polyfill
e091fb0 - Roll 0.0.5 and update webcomponents.js to 0.6.0
6df5a6c - Fixes #2 and fixes #8 - better support for working with attributes with the i18n-language-ready event
f1ab043 - Prevent unknown message id from being set (and causing console errors)
c1a6365 - MakegetMsg() argument optional. If not passed, the instance's message is returned.

Release 0.0.4

24 Mar 03:18
Compare
Choose a tag to compare

f18a916 - Fixes #7 - ensures updates to window.I18n.lang get picked up by instances of <i18n-msg>

0.0.3 - Something delicious

27 Jan 20:35
Compare
Choose a tag to compare
  • _locales was renamed to locales as the directory of choice. This was done for folks
    using github pages, which barfs on directories with underscores.