Comparing version 3.0.8 to 3.0.9
@@ -391,3 +391,2 @@ // I18n.js | ||
var locales = this.locales.get(options.locale).slice() | ||
, requestedLocale = locales[0] | ||
, locale | ||
@@ -451,3 +450,2 @@ , scopes | ||
var locales = this.locales.get(options.locale).slice() | ||
, requestedLocale = locales[0] | ||
, locale | ||
@@ -616,2 +614,6 @@ , scopes | ||
I18n.interpolate = function(message, options) { | ||
if (message === null) { | ||
return message; | ||
} | ||
options = options || {} | ||
@@ -618,0 +620,0 @@ var matches = message.match(this.placeholder) |
@@ -21,2 +21,9 @@ # Change Log | ||
## [3.0.9] - 2018-06-21 | ||
### Fixed | ||
- [JS] Fix translation array interpolation for array with null | ||
## [3.0.8] - 2018-06-06 | ||
@@ -313,3 +320,4 @@ | ||
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.0.8...HEAD | ||
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.0.9...HEAD | ||
[3.0.9]: https://github.com/fnando/i18n-js/compare/v3.0.8...v3.0.9 | ||
[3.0.8]: https://github.com/fnando/i18n-js/compare/v3.0.7...v3.0.8 | ||
@@ -316,0 +324,0 @@ [3.0.7]: https://github.com/fnando/i18n-js/compare/v3.0.6...v3.0.7 |
{ | ||
"name": "i18n-js", | ||
"version": "3.0.8", | ||
"version": "3.0.9", | ||
"description": "A javascript library similar to Ruby on Rails i18n gem", | ||
@@ -5,0 +5,0 @@ "author": "Nando Vieira", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73057
923