angular-translate / angular-translate/grunt-angular-translate
Ternary operator parsing produces some false results
Aberta
- Linguagem predominante
- JavaScript
- Estrelas
- 90
- Forks
- 49
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
With the patch from PR #69 the code snippet below will generate both the false translation keys `active` and `non-active` in addition to the correct one `STATE_LABEL`.
``` HTML
3 {{'STATE_LABEL' | translate}}
```
If I disable the `HtmlFilterTernary` regex (by commenting it out in `tasks/angular-translate.js` the extraction works as expected (only extracting `STATE_LABEL`).
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.