Merge branch 'master' of github.com:mikejholly/node-po
This commit is contained in:
commit
30a0f12f9d
13
README.md
13
README.md
@ -1,3 +1,14 @@
|
||||
Used to load and save PO files.
|
||||
|
||||
var po = require('po');
|
||||
var po = require('po')
|
||||
, fs = require('fs')
|
||||
|
||||
po.load('text.po', function(_po){
|
||||
console.log(_po.headers);
|
||||
console.log(_po.items);
|
||||
|
||||
_po.save('copy.po', function(){
|
||||
console.log('We copied a PO file for no reason!');
|
||||
});
|
||||
});
|
||||
|
@ -1,7 +1,6 @@
|
||||
var po = require('../lib/po.js')
|
||||
, fs = require('fs')
|
||||
, assert = require('assert')
|
||||
, exec = require('child_process').exec;
|
||||
|
||||
po.load('text.po', function(_po){
|
||||
_po.save('copy.po', function(){
|
||||
|
Loading…
Reference in New Issue
Block a user