From 61648b0cb4a12fd41859805f3cfe2f7bcbd34361 Mon Sep 17 00:00:00 2001 From: cola119 Date: Wed, 15 Jan 2020 12:49:49 +0900 Subject: [PATCH 1/3] translated using-graphql-playground --- docs/docs/using-graphql-playground.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/docs/using-graphql-playground.md b/docs/docs/using-graphql-playground.md index 5fdc13b98..74d6abcee 100644 --- a/docs/docs/using-graphql-playground.md +++ b/docs/docs/using-graphql-playground.md @@ -1,25 +1,25 @@ --- -title: Using the GraphQL Playground +title: GraphQL Playgroundの利用 --- -## Intro +## イントロダクション -This page will introduce you to an alternative to the current IDE for your GraphQL queries: [GraphQL Playground](https://github.com/prisma/graphql-playground). +このページでは、現在あなたが GraphQL クエリのために使用している IDE の代替となる、[GraphQL Playground](https://github.com/prisma/graphql-playground)を紹介します。 -## What is Prisma's GraphQL Playground? +## Prisma's GraphQL Playground とは? -GraphQL Playground is a way for you to interact with the data your sources and plugins add as schemas. You will be interacting with this data a lot and the Playground will help you greatly with exploring this data. +GraphQL Playground は、ソースコードやプラグインがスキーマとして追加するデータを操作する手段です。このデータをたくさん操作することになるので、Playground はデータを探索する大きな助けとなるでしょう。 -## Accessing the playground +## GraphQL Playground へのアクセス -To access this experimental feature utilizing GraphQL Playground with Gatsby, add `GATSBY_GRAPHQL_IDE` to your `develop` script in your `package.json`, like this: +Gatsby で GraphQL Playground にアクセスするためには、以下のように `GATSBY_GRAPHQL_IDE` を `package.json` の `develop` スクリプトに追加します。 ```json "develop": "GATSBY_GRAPHQL_IDE=playground gatsby develop", ``` -Use `npm run develop` instead of `gatsby develop` and access it when the development server is running on +`gatsby develop` の代わりに `npm run develop` を使用し、立ち上がったサーバー へアクセスすることで利用できます。 -To still be able to use `gatsby develop` you would require the dotenv package to your gatsby-config.js file and add an [environment variable](/docs/environment-variables/) file, typically called `.env.development`. Finally, add `GATSBY_GRAPHQL_IDE=playground` to the `.env.development` file. +`gatsby develop` を引き続き使用するためには、gatsby-config.js で dotenv パッケージを使用する必要があります。`.env.development` といった名前で[environment variable](/docs/environment-variables/)ファイルを作成し、`.env.development` へ `GATSBY_GRAPHQL_IDE=playground` と記入します。 -![An image pointing out where to find the GraphQl schema](./images/playground-schema.png) +![GraphQLスキーマの場所を示す画像](./images/playground-schema.png) From df8e9133d35eeafe7201595a6974f782470cf948 Mon Sep 17 00:00:00 2001 From: cola119 Date: Wed, 15 Jan 2020 14:05:09 +0900 Subject: [PATCH 2/3] fix reviews --- docs/docs/using-graphql-playground.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/using-graphql-playground.md b/docs/docs/using-graphql-playground.md index 74d6abcee..820ff3e33 100644 --- a/docs/docs/using-graphql-playground.md +++ b/docs/docs/using-graphql-playground.md @@ -8,7 +8,7 @@ title: GraphQL Playgroundの利用 ## Prisma's GraphQL Playground とは? -GraphQL Playground は、ソースコードやプラグインがスキーマとして追加するデータを操作する手段です。このデータをたくさん操作することになるので、Playground はデータを探索する大きな助けとなるでしょう。 +GraphQL Playground は、ソースコードやプラグインがスキーマとして与えたデータを取り扱う場所です。あなたは今後そのようなデータをたくさん探索することになります。その際に Playground は大きな助けとなるでしょう。 ## GraphQL Playground へのアクセス From 894059055f3cdc1dc46daac39515b679538e8de3 Mon Sep 17 00:00:00 2001 From: cola119 Date: Wed, 15 Jan 2020 14:16:40 +0900 Subject: [PATCH 3/3] =?UTF-8?q?change=20from=20=E3=82=A4=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=83=AD=E3=83=80=E3=82=AF=E3=82=B7=E3=83=A7=E3=83=B3=20to=20?= =?UTF-8?q?=E3=81=AF=E3=81=98=E3=82=81=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/using-graphql-playground.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/using-graphql-playground.md b/docs/docs/using-graphql-playground.md index 820ff3e33..a6ddb5e37 100644 --- a/docs/docs/using-graphql-playground.md +++ b/docs/docs/using-graphql-playground.md @@ -2,7 +2,7 @@ title: GraphQL Playgroundの利用 --- -## イントロダクション +## はじめに このページでは、現在あなたが GraphQL クエリのために使用している IDE の代替となる、[GraphQL Playground](https://github.com/prisma/graphql-playground)を紹介します。