angular-translate / angular-translate/grunt-angular-translate
Support the translate-namespace directive
- Ngôn ngữ chính
- JavaScript
- Star
- 90
- Fork
- 49
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Namespaces are supported by grunt-angular-translate, but not the https://angular-translate.github.io/docs/#/api/pascalprecht.translate.directive:translateNamespace directive. The `translate-namespace` directive allows a developer to avoid repeating the namespace in a view by extracting it to a parent element.
That is, given the following example:
```
.TITLE
.WELCOME
COMMON.FIRST_LINE
```
Expected:
```
{
"CONTENT": {
"HEADERS": {
"TITLE": "",
"WELCOME": ""
}
}
"COMMON": {
"FIRST_LINE": ""
}
}
```
Actual:
```
{
"0": {
"TITLE": "",
"WELCOME": ""
}
"COMMON": {
"FIRST_LINE": ""
}
}
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.