fluxible-plugin-locale-counterpart
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -11,3 +11,3 @@ var translate = require('counterpart'); | ||
if(options.req) { | ||
translate.setLocale(options.req.cookies.locale); | ||
translate.setLocale(options.req.cookies.locale || 'en'); | ||
} | ||
@@ -26,3 +26,3 @@ | ||
return { | ||
locale: options.req.cookies.locale | ||
locale: options.req.cookies.locale || 'en' | ||
}; | ||
@@ -29,0 +29,0 @@ }, |
{ | ||
"name": "fluxible-plugin-locale-counterpart", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "counterpart locale setting plugin for fluxible", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
5631
7