angular-translate / angular-translate/grunt-angular-translate
Ternary operator parsing produces some false results
Aperta
- Lingua principale
- JavaScript
- Stelle
- 90
- Fork
- 49
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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`).
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.