Skip to content

computed.md translation #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 18, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
computed.md pre review
  • Loading branch information
ValeriiMal committed Aug 17, 2020
commit f90f0d9ca380695f7da1e59f237502029c31a0d9
4 changes: 2 additions & 2 deletions src/v2/guide/computed.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: guide
order: 5
---

## Обчислювані поля
## Обчислені поля
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Варто зауважити, що "поля" звично перекладаються з слова fields. Хоч це є синонімом в даному контексті, але я б лишив таки як Обчислювані властивості. Обчислені — це вже доконана дія, тобто більше обчислювання не очікується. Обчислювані — тому що вони постійно обчислюються при змінах в реактивних змінних, від яких вони залежать.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++


<div class="vueschool"><a href="https://vueschool.io/lessons/vuejs-computed-properties?friend=vuejs" target="_blank" rel="sponsored noopener" title="Вивчи, як обчислені поля працюють з Vue School">Вивчи, як обчислені поля працюють на безкоштовних уроках Vue School</a></div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Звертання на "ви" зараз вжито у інших сторінках даного перекладу. Думаю, добре було б так вживати скрізь заради консистентності.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++


Expand All @@ -18,7 +18,7 @@ order: 5

Тепер шаблон більше не простий і декларативний. Тобі необхідно дивитися на нього протягом секунди щоб зрозуміти що він показує `message` в зворотньому напрямку. Проблема укладнюється якщо ти хочеш включити перевернуте повідомлення в шаблон більше одного разу.

Ось чому для будь якої комплексної логіки тобі потрібно використовувати **обчислювані поля**
Ось чому для будь якої комплексної логіки тобі потрібно використовувати **обчислені поля**

### Простий приклад

Expand Down