- remove rspec binstub, Courtesy of @Fryguy
- Entries can be removed, Courtesy of @lremes
- Cleanups and refactors
- Fix warning in JRuby 9.1.14.0 Courtesy of @remofritzsche
- Update header.rb (#21) Courtesy of @mallowigi
- Deprecate passing path to parse and introduce parse_file
- Drop ruby 2.1 since it is not supported any more
- force the tokenizer to load files in utf-8 (#20) This will fix the issue with the lib not working correctly on Windows. Courtesy of @damphyr
- Review readme
- parse content of obsolete entries (#19)
- Update poparser.gemspec (#18)
- replaced parslet with simple_po_parser. Speedup parsing by up to 500x. Courtesy of @dfherr
- header handles flags, especially the fuzzy flag (#13)
- Update README.md
Comment#to_s
now returns string instead of array (backward incompatible)- Parser won't choke on cases where there are spaces before eol
- fixed typo refrence, but kept it backwards compatible for entries
- [Header] skip empty header fields from to_s output with a warning
- [Parser] Allow multiple space after msgs and text
- added alias methods for entry accessors
- Add
obsolete
alias forcached
entries. Now you can usePo#obsolete
orEntry#obsolete?
- Update dependencies
- Handle empty lines in .po file (thanks to @roland9)
- Fix translated strings stats
- Update dependencies and tests
- add support for header entry
add_entry
renamed toadd
and returnsself
- besides percentages, inspect of
po
now returns each entry count too po.add
now raises error if you try to add an unknown label
- Add search_in method.
- Some entries in PO files are started with "#~", these entries are just kept by program for later use and are not counted as active entries.
PoParser
now supports them. We won't count them in stats or show them in Tanslated or Untranslated entries. They're just there. - Added size/length methods to
PO
class. It won't count cached entries(described above).
- Fix bug of "str" and "to_str" on Messages
- Small refactoring
- initial release