From 8d55543acc8457bec6569c84cd70a5eaf71285f2 Mon Sep 17 00:00:00 2001 From: tkt989 Date: Sun, 19 Jan 2020 15:31:45 +0900 Subject: [PATCH 1/7] Translate docs/sharing-components-across-websites --- docs/docs/sharing-components-across-websites.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/docs/sharing-components-across-websites.md b/docs/docs/sharing-components-across-websites.md index 6361efdc8..e4a3b191b 100644 --- a/docs/docs/sharing-components-across-websites.md +++ b/docs/docs/sharing-components-across-websites.md @@ -1,20 +1,20 @@ --- -title: Sharing Components Across Websites +title: Webサイト間でコンポーネントを共有する issue: https://github.com/gatsbyjs/gatsby/issues/14042 --- -One of the benefits of multiple teams using Gatsby within your organization is the ability to share React components across different websites. +組織内の複数のチームで Gatsby を使う利点の 1 つは、異なる Web サイト間で React コンポーネントを共有できることです。 -There are several strategies here. +共有する方法はいくつかあります。 -**Component libraries** are a cleaner and purer approach, but often requiring additional tooling or causing some changes to require pull requests to multiple. +**コンポーネントライブラリー**は明確で純粋なやり方です。しかし、しばしば追加のツールや変更によって複数のサイトへプルリクエストが必要となります。 -Alternately, teams can implement **systems for component discoverability**, such as [Storybook](https://github.com/storybookjs/storybook) or [Styleguidist](https://github.com/styleguidist/react-styleguidist), on a per-site basis and simply copy-paste desired code across repositories. +あるいは、サイトごとに [Storybook](https://github.com/storybookjs/storybook) や [Styleguidist](https://github.com/styleguidist/react-styleguidist) などの**コンポーネントを見つけやすくするツール**を導入することで、リポジトリーをまたがって簡単に目的のコードをコピー&ペーストできます。 -To avoid copy-pasting and reuse components instead you can use **component-sharing tools** such as [Bit](https://github.com/teambit/bit) to reuse and sync components between websites. +[Bit](https://github.com/teambit/bit) などの**コンポーネント共有ツール**を使うことで、コピー&ペーストせずに Web サイト間でコンポーネントの再利用と同期を行えます。 -- -**Note:** do you have additional ideas on sharing components across websites? We welcome contributions to the Gatsby docs. Find out [how to contribute](/contributing/docs-contributions/). +**ヒント:** この他に、 Web サイト間でコンポーネントを共有するアイデアをご存知ですか?  Gatsby ドキュメントへの貢献をお待ちしています。[貢献する方法](/contributing/docs-contributions/)をご覧ください。 From e3ab169e66a6eeb2a3d0e83e7561a21b1ede8fcb Mon Sep 17 00:00:00 2001 From: tkt989 <1921209+tkt989@users.noreply.github.com> Date: Mon, 27 Jan 2020 08:53:58 +0900 Subject: [PATCH 2/7] Update docs/docs/sharing-components-across-websites.md Co-Authored-By: Yasuaki Uechi --- docs/docs/sharing-components-across-websites.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/sharing-components-across-websites.md b/docs/docs/sharing-components-across-websites.md index e4a3b191b..eca200e6e 100644 --- a/docs/docs/sharing-components-across-websites.md +++ b/docs/docs/sharing-components-across-websites.md @@ -1,5 +1,5 @@ --- -title: Webサイト間でコンポーネントを共有する +title: ウェブサイト間でコンポーネントを共有する issue: https://github.com/gatsbyjs/gatsby/issues/14042 --- From ec2747523efcfb08070bc16d3e093d71526482c6 Mon Sep 17 00:00:00 2001 From: tkt989 <1921209+tkt989@users.noreply.github.com> Date: Mon, 27 Jan 2020 08:54:08 +0900 Subject: [PATCH 3/7] Update docs/docs/sharing-components-across-websites.md Co-Authored-By: Yasuaki Uechi --- docs/docs/sharing-components-across-websites.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/sharing-components-across-websites.md b/docs/docs/sharing-components-across-websites.md index eca200e6e..d972b424c 100644 --- a/docs/docs/sharing-components-across-websites.md +++ b/docs/docs/sharing-components-across-websites.md @@ -3,7 +3,7 @@ title: ウェブサイト間でコンポーネントを共有する issue: https://github.com/gatsbyjs/gatsby/issues/14042 --- -組織内の複数のチームで Gatsby を使う利点の 1 つは、異なる Web サイト間で React コンポーネントを共有できることです。 +組織内の複数のチームで Gatsby を使う利点の 1 つは、異なるウェブサイト間で React コンポーネントを共有できることです。 共有する方法はいくつかあります。 From 697e1050c248c0b1cded3b79ba1deb77589b2729 Mon Sep 17 00:00:00 2001 From: tkt989 <1921209+tkt989@users.noreply.github.com> Date: Mon, 27 Jan 2020 08:54:16 +0900 Subject: [PATCH 4/7] Update docs/docs/sharing-components-across-websites.md Co-Authored-By: Yasuaki Uechi --- docs/docs/sharing-components-across-websites.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/sharing-components-across-websites.md b/docs/docs/sharing-components-across-websites.md index d972b424c..2b7986d7b 100644 --- a/docs/docs/sharing-components-across-websites.md +++ b/docs/docs/sharing-components-across-websites.md @@ -7,7 +7,7 @@ issue: https://github.com/gatsbyjs/gatsby/issues/14042 共有する方法はいくつかあります。 -**コンポーネントライブラリー**は明確で純粋なやり方です。しかし、しばしば追加のツールや変更によって複数のサイトへプルリクエストが必要となります。 +**コンポーネントライブラリー**は明確で純粋なやり方です。しかし、しばしば追加のツールや変更によって複数のサイトへプルリクエストする必要があります。 あるいは、サイトごとに [Storybook](https://github.com/storybookjs/storybook) や [Styleguidist](https://github.com/styleguidist/react-styleguidist) などの**コンポーネントを見つけやすくするツール**を導入することで、リポジトリーをまたがって簡単に目的のコードをコピー&ペーストできます。 From 8cd9ac95a509e5194906e2f66c0a1ad9f830f285 Mon Sep 17 00:00:00 2001 From: tkt989 <1921209+tkt989@users.noreply.github.com> Date: Mon, 27 Jan 2020 08:54:23 +0900 Subject: [PATCH 5/7] Update docs/docs/sharing-components-across-websites.md Co-Authored-By: Yasuaki Uechi --- docs/docs/sharing-components-across-websites.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/sharing-components-across-websites.md b/docs/docs/sharing-components-across-websites.md index 2b7986d7b..b3dec38c3 100644 --- a/docs/docs/sharing-components-across-websites.md +++ b/docs/docs/sharing-components-across-websites.md @@ -17,4 +17,4 @@ issue: https://github.com/gatsbyjs/gatsby/issues/14042 -- -**ヒント:** この他に、 Web サイト間でコンポーネントを共有するアイデアをご存知ですか?  Gatsby ドキュメントへの貢献をお待ちしています。[貢献する方法](/contributing/docs-contributions/)をご覧ください。 +**ヒント:** この他に、 Web サイト間でコンポーネントを共有するアイデアをご存知ですか?Gatsby ドキュメントへの貢献をお待ちしています。[貢献する方法](/contributing/docs-contributions/)をご覧ください。 From 2b2f26089ab1eab950034e60ca4a01b1466ad891 Mon Sep 17 00:00:00 2001 From: tkt989 <1921209+tkt989@users.noreply.github.com> Date: Mon, 27 Jan 2020 08:59:06 +0900 Subject: [PATCH 6/7] Update sharing-components-across-websites.md --- docs/docs/sharing-components-across-websites.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/sharing-components-across-websites.md b/docs/docs/sharing-components-across-websites.md index b3dec38c3..6fb24a760 100644 --- a/docs/docs/sharing-components-across-websites.md +++ b/docs/docs/sharing-components-across-websites.md @@ -11,10 +11,10 @@ issue: https://github.com/gatsbyjs/gatsby/issues/14042 あるいは、サイトごとに [Storybook](https://github.com/storybookjs/storybook) や [Styleguidist](https://github.com/styleguidist/react-styleguidist) などの**コンポーネントを見つけやすくするツール**を導入することで、リポジトリーをまたがって簡単に目的のコードをコピー&ペーストできます。 -[Bit](https://github.com/teambit/bit) などの**コンポーネント共有ツール**を使うことで、コピー&ペーストせずに Web サイト間でコンポーネントの再利用と同期を行えます。 +[Bit](https://github.com/teambit/bit) などの**コンポーネント共有ツール**を使うことで、コピー&ペーストせずにウェブサイト間でコンポーネントの再利用と同期を行えます。 -- -**ヒント:** この他に、 Web サイト間でコンポーネントを共有するアイデアをご存知ですか?Gatsby ドキュメントへの貢献をお待ちしています。[貢献する方法](/contributing/docs-contributions/)をご覧ください。 +**ヒント:** この他に、ウェブサイト間でコンポーネントを共有するアイデアをご存知ですか?Gatsby ドキュメントへの貢献をお待ちしています。[貢献する方法](/contributing/docs-contributions/)をご覧ください。 From 10893973052330d9e83c34abe8dfe3a3574bd625 Mon Sep 17 00:00:00 2001 From: tkt989 <1921209+tkt989@users.noreply.github.com> Date: Mon, 27 Jan 2020 11:48:43 +0900 Subject: [PATCH 7/7] Update docs/docs/sharing-components-across-websites.md Co-Authored-By: Jesse Katsumata --- docs/docs/sharing-components-across-websites.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/sharing-components-across-websites.md b/docs/docs/sharing-components-across-websites.md index 6fb24a760..c9f5c4a7d 100644 --- a/docs/docs/sharing-components-across-websites.md +++ b/docs/docs/sharing-components-across-websites.md @@ -17,4 +17,4 @@ issue: https://github.com/gatsbyjs/gatsby/issues/14042 -- -**ヒント:** この他に、ウェブサイト間でコンポーネントを共有するアイデアをご存知ですか?Gatsby ドキュメントへの貢献をお待ちしています。[貢献する方法](/contributing/docs-contributions/)をご覧ください。 +**ヒント:** この他に、ウェブサイト間でコンポーネントを共有するアイデアをご存知ですか?Gatsby ドキュメントへの貢献をお待ちしています。[貢献する方法](/contributing/docs-contributions/)をご覧ください。