Branch of from node-po.
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| Used to load and save PO files. | Used to load and save PO files. | ||||||
|  |  | ||||||
| ```js | ```js | ||||||
| var PO = require('node-po'); | var PO = require('pofile'); | ||||||
|  |  | ||||||
| PO.load('text.po', function (err, po) { | PO.load('text.po', function (err, po) { | ||||||
|     // Handle err if needed |     // Handle err if needed | ||||||
| @@ -14,3 +14,7 @@ PO.load('text.po', function (err, po) { | |||||||
|     }); |     }); | ||||||
| }); | }); | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | ## Credits | ||||||
|  |  | ||||||
|  |   Originally based on node-po (written by Michael Holly). | ||||||
|   | |||||||
							
								
								
									
										18
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								package.json
									
									
									
									
									
								
							| @@ -1,12 +1,19 @@ | |||||||
| { | { | ||||||
|   "name": "node-po", |   "name": "pofile", | ||||||
|   "description": "Parse and serialize Gettext PO files.", |   "description": "Parse and serialize Gettext PO files.", | ||||||
|   "version": "0.1.1", |   "version": "0.1.1", | ||||||
|   "author": "Mike Holly", |   "author": { | ||||||
|   "homepage": "http://github.com/mikejholly/node-po", |     "name": "Ruben Vermeersch", | ||||||
|  |     "email": "ruben@savanne.be", | ||||||
|  |     "url": "http://savanne.be/" | ||||||
|  |   }, | ||||||
|  |   "contributors": [ | ||||||
|  |       "Mike Holly" | ||||||
|  |   ], | ||||||
|  |   "homepage": "http://github.com/rubenv/pofile", | ||||||
|   "repository": { |   "repository": { | ||||||
|     "type": "git", |     "type": "git", | ||||||
|     "url": "http://github.com/mikejholly/node-po.git" |     "url": "http://github.com/rubenv/pofile.git" | ||||||
|   }, |   }, | ||||||
|   "main": "./lib/po", |   "main": "./lib/po", | ||||||
|   "keywords": [ |   "keywords": [ | ||||||
| @@ -19,6 +26,9 @@ | |||||||
|   "scripts": { |   "scripts": { | ||||||
|     "test": "grunt test" |     "test": "grunt test" | ||||||
|   }, |   }, | ||||||
|  |   "directories": { | ||||||
|  |     "test": "test" | ||||||
|  |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "grunt": "~0.4.2", |     "grunt": "~0.4.2", | ||||||
|     "grunt-contrib-watch": "~0.5.3", |     "grunt-contrib-watch": "~0.5.3", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user