tundra.document:translate - fix variable substitution bug in error message