Commit Graph

129 Commits

Author SHA1 Message Date
Ruben Vermeersch
0d4f80e7f6 Write flags out when serializing. 2013-12-17 16:35:40 +01:00
Ruben Vermeersch
fff8349e25 Parse item flags. 2013-12-17 15:04:44 +01:00
Ruben Vermeersch
b2e53d790b Test references. 2013-12-17 14:56:47 +01:00
Ruben Vermeersch
5ce49c6201 Add more tests for parsing. 2013-12-17 14:53:59 +01:00
Ruben Vermeersch
a4ba136901 Update test header. 2013-12-17 14:44:18 +01:00
Ruben Vermeersch
fece11fb52 Test comments. 2013-12-17 14:42:55 +01:00
Ruben Vermeersch
aa7297ab21 Configure travis testing. 2013-12-17 14:39:09 +01:00
Ruben Vermeersch
ac519bfaf5 Start adding a real unit test framework. 2013-12-17 14:37:17 +01:00
Ruben Vermeersch
fe2e17990a Fix the async calls.
This is a breaking change. But that's okay, the previous behavior for
async was just plain wrong and would crash the entire node process,
which is unacceptable. A major version bump will be needed to release
this.
2013-12-17 14:30:07 +01:00
Ruben Vermeersch
e61e535a79 Add JSHint. Fix style and some potential bugs. 2013-12-16 16:36:32 +01:00
Mike Holly
f7d70f302b Merge pull request #5 from elewinso/master
added support for CRLF files - window style
2013-10-31 07:02:48 -07:00
Mike Holly
44f54fd243 Merge pull request #4 from rubenv/patch-1
Thanks.
2013-10-31 07:02:19 -07:00
Mike Holly
e964e6e927 Merge pull request #8 from saelfaer/master
Update parsing of headers
2013-10-31 07:01:13 -07:00
Sander Houttekier
c7c62caa54 Update parsing of headers
Remove wrong `.replace()` statement which breaks any language file from a language ending with the character `n`. It is unclear to me why this replace is even there. As it is even invalid to replace without supplying a string with what it needs to be replaced.
2013-10-31 14:13:25 +01:00
elewinso
47adb2be9e added support for CRLF files - window style 2013-09-12 14:01:37 +03:00
Ruben Vermeersch
e25a090a65 Correct package name in example. 2013-07-29 11:49:59 +02:00
Mike Holly
3eab1ece05 Fixed msgid_plural error 2012-01-15 11:31:07 -08:00
Mike Holly
899c948784 Fixed export bug. 2012-01-02 16:06:32 -08:00
Mike Holly
72e754a9db First beta ready version. 2012-01-02 15:52:47 -08:00
Mike Holly
69fcd1b40d Made parser much more robust. Now handles files without whitespace seps. 2012-01-02 15:52:05 -08:00
Mike Holly
1e13e78654 Fixed parsing error. 2012-01-01 17:52:51 -08:00
Mike Holly
30a0f12f9d Merge branch 'master' of github.com:mikejholly/node-po 2012-01-01 17:02:32 -08:00
Mike Holly
ea1fcd870f Added toString method for PO 2012-01-01 17:02:19 -08:00
Mike Holly
9c8a80d9b3 Added an example to the readme 2011-12-27 12:03:19 -08:00
Mike Holly
1bae2deab0 Fixed error in loading. 2011-12-26 18:22:05 -08:00
Mike Holly
a4dffb0ac8 Added readme 2011-12-22 16:21:27 -08:00
Mike Holly
f507223705 Added Item.toString() and moved save logic there. 2011-12-22 16:17:04 -08:00
Mike Holly
79b8009b2a Can now read and write most PO files. Added simple test. 2011-12-22 16:12:01 -08:00
Mike Holly
5ea3f06a8c Initial commit 2011-12-21 22:50:01 -08:00