Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

forcedLocale bugfix

  • Loading branch information...
commit d20b125d4c531fdfb2c65305c9baffd1075bce70 1 parent d0bf14d
Guillaume Denis authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/node-i18n.js
  2. +2 −2 package.json
View
4 lib/node-i18n.js
@@ -39,8 +39,8 @@ module.exports = function (options) {
this.helper = function(locale){
var self = this
- return function(key, variables, locale) {
- return self.translate(locale, key, variables)
+ return function(key, variables, forcedLocale) {
+ return self.translate(forcedLocale || locale, key, variables)
}
}
View
4 package.json
@@ -2,8 +2,8 @@
"name": "node-i18n",
"description": "i18n for node",
"main": "./index",
- "author": "Larafale & Gui",
- "version": "0.0.4",
+ "author": "Larafale & silently",
+ "version": "0.0.5",
"repository": {
"type": "git",
"url": "http://github.com/larafale/node-i18n.git"
Please sign in to comment.
Something went wrong with that request. Please try again.