All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
3.0.0 - 2019-11-03
- Support for ES6 modules.
- The long functions (gettext, ngettext, etc) supports arguments to format the result (before, only short functions , n, etc had this)
- You can use objects to format the text by search and replace. For example:
t.gettext('Hello _world', {_world: 'World'})
- Support for AMD and Global js.
- Sprintf dependency by default. Now the library has a (very) limited sprintf implementation but open to extend and improved.
- Allow to include the plural function in the translations to prevent CSP errors #4