babel-jsxgettext icon indicating copy to clipboard operation
babel-jsxgettext copied to clipboard

Extracts comments that begin with "L10n:"

Open erikdung opened this issue 7 years ago • 1 comments

Hi, is there any option to extract comments like jsxgettext? // L10n: Don't forget the exclamation mark gettext("Hello world!"); // L10n: Salutation to the world

Thanks.

erikdung avatar May 04 '17 13:05 erikdung

Hi @erikdung,

No, there isn't an option to do that yet unfortunately.

I don't think @fraserxu or myself have plans to add it soon - but it looks like a very useful feature, and if were interested in adding it we'd certainly appreciate the PR :)

Cheers, David

(Sorry about the late rely, i've been on holiday. Usually try and reply quicker!)

dsingleton avatar May 20 '17 08:05 dsingleton