Commit Graph

105 Commits

Author SHA1 Message Date
Julian Bäume
a5f3059661 fix default value of msgctxt field
I added a few more edge-cases to the tests for the new msgctxt field and
revealed a bug during that. The default value has been set to empty
string, but should have been null, since the spec says, this field is
optional.
2014-01-22 14:14:03 +01:00
Ruben Vermeersch
abca810905 Upgrade copyright years. 2014-01-21 16:05:01 +01:00
Ruben Vermeersch
ce410f3427 Release v0.2.3 2014-01-21 16:01:30 +01:00
Ruben Vermeersch
4fa1ce75c5 Recompile. 2014-01-21 16:01:08 +01:00
Ruben Vermeersch
b599a76557 Merge pull request #3 from Open-Xchange-Frontend/support_msgctxt
Support msgctxt field of items
2014-01-21 07:00:52 -08:00
Julian Bäume
87e29b6c21 add documentation for the new field
possibly makes developers happy to have this field documented
2014-01-21 15:46:31 +01:00
Julian Bäume
4ba2cf1cef add distfiles
as compiled by the grunt task. These come in an own commit, since I
didn’t want them to clutter the actual implementation commits.
2014-01-21 15:10:02 +01:00
Julian Bäume
c046b62873 implement writing msgctxt field
since the parser can extract this information, now, the writer should
also be able to write it back to a po file
2014-01-21 15:06:11 +01:00
Julian Bäume
6790bfb466 add parsing support for msgctxt field of poitems
The gettext format specifies a msgctxt field for translated items. An
example of how to use this field has been added to the tests and the
parsing of this attribute has been implemented.
2014-01-21 15:05:58 +01:00
Ruben Vermeersch
94ad44f953 Release v0.2.2 2013-12-23 09:37:40 +01:00
Ruben Vermeersch
c9811bb7aa More documentation. 2013-12-23 09:35:59 +01:00
Ruben Vermeersch
f40ab323dd Add migration notes. 2013-12-23 09:18:28 +01:00
Ruben Vermeersch
554ed47ba7 Update e-mail address. 2013-12-20 10:17:31 +01:00
Ruben Vermeersch
28683aa4b3 More README. 2013-12-20 10:06:22 +01:00
Ruben Vermeersch
fdf3988cd0 Release v0.2.1 2013-12-20 09:57:11 +01:00
Ruben Vermeersch
a79382fb9d Some more release notes. 2013-12-20 09:56:56 +01:00
Ruben Vermeersch
456d889ea1 Add more files to NPM ignore. 2013-12-20 09:43:38 +01:00
Ruben Vermeersch
bf2ac2ada9 Release v0.2.0 2013-12-20 09:42:19 +01:00
Ruben Vermeersch
51aeb26844 Add grunt-bump. 2013-12-20 09:41:38 +01:00
Ruben Vermeersch
4d256d37c3 Add note about rebranding. 2013-12-20 09:39:10 +01:00
Ruben Vermeersch
d4c406e7f6 Branch of from node-po. 2013-12-20 09:34:21 +01:00
Ruben Vermeersch
363ed2c791 Add browser version. 2013-12-20 09:31:12 +01:00
Ruben Vermeersch
75818a5b4a Update copyright. 2013-12-19 09:51:39 +01:00
Ruben Vermeersch
a1623e6b64 Clean up README file. 2013-12-18 17:03:24 +01:00
Ruben Vermeersch
3503eb67ab Remove the old (meaningless) tests. 2013-12-18 17:01:17 +01:00
Ruben Vermeersch
6b2cb2e71e Stop using util.format.
This will massively shrink the browserified footprint.
2013-12-18 16:46:09 +01:00
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