Comparing version 3.7.0 to 3.7.1
@@ -682,3 +682,3 @@ // I18n.js | ||
return (this.missingTranslationPrefix.length > 0 ? this.missingTranslationPrefix : '') + | ||
s.replace('_',' ').replace(/([a-z])([A-Z])/g, | ||
s.replace(/_/g,' ').replace(/([a-z])([A-Z])/g, | ||
function(match, p1, p2) {return p1 + ' ' + p2.toLowerCase()} ); | ||
@@ -685,0 +685,0 @@ } |
@@ -21,2 +21,10 @@ # Change Log | ||
## [3.7.1] - 2020-06-30 | ||
### Fixed | ||
- [JS] For translation missing behaviour `guess`, replace all underscores to spaces properly | ||
(PR: https://github.com/fnando/i18n-js/pull/574) | ||
## [3.7.0] - 2020-05-29 | ||
@@ -461,4 +469,5 @@ | ||
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.7.0...HEAD | ||
[3.6.0]: https://github.com/fnando/i18n-js/compare/v3.6.0...v3.7.0 | ||
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.7.1...HEAD | ||
[3.7.1]: https://github.com/fnando/i18n-js/compare/v3.7.0...v3.7.1 | ||
[3.7.0]: https://github.com/fnando/i18n-js/compare/v3.6.0...v3.7.0 | ||
[3.6.0]: https://github.com/fnando/i18n-js/compare/v3.5.1...v3.6.0 | ||
@@ -465,0 +474,0 @@ [3.5.1]: https://github.com/fnando/i18n-js/compare/v3.5.0...v3.5.1 |
{ | ||
"name": "i18n-js", | ||
"version": "3.7.0", | ||
"version": "3.7.1", | ||
"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
81490