angular-gettext icon indicating copy to clipboard operation
angular-gettext copied to clipboard

Option for custom id transforms.

Open sullivanpt opened this issue 10 years ago • 0 comments

A custom id mapping can be provided. Examples: // do not trim the whitespace from the string ends (the current default) catalog.setIdTransform(fn(s) { return s; }) // apply html whitespace trimming rules catalog.setIdTransform(fn(s) { return s.replace(/\s+/g,' '); })

I am also submitting a matching pull request for rubenv/angular-gettext-tools References rubenv/grunt-angular-gettext#1, rubenv/angular-gettext#183

sullivanpt avatar Apr 27 '15 22:04 sullivanpt