angular-translate / angular-translate/grunt-angular-translate
Ternary operator parsing produces some false results
未關閉
- 主要語言
- JavaScript
- 星號
- 90
- 分支
- 49
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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`).
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。