You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: i18n/PT-BR.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1687,11 +1687,11 @@ ou *Coletores de exceção*
1687
1687
1688
1688
### Feature File Names
1689
1689
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`.
1691
1691
1692
-
*Why?*: Provides a consistent way to quickly identify components.
1692
+
*Por que?*: Fornece uma maneira consistente para identificar components mais rapidamente.
1693
1693
1694
-
*Why?*: Provides pattern matching for any automated tasks.
1694
+
*Por que?*: Fornece um padrão apropriado pra qualquer tarefa automatizada.
1695
1695
1696
1696
```javascript
1697
1697
/**
@@ -1740,7 +1740,7 @@ ou *Coletores de exceção*
1740
1740
avenger-profile.directive.spec.js
1741
1741
```
1742
1742
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.
0 commit comments