smhg / gettext-parser

Parse and compile gettext po and mo files, nothing more, nothing less
MIT License
158 stars 44 forks source link

Fixed translation object json structure in example #17

Closed arthuralee closed 8 years ago

arthuralee commented 8 years ago

From what I understand (and reading the code at https://github.com/andris9/gettext-parser/blob/master/lib/pocompiler.js#L204) additional contexts should be specified under obj["translations"]["contextname"] and not obj["contextname"]