Fixed error in loading.
This commit is contained in:
parent
a4dffb0ac8
commit
1bae2deab0
@ -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);
|
||||
|
@ -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"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user