Skip to content
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

Get code fragment with keys #34

Merged
merged 1 commit into from
Aug 3, 2017

Conversation

Phyks
Copy link
Contributor

@Phyks Phyks commented Aug 3, 2017

Update extractCode function to output the location of the extracted
keys as well as the translation keys.

This would close #31.

@oliviertassinari
Copy link
Owner

Have you tried running the following script https://github.com/oliviertassinari/i18n-extract/blob/master/examples/polyglot.js? Otherwise, that looks good 👍 .

@Phyks
Copy link
Contributor Author

Phyks commented Aug 3, 2017

Yes, it is running fine on my codebase.

@Phyks
Copy link
Contributor Author

Phyks commented Aug 3, 2017

Actually, it would be better if findUnused and such method was returning the complete key object, with the location. I will update the PR.

Update `extractCode` function to output the location of the extracted
keys as well as the translation keys.

This would close oliviertassinari#31.
@Phyks
Copy link
Contributor Author

Phyks commented Aug 3, 2017

Should be done :)

@oliviertassinari oliviertassinari merged commit 9e33023 into oliviertassinari:master Aug 3, 2017
@oliviertassinari
Copy link
Owner

@Phyks Thanks!!

@Phyks
Copy link
Contributor Author

Phyks commented Aug 3, 2017

Thanks for the merge!

May I ask you to make a new release with the included PRs? Thanks a lot!

@Phyks
Copy link
Contributor Author

Phyks commented Aug 4, 2017

Awesome, thanks for the new release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get code fragments with keys
2 participants