traverses a given directory hierarchy looking for all strings within those files. Returns a list with filename and line number and string of every occurrence found.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
Gemfile
MIT-LICENSE.txt
Rakefile
Readme.md
string_hound.gemspec

Readme.md

String hound

Given a directory, StringHound recursively searches the directory heirarchy looking for any hardcoded strings. When found, it prints them to standard out in the form:

<filename>: <line> <string value>

In speak mode, Stringhound will also insert a suggested i18n conversion of all strings it finds into the file it finds them in, as well as insert the same key and translation into the default yml file