jamuhl/i18next-gettext-converter — pull request #2 by slb235 (2013-02-15 03:16:46+00:00)
Title: Exports from plurals.js missing

when i run the current version from npm:

```
➜ mobile2 git:(master) ✗ i18next-conv -l de -s locales/de/translation.json -t locales/de/translation.po

start converting

--> reading file from: locales/de/translation.json

/usr/local/lib/node_modules/i18next-conv/lib/gettextWrapper.js:93
var ext = plurals.rules[domain.split('-')[0]];
^
TypeError: Cannot read property 'de' of undefined
at Object.parseGettext (/usr/local/lib/node_modules/i18next-conv/lib/gettextWrapper.js:93:32)
at /usr/local/lib/node_modules/i18next-conv/lib/gettextWrapper.js:58:18
at /usr/local/lib/node_modules/i18next-conv/lib/gettextWrapper.js:82:13
at [object Object]. (fs.js:115:5)
at [object Object].emit (events.js:64:17)
at afterRead (fs.js:1117:12)
at Object.wrapper [as oncomplete] (fs.js:254:17)
```

adding exports to plurals.js fixes this. code attacked.