krakenjs/grunt-localizr — pull request #3 by mikehedman (2014-11-26 19:07:04+00:00)
Title: Allowing for an alternate root template directory.

When I run the localizer task on the following dir:
client/templates
I get a resulting directory structure that prunes off the leading "c":
tmp/US/en/lient/templates/....
I was expecting:
tmp/US/en/client/templates/....
I think the problem is in the utils.getRelative() function that prunes off the first character. I'm guessing it's thinking that the first character will be a directory separator, but for me there is no leading separator, so it just prunes off my leading character.
But, really, in the output directories I don't really want the "client/templates" segments in the path either. So my PR makes it possible to specify an alternate to the default "public/templates"