-
Notifications
You must be signed in to change notification settings - Fork 52
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
make-pot: scan any theme.json
file in any level
#424
Conversation
Signed-off-by: Pascal Birchler <pascalb@google.com>
Signed-off-by: Pascal Birchler <pascalb@google.com>
@oandregal @ocean90 would appreciate your feedback on this. |
I've looked at the command used to extract core strings. It creates a few different files:
I suppose we should exclude With the limited context I have about how the extraction works, I believe the i18n-command should never skip a path. It's the consumer responsibility to configure the command properly and they can already |
Signed-off-by: Pascal Birchler <pascalb@google.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This direction sounds good to me, thanks for the quick fix.
I've shared an edge case that we may want to address before merging.
Thanks @oandregal for your help and thinking of all possible edge cases here 🦸 🚀 @wp-cli/committers if someone could give this a quick review & approval, that would be greatly appreciated! |
theme.json
file in any level, for any type of project/styles
folder if it is a theme (this restriction is new)Fixes #423