Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.48 KB

File metadata and controls

39 lines (30 loc) · 1.48 KB

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.2 - 2024-06-19

Added

  • Missing dn__ shortcut function #8.

3.0.1 - 2019-11-24

Added

  • Support for UMD #5

Fixed

  • Tests

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