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

Render a warning when parsing non-static non-strings #16

Open
alexanderwallin opened this issue Feb 16, 2017 · 0 comments
Open

Render a warning when parsing non-static non-strings #16

alexanderwallin opened this issue Feb 16, 2017 · 0 comments

Comments

@alexanderwallin
Copy link
Collaborator

The point of this extractor is to suck out static strings from your code and into a .pot file, so that you don't have to define a huge object of strings in a random file and then use key-value objects in the source code to render them.

I see two benefits with showing a warning when parsing non-static non-strings:

  1. to remind of the above purpose; and
  2. to give heads up on potential code smells when using mapped functions/components in a way they maybe weren't designed for.

This could be enabled or disabled using a config flag.

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