From 1bae2deab03497bfa3163966b29527931fe7f3df Mon Sep 17 00:00:00 2001 From: Mike Holly Date: Mon, 26 Dec 2011 18:22:05 -0800 Subject: [PATCH] Fixed error in loading. --- lib/po.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/po.js b/lib/po.js index e3b6130..23a2160 100644 --- a/lib/po.js +++ b/lib/po.js @@ -48,7 +48,7 @@ PO.load = function(filename, callback) { parts.forEach(function(part){ if (part.length < 1) return; var item = PO.Item.parse(part); - po.items.push(item.toString()); + po.items.push(item); }); callback && callback(po); diff --git a/package.json b/package.json index 26a0092..ce9964d 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name" : "node-po", "description" : "Simple library for loading and saving Gettext PO files.", - "version" : "0.1", + "version" : "0.0.2", "author" : "Mike Holly", "homepage" : "http://github.com/mikejholly/node-po", "repository" : {"type" : "git", "url" : "http://github.com/mikejholly/node-po.git"}, "dependencies" : [], "main" : "./lib/po", - "keywords" : ["i18n", "l10n", "gettext", "mo" "po"] + "keywords" : ["i18n", "l10n", "gettext", "mo", "po"] }