Skip to content

Commit d92e526

Browse files
committed
Update ru-RU.md
1 parent 1873784 commit d92e526

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

ru-RU.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1743,19 +1743,18 @@
17431743

17441744
**[Back to top](#table-of-contents)**
17451745

1746-
## Naming
1746+
## Именования
17471747

1748-
### Naming Guidelines
1748+
### Рекомендации для именований
17491749
###### [Style [Y120](#style-y120)]
17501750

1751-
- 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`. There are 2 names for most assets:
1752-
* the file name (`avengers.controller.js`)
1753-
* the registered component name with Angular (`AvengersController`)
1751+
- Используйте постоянные принципы именований для всех компонентов по шаблону, который описывает особенность(feature) компонента, а затем (опционально) его тип. Я рекомендую шаблон - `feature.type.js`. Существует два типа имен для большинства случаев:
1752+
* имя файла (`avengers.controller.js`)
1753+
* имя компонента, которое зарегистрировано Angular (`AvengersController`)
17541754

1755-
*Why?*: Naming conventions help provide a consistent way to find content at a glance. Consistency within the project is vital. Consistency with a team is important. Consistency across a company provides tremendous efficiency.
1756-
1757-
*Why?*: The naming conventions should simply help you find your code faster and make it easier to understand.
1755+
*Почему?*: Соглашения об именованиях дает постояннный надежный способ поиска содержимого быстрым беглым взглядом. Согласованность в проекте жизненно важна. Согласованность в команде очень важна. Согласованность между компаниями дает огромную эффективность.
17581756

1757+
*Почему?*: Соглашения об именованиях просто должны помочь найти вам свой код быстрее, и сделать его проще для понимания.
17591758
### Feature File Names
17601759
###### [Style [Y121](#style-y121)]
17611760

0 commit comments

Comments
 (0)