Issue 315 text substitutions

Fixes #315 - I think this covers everything except for the manifest.xml.