angular-translate / angular-translate/grunt-angular-translate
Support the translate-namespace directive
- Langage dominant
- JavaScript
- Étoiles
- 90
- Forks
- 49
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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": ""
}
}
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.