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 install
to setup dependencies. - Run
bundle exec rake spec
to run the tests. - Use
bundle exec guard
to automatically have tests run as you make changes. - Make your changes.