-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't extract comments #89
Comments
In parse.js If I log blocks instead, it gets the comment param:
It gets the comment, but it's still not in the .pot file. |
Hi Sean, Could you create a repo that reproduces this issue? |
+1 I'm also running into this issue. Any plans to investigate @alexanderwallin? Not sure if this still waiting on a reproducible repo? |
This looks like it's broken in .tsx. Can confirm it works in .ts files |
Hi @alexanderwallin , I ran a few tests on tsx files to extract comments. Here's what I'm seeing.
My output file is only able to extract |
Using react-gettext-parser 1.16.0
Snippet form my gulpfile.js
Snippet of code I'm trying to translate:
Neither "alt img text..." or "a comment" is extracted to my .pot file.
The text was updated successfully, but these errors were encountered: