Refactored gatherTranslatableStrings

A little bit of cleanup