Skip to content

Japanese Translation: ja/head.md #33

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 4 commits into from
Jun 20, 2017

Conversation

inouetakuya
Copy link
Collaborator

"Head Management" の翻訳 · Issue #11 · open-source-translators/vue-ssr-docs について翻訳作業を行いました。レビューをお願いします!

Check out a review request at GitLocalize 😄

@@ -0,0 +1,100 @@
# ヘッドの管理

アセットの挿入と同様に、ヘッドの管理も同じ考えに追従しています。つまり、コンポーネントのライフサイクルのレンダリング `context` に動的にデータを付随させ、そして `template` 内にデータを挿入できるという考えです。
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Similar to asset injection, head management follows the same idea: we can dynamically attach data to the render context in a component's lifecycle, and then interpolate those data in template.

ここ... 自信がないです。意味としてが正しいかも自信がないし、日本語として読みやすいかも自信がない。

Copy link
Collaborator

Choose a reason for hiding this comment

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

LGTM 👍

ja/head.md Outdated

アセットの挿入と同様に、ヘッドの管理も同じ考えに追従しています。つまり、コンポーネントのライフサイクルのレンダリング `context` に動的にデータを付随させ、そして `template` 内にデータを挿入できるという考えです。

そうするためには、ネストしたコンポーネントの内側で SSR コンテキストへアクセスできる必要があります。単純に `context` を `createApp()` へ渡し、これをルートインスタンスの `$options` で露出させることができます。
Copy link
Collaborator Author

@inouetakuya inouetakuya Jun 15, 2017

Choose a reason for hiding this comment

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

#25 (comment) と同様、露出公開 に変更します。

}
```

これと同様のことが `provide/inject` 経由でも可能ですが、そうすると context が `$root` 上に存在することになるため、インジェクションを解決するコストを避けたほうが良いでしょう。
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This can also be done via provide/inject, but since we know it's going to be on $root, we can avoid the injection resolution costs.

ここ、自信が無いので、重点的にみていただきたいです。特に後半の

but since we know it's going to be on $root, we can avoid the injection resolution costs.

が自信ないです。

Copy link
Collaborator

Choose a reason for hiding this comment

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

LGTM! 👍

</html>
```

**メモ:**
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Notes:

他の箇所ではどのように訳しているか確認して、合わせます。

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

他の箇所では特になかったので、このまま行きます。

Copy link
Collaborator

@kazupon kazupon left a comment

Choose a reason for hiding this comment

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

レビュー 👀 しました。
コメント 💬 した部分の対応お願いします!

ja/head.md Outdated
```js
// title-mixin.js
function getTitle (vm) {
// components can simply provide a `title` option
Copy link
Collaborator

Choose a reason for hiding this comment

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

ここのコメントの翻訳もお願いします! 🙏

@inouetakuya
Copy link
Collaborator Author

@kazupon

レビューありがとうございます!指摘いただいた箇所に対応しましたので確認お願いしますー

@kazupon
Copy link
Collaborator

kazupon commented Jun 20, 2017

🙆
ありがとうございました!

@kazupon kazupon merged commit c7d6627 into open-source-translators:master Jun 20, 2017
@inouetakuya inouetakuya deleted the gitlocalize-89 branch June 20, 2017 16:48
kazupon pushed a commit that referenced this pull request Jul 9, 2017
Signed-off-by: Bruno Lesieur <[email protected]>
sotayamashita pushed a commit to sotayamashita/vue-ssr-docs that referenced this pull request Sep 27, 2017
* Translate SUMMARY.md via GitLocalize

* Revert "Chinese Translation: zh/summary"

* Revert "Revert "Chinese Translation: zh/summary""

* Japanese Translation: ja/css.md (open-source-translators#19)

* Translate css.md via GitLocalize

* Translate css.md via GitLocalize

* Update css.md

Remove style closing tags

* Translate css.md via GitLocalize

* Update css.md

* Translate api.md via GitLocalize

* Translate streaming.md via GitLocalize (open-source-translators#22)

* Translate caching.md via GitLocalize (open-source-translators#23)

* Japanese Translation: ja/routing.md (open-source-translators#18)

* Translate routing.md via GitLocalize

* Translate routing.md via GitLocalize

* Translate universal.md via GitLocalize (open-source-translators#29)

* ja/api.md (open-source-translators#28)

* Translate api.md via GitLocalize

* Translate api.md via GitLocalize

* Translate api.md via GitLocalize

* Translate api.md via GitLocalize

* Translate build-config.md via GitLocalize (open-source-translators#27)

* Translate build-config.md via GitLocalize

* Translate build-config.md via GitLocalize

* Translate build-config.md via GitLocalize

* Japanese translation: bundle-renderer.md (open-source-translators#30)

* Translate bundle-renderer.md via GitLocalize

* Translate bundle-renderer.md via GitLocalize

* Translate basic.md (open-source-translators#32)

* Translate basic.md via GitLocalize

* Translate basic.md via GitLocalize

* Translate basic.md via GitLocalize

* Translate basic.md via GitLocalize

* Japanese Translation: ja/data.md (open-source-translators#25)

* Translate data.md via GitLocalize

* Translate data.md via GitLocalize

* Fix typos

* コード内のコメントを日本語に翻訳した

* コード内のコメントの意図をより明確にした

* expose はモジュールとしての公開するという意味なので訳を変更した

* 原文に ... とあるので一応残しておく

* "Client Side Hydration" の翻訳 (open-source-translators#36)

* Translate hydration.md via GitLocalize

* Translate hydration.md via GitLocalize

* Japanese Translation: ja/head.md (open-source-translators#33)

* Translate head.md via GitLocalize

* Translate head.md via GitLocalize

* expose はモジュールとして公開するという意味なので公開という言葉を使うようにした

* コードのコメントの翻訳が漏れていた

* Japanese Translation: ja/routing.md (open-source-translators#38)

* Translate routing.md via GitLocalize

* Translate routing.md via GitLocalize

* Japanese Translation: ja/caching.md (open-source-translators#37)

* Translate caching.md via GitLocalize

* Translate caching.md via GitLocalize

* translated the "source code structure" into Japanese. (open-source-translators#26)

* Translate structure.md via GitLocalize

* Translate structure.md via GitLocalize

* Translate structure.md via GitLocalize

* Japanese Translation: ja/SUMMARY.md (open-source-translators#35)

* Translate SUMMARY.md via GitLocalize

* hydration.md と合わせた

"Client Side Hydration" の翻訳 by hikimon · Pull Request open-source-translators#36 · open-source-translators/vue-ssr-docs
open-source-translators#36

* en/ に合わせてインデントを 2 にした

* Renderer 生成時の各オプションの階層を下げた。en/ でもそうなっている

* Japanese translation: readme.md (open-source-translators#39)

* Translate README.md via GitLocalize

* Translate README.md via GitLocalize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants