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

Third parameter as context not supported? #21

Open
danielpataki opened this issue Nov 8, 2017 · 0 comments
Open

Third parameter as context not supported? #21

danielpataki opened this issue Nov 8, 2017 · 0 comments

Comments

@danielpataki
Copy link

I'm creating a grunt task for extracting strings from WordPress and it has been working fine so far, thanks so much! The issue I bumped into was the _nx() function in WordPress. The first parameter is the singular, the second is the plural, the third is the context.

My keywords are set up as below:

 keywords: ["_ex:1,2c", "_x:1,2c", "_nx:1,2,3c"],

In this case the functions are not parsed at all. When I use _nx:1,2 it works fine but doesn't parse the context. If it would be possible to implement this easily that would be awesome. Once I get some breathing room from the project I'll try and submit a pull request if it remains unresolved.

Thanks so much for the grunt task :)

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

No branches or pull requests

1 participant