All Versions
23
Latest Version
Avg Release Cycle
160 days
Latest Release
1149 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v0.3.0 Changes
August 06, 2013- Breaking change: Removed
pluralize()
method; instead, just use thet()
method, passing in asmart_count
option. - Breaking change: Removed the ability to use
Array
,Backbone.Collection
, etc. instances for thesmart_count
option; instead, must pass aNumber
. - Allow passing
Number
as second argument tot()
, which gets converted to the options object{smart_count: <my number>}
.
- Breaking change: Removed
-
v0.2.1 Changes
May 02, 2013- Added
allowMissing
option to let the phrase key be the default translation (thanks @ziad-saab).
- Added
-
v0.2.0 Changes
December 20, 2012- Breaking change: Moved from Singleton pattern to class-based. Now you create an instance of the
Polyglot
class rather than using class methods directly on it. The reason is to allow maintaining multiple sets of phrases, which is something we ran into at Airbnb with a highly-concurrent Express app. - Breaking change: Removed the built-in Handlebars helpers, because Handlebars is a singleton, and it's messy to create a single helper function that can be bound to different Polyglot instances. Instead, it's super easy to create your own, based on your requirements.
- Breaking change: Moved from Singleton pattern to class-based. Now you create an instance of the