angular-translate / angular-translate/grunt-angular-translate
Support the translate-namespace directive
- Linguagem predominante
- JavaScript
- Estrelas
- 90
- Forks
- 49
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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": ""
}
}
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.