- Added support for $translate.instant (@setor. This might lead to new warnings in case dynamic translation keys are used.
- Suppress Deprecation Warning #27 (@BenDiuguid)
- Upgrade Dependencies (@BenDiuguid)
- Add Support for ES6 Modules (@BenDiuguid)
- Drop Node < 4.0
Upgrade dependencies
Bugfixes:
- Only extract translation from attributes that use real expressions (0369ca011c9b7c958ca7cb10a4bb334ec072565d)
Bugfixes:
- Correctly handle elements with translated element content and attribute (c1656320c1bafbe1ee8c7a2094dbca89ec2610b5)
Features:
- Remove translations during recompilation, avoids duplicate translations error when translation has been changed
- Emit a warning if a translation without an id is used (e.g.
<div translate><span>text</span></div>
) - Include line and column numbers in warning and error messages
- Emit an error if a loader is registered, but the plugin is not
Bugfixes:
- Correctly register empty elements with translate attribute (
<any translate='test'></any>
)