node-gettext
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -394,3 +394,3 @@ var Iconv = require("iconv").Iconv, | ||
}); | ||
context = (context || "").toString().trim() || ""; | ||
context = (context || "").toString() || ""; | ||
@@ -412,3 +412,3 @@ if(!this._translationTable[context]){ | ||
original = (original || "").toString(); | ||
context = (context || "").toString().trim() || ""; | ||
context = (context || "").toString() || ""; | ||
@@ -415,0 +415,0 @@ if(this._translationTable[context] && this._translationTable[context][original]){ |
@@ -231,3 +231,3 @@ | ||
domain = (domain || "").toLowerCase().trim(); | ||
context = (context || "").toLowerCase().trim(); | ||
context = context || ""; | ||
@@ -234,0 +234,0 @@ var textdomain = this._domains[domain] || this._domains[this._textdomain] || false; |
{ | ||
"name": "node-gettext", | ||
"description": "Gettext client for Node.js to use .mo files for I18N", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"author" : "Andris Reinman", | ||
@@ -6,0 +6,0 @@ "maintainers":[ |
81151