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

False 'extra variables' #2

Open
hoeni opened this issue May 5, 2015 · 1 comment
Open

False 'extra variables' #2

hoeni opened this issue May 5, 2015 · 1 comment

Comments

@hoeni
Copy link

hoeni commented May 5, 2015

Thanks for that very helpful module!

When parsing language files containing placeholders with case decisions the module shows "has extra variables compared to base"-error messages where there are no problems, as an examples shows:

"{{number==0 ? 'No' : number}} matching event{{number==1 ? '' : 's'}} found:"

It would be great to suppress these errors in case they are not just a simple variable or at least add an configuration option for omitting that kind of check completely

@mikey0000
Copy link

another false case is {{ 'here' | link: { href: '/' } }} where 'here' is a string not a variable

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

2 participants