A Danger plugin that detect duplicate entries in Localizable.strings.
$ gem install danger-duplicate_localizable_strings
Just call
duplicate_localizable_strings.check_localizable_duplicates
in your Dangerfile and you're all set 🎉
You can also call localizable_duplicate_entries to get an array of hashes
containing Localizable.strings file path under file and duplicate entry
key under key.
- Clone this repo
- Run bundle installto setup dependencies.
- Run bundle exec rake specto run the tests.
- Use bundle exec guardto automatically have tests run as you make changes.
- Make your changes.