Skip to content

Commit bcfa207

Browse files
committed
Update PT-BR.md
Translate Feature File Names
1 parent 1b3ec2f commit bcfa207

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

i18n/PT-BR.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,11 +1687,11 @@ ou *Coletores de exceção*
16871687
16881688
### Feature File Names
16891689
1690-
- Use consistent names for all components following a pattern that describes the component's feature then (optionally) its type. My recommended pattern is `feature.type.js`.
1690+
- Use nomes consistentes para todos os componentes seguindo um padrão que descreve a funcionalidade do componente e, em seguida, (opcionalmente) o seu tipo. Meu padrão recomendado é `feature.type.js`.
16911691
1692-
*Why?*: Provides a consistent way to quickly identify components.
1692+
*Por que?*: Fornece uma maneira consistente para identificar components mais rapidamente.
16931693
1694-
*Why?*: Provides pattern matching for any automated tasks.
1694+
*Por que?*: Fornece um padrão apropriado pra qualquer tarefa automatizada.
16951695
16961696
```javascript
16971697
/**
@@ -1740,7 +1740,7 @@ ou *Coletores de exceção*
17401740
avenger-profile.directive.spec.js
17411741
```
17421742
1743-
Note: Another common convention is naming controller files without the word `controller` in the file name such as `avengers.js` instead of `avengers.controller.js`. All other conventions still hold using a suffix of the type. Controllers are the most common type of component so this just saves typing and is still easily identifiable. I recommend you choose 1 convention and be consistent for your team.
1743+
Nota: Outra convenção comum é nomear arquivos dos controladores sem a palavra `controller` no nome do arquivo como` avengers.js` em vez de `avengers.controller.js`. Todas as outras convenções ainda detêm usando um sufixo do tipo. Controladores são o tipo mais comum de componente para isso só economiza digitação e ainda é facilmente identificável. Eu recomendo que você escolha uma convenção que seja mais coerente para sua equipe.
17441744
17451745
```javascript
17461746
/**

0 commit comments

Comments
 (0)