node-gettext
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -40,3 +40,3 @@ 'use strict'; | ||
var pluralsInfo = plurals[this._normalizeDomain(domain, true)]; | ||
if (pluralsInfo) { | ||
if (pluralsInfo && translation.headers) { | ||
translation.headers['plural-forms'] = pluralsInfo.pluralsText; | ||
@@ -259,2 +259,2 @@ translation.pluralsFunc = pluralsInfo.pluralsFunc; | ||
} | ||
}; | ||
}; |
{ | ||
"name": "node-gettext", | ||
"description": "Gettext client for Node.js to use .mo files for I18N", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Andris Reinman", | ||
@@ -42,2 +42,2 @@ "maintainers": [{ | ||
] | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
71511
2441
1