LICENSE 1.3 KB

12345678910111213141516171819202122232425262728
  1. Pure Javascript implementation of Uniforum message translation.
  2. Copyright (C) 2008 Joshua I. Miller <unrtst@cpan.org>, all rights reserved
  3. This program is free software; you can redistribute it and/or modify it
  4. under the terms of the GNU Library General Public License as published
  5. by the Free Software Foundation; either version 2, or (at your option)
  6. any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. Library General Public License for more details.
  11. You should have received a copy of the GNU Library General Public
  12. License along with this program; if not, write to the Free Software
  13. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
  14. USA.
  15. PO parser from http://jsgettext.berlios.de/lib/Gettext.js
  16. adapted for Node.js and modified to be more like po2json.pl
  17. - Zach Carter <zcarter@cse.usf.edu>
  18. Further adapted to be used inside a node.js environment instead of the command line. Import with a require statement:
  19. var po2json = require('po2json.js')
  20. po2json.parse('filename', function(result) {
  21. on parse complete callaback, result is the json string.
  22. });
  23. - Daniel Roberts <danielrobertsdesign@gmail.com>