Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 991 Bytes

CHANGELOG.md

File metadata and controls

24 lines (17 loc) · 991 Bytes

Changelog

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

Added

  • 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'})

Removed

  • 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.

2.1.0 - 2018-06-12

Added

  • Allow to include the plural function in the translations to prevent CSP errors #4