gushov / grunt-messageformat

messageformat.js's command line tool ported to a grunt plugin
MIT License
6 stars 4 forks source link

fixing compiled file and tests #6

Closed fastfrwrd closed 10 years ago

fastfrwrd commented 10 years ago

Hey there,

The compiled file was missing the variables in messageformat.include.js that you see below. Without them, pluralization messages were broken. I basically just lifted the implementation that the main project uses to correctly format the files.

I also fixed the tests and updated them to test the case of a plural message format string.

fastfrwrd commented 10 years ago

Never mind, seems there's already a PR for this.