fnando/i18n-js — pull request #102 by sideshowbandana (2012-08-15 23:37:38+00:00)
Title: Multiple filters

Check that SimplesIdeias::I18n.export! can filter multiple
translations and export a JS file per locale.
- Add a test for filtering multiple items with a js file for each locale
- Fix having an array for the only attribute
- Fix the case where filter returns nil
- Fix the case where a yaml file has a key that doesn't point to a hash
- Change export! to return a hash of all of the translations that were
written to disk
- Instead of having to create a new yaml file to get the correct options
that you are looking for, you can mock out the config options of an
existing yaml file.