Releases: ebidel/i18n-msg
Releases · ebidel/i18n-msg
1.1.0
1.0.5
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
1.0.3
1.0.2
1.0.1
1.0.0
- Ported to Polymer 1.0. Thanks @pkaske
- Rename
messageDir
tomessagesUrl
(more fitting in my opinion). - Added possibility to set the source url for
locales
directory on theI18nMsg
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'smessagesUrl
property - Fixed typo in
18n-language-ready
event. - Bugs fixes.
Release 0.0.5
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
0.0.3 - Something delicious
_locales
was renamed tolocales
as the directory of choice. This was done for folks
using github pages, which barfs on directories with underscores.