diff --git a/06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/02-Build-and-deploy-your-application-with-GitHub-Copilot-for-Azure.md b/06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/02-Build-and-deploy-your-application-with-GitHub-Copilot-for-Azure.md index c2741b3..5ce8a37 100644 --- a/06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/02-Build-and-deploy-your-application-with-GitHub-Copilot-for-Azure.md +++ b/06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/02-Build-and-deploy-your-application-with-GitHub-Copilot-for-Azure.md @@ -120,7 +120,7 @@ The exact wording of the response is different each time GitHub Copilot for Azur 1. If `azd up` experiences an error, ask GitHub Copilot for Azure about the error and how you can resolve it. - > **TIP** + > **ヒント** > For an easy way to attach the last terminal command results, use the paperclip icon at the bottom left of the chat pane. GitHub Copilot for Azure doesn't know the terminal command results unless they are copy/pasted or attached via the paperclip. diff --git a/translations/ja/04-Using-GitHub-Copilot-with-CSharp/README.md b/translations/ja/04-Using-GitHub-Copilot-with-CSharp/README.md index 24fbe81..187c6f3 100644 --- a/translations/ja/04-Using-GitHub-Copilot-with-CSharp/README.md +++ b/translations/ja/04-Using-GitHub-Copilot-with-CSharp/README.md @@ -75,21 +75,21 @@ Add a breakpoint in line 24 (press F9) and refresh the browser with the Url to t ![debug the running application.](../../../04-Using-GitHub-Copilot-with-CSharp/images/009DebugBackEndDemo.png) -Pressing F10 we can debug step-by-step until line 32, where we can see the generated values. The application should have been generated samples Weather values for the next 5 days. The variable `forecast` has an array containing these values. +Pressing F10 we can debug step-by-step until line 32, where we can see the generated values. The application should have been generated samples Weather values for the next 5 days. 変数 `forecast` には、これらの値を含む配列が格納されています。 ![debug the running application.](../../../04-Using-GitHub-Copilot-with-CSharp/images/010DebugForecastValue.png) -You can stop debugging now. +これでデバッグを停止できます。 -Congratulations! Now you are ready to add more features into the app using GitHub Copilot. +おめでとうございます!これで、GitHub Copilot を使用してアプリに機能を追加する準備が整いました。 -### 🗒️ Step 2: Get familiarized with GitHub Copilot Slash Commands +### 🗒️ ステップ 2: GitHub Copilotのスラッシュコマンドに慣れる -As we start working in our codebase, we usually need to refactor some code, or get more context or explanations about it. Using GitHub Copilot Chat, we can have AI-driven conversations to perform these tasks. +コードベースで作業を開始すると、通常、コードをリファクタリングしたり、コードに関する詳細なコンテキストや説明を入手したりする必要が生じます。GitHub Copilot Chat を使用すると、AI を活用した会話を通じてこれらのタスクを実行できます。 -Open the file `Program.cs` in the BackEnd project. The file is in the following path `SampleApp\BackEnd\Program.cs`. +BackEnd プロジェクトのファイル `Program.cs` を開きます。このファイルは `SampleApp\BackEnd\Program.cs` というパスにあります。 -Now let's use a slash command, in GitHub Copilot to understand a piece of code. Select lines 22-35, press `CTRL + I` to open the inline chat, and type `/explain`に移動します。 +GitHub Copilot でスラッシュコマンドを使ってコードの一部を理解してみましょう。22行目から35行目までを選択し、`CTRL + I`を押してインラインチャットを開き、`/explain` と入力してください。 ![コードの説明をするスラッシュコマンドを使用](../../../04-Using-GitHub-Copilot-with-CSharp/images/011SlashCommandExplain.gif) @@ -105,26 +105,26 @@ The selected C# code is part of an ASP.NET Core application using the minimal AP - `/fix` to propose a fix for the problems in the selected code - `/generate` to generate code to answer your question -Let's use the `/tests` command to generate tests to the code. Select lines 39-42, press `CTRL + I` to open the inline chat, and type `/tests` (or select the /tests slash command) to generate a new set of tests for this record. +`/tests` コマンドを使ってコードのテストを生成してみましょう。39行目から42行目までを選択し、`CTRL + I` を押してインラインチャットを開き、`/tests` と入力(または /tests スラッシュコマンドを選択)して、このレコードの新しいテストセットを生成します。 ![Use slash command to generate tests for the selected piece of code](../../../04-Using-GitHub-Copilot-with-CSharp/images/012SlashCmdTests.gif) -At this point, GitHub Copilot will suggest a new class. You need to first press [Accept] to create the new file. +この時点で、GitHub Copilot は新しいクラスを提案します。新しいファイルを作成するには、まず [Accept] を押す必要があります。 -A new class `ProgramTests.cs` was created and added to the project. This tests are using XUnit, however, you can ask to generate tests using another Unit Test library with a command like this one `/tests use MSTests for unit testing`. +新しいクラス `ProgramTests.cs` が作成され、プロジェクトに追加されました。このテストはXUnitを使用していますが、`/tests use MSTests for unit testing` のようなコマンドを実行することで、別のユニットテストライブラリを使用してテストを生成することもできます。 -***Important:** We are not going to use the test file in this project. You must delete the generated test file to continue.* +***重要:** このプロジェクトではテストファイルは使用しません。続行するには、生成されたテストファイルを削除する必要があります。* -Finally, let's use the `/doc` to generate automatic documentation to the code. Select lines 39-42, press `CTRL + I` to open the inline chat, and type `/doc` (or select the command) to generate the documentation for this record. +最後に、`/doc` を使ってコードのドキュメントを自動生成しましょう。39行目から42行目までを選択し、`CTRL + I` を押してインラインチャットを開き、`/doc` と入力(またはコマンドを選択)して、このレコードのドキュメントを生成します。 ![Use slash command to generate the documentation for a piece of code](../../../04-Using-GitHub-Copilot-with-CSharp/images/013SlashCmdDoc.gif) -Inline chat, the Chat Panel, and slash commands are part of the amazing tools that support our development experience with GitHub Copilot. Now we are ready to add new features to this App. +インラインチャット、チャットパネル、スラッシュコマンドは、GitHub Copilot を使った開発環境を支える素晴らしいツールの一部です。さあ、このアプリに新機能を追加する準備が整いました。 -### 🗒️ Step 3: Generate a new Record that includes the city name +### 🗒️ ステップ3: 都市名を含む新しいレコードを生成する -Go to the `Program.cs` file in the BackEnd project. The file is in the following path `SampleApp\BackEnd\Program.cs` +BackEnd プロジェクトの `Program.cs` ファイルに移動します。このファイルは `SampleApp\BackEnd\Program.cs` というパスにあります。 ![BackEndプロジェクトのprogram.csを開く](../../../04-Using-GitHub-Copilot-with-CSharp/images/011OpenBackEndProject.png) @@ -244,4 +244,4 @@ Microsoft、Windows、Microsoft Azure、および/またはドキュメントで Microsoftおよびその他の貢献者は、各自の著作権、特許、商標に基づくその他の権利を暗黙的、禁反言またはその他の方法で留保します。 **免責事項**: -この文書は、機械ベースのAI翻訳サービスを使用して翻訳されています。正確性を追求しておりますが、自動翻訳には誤りや不正確な箇所が含まれる可能性があります。元の言語で記載された原文が信頼できる情報源と見なされるべきです。重要な情報については、専門の人間による翻訳をお勧めします。この翻訳の利用に起因する誤解や解釈の誤りについて、当方は一切の責任を負いません。 \ No newline at end of file +この文書は、機械ベースのAI翻訳サービスを使用して翻訳されています。正確性を追求しておりますが、自動翻訳には誤りや不正確な箇所が含まれる可能性があります。元の言語で記載された原文が信頼できる情報源と見なされるべきです。重要な情報については、専門の人間による翻訳をお勧めします。この翻訳の利用に起因する誤解や解釈の誤りについて、当方は一切の責任を負いません。 diff --git a/translations/ja/06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/02-Build-and-deploy-your-application-with-GitHub-Copilot-for-Azure.md b/translations/ja/06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/02-Build-and-deploy-your-application-with-GitHub-Copilot-for-Azure.md index 2c8ef09..bbb7e36 100644 --- a/translations/ja/06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/02-Build-and-deploy-your-application-with-GitHub-Copilot-for-Azure.md +++ b/translations/ja/06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/02-Build-and-deploy-your-application-with-GitHub-Copilot-for-Azure.md @@ -38,21 +38,21 @@ GitHub Copilot for Azure を開発およびデプロイのワークフローに > **IMPORTANT** GitHub Copilot for Azure の回答は、大規模言語モデルがどのように応答を生成するかによって、毎回異なる表現になります。 - 少し待つと、GitHub Copilot for Azure が `azd` template to use. Or in some cases will provide an answer like the following: + しばらくすると、GitHub Copilot for Azure が使用する `azd` テンプレートを提案するはずです。あるいは、次のような回答が返される場合もあります。 ![Screenshot that shows the GitHub Copilot chat pane](../../../06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/images/mod2-CopilotChat-3.png "Screenshot that shows a response from GitHub Copilot for Azure with instructions for using a template to create a website in Azure.") - Just Remember that the Large Language Model will understand what you tell it. Therefore, just have the conversation with it. + 大規模言語モデルはあなたが伝えたことを理解することを覚えておいてください。ですから、ただ会話を交わすだけです。 -1. If the answer provides a command that begins with `azd init` in a code fence, hover over the code fence to reveal a small pop-up action menu. +1. 回答にコード フェンス内の `azd init` で始まるコマンドが示されている場合は、コード フェンスの上にマウス カーソルを合わせると、小さなポップアップ アクション メニューが表示されます。 ![Screenshot that shows the GitHub Copilot chat pane](../../../06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/images/mod2-CopilotChat-4.png "Screenshot that shows a pop-up menu with an option to insert a code-fenced command into the Visual Studio Code terminal.") - Select **Insert into Terminal** to insert the command into the terminal. + **Insert into Terminal** を選択して、コマンドをターミナルに挿入します。 ![Screenshot that shows the GitHub Copilot chat pane](../../../06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/images/mod2-CopilotChat-5.png "Screenshot that shows the Visual Studio Code terminal after insertion of a code-fenced command.") -1. Before you run the `azd init` コマンドを提案する可能性があります。このコマンドがローカルコンピューターや Azure サブスクリプションにどのような影響を与えるかについて質問したくなるかもしれません。 +1. `azd init` コマンドを実行する前に、それがローカル コンピューターと Azure サブスクリプションにどのような影響を与えるかについて質問したくなるかもしれません。 次のプロンプトを使用します: @@ -84,9 +84,9 @@ GitHub Copilot for Azure の回答は、大規模言語モデルがどのよう ![GitHub Copilot for Azure が Azure App Service の機能に関する説明を含む応答を示すスクリーンショット](../../../06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/images/mod2-CopilotChat-8.png "Azure App Service の機能の説明を含む応答") -1. 満足したら、次のコマンドをターミナルで実行して `azd init` command in the terminal. Answer its prompts. If you're unsure what to answer for a prompt, ask GitHub Copilot for Azure for help. +1. 問題がなければ、ターミナルで `azd init` コマンドを実行し、プロンプトに答えてください。プロンプトに何と答えればよいか分からない場合は、GitHub Copilot for Azure に問い合わせてください。 -1. Before you can continue, you must authenticate the `azd` ツールを実行します: +1. 続行する前に、ターミナルで次のコマンドを実行して `azd` ツールを認証する必要があります。 ```cmd azd auth login @@ -112,19 +112,19 @@ GitHub Copilot for Azure の回答は、大規模言語モデルがどのよう ![GitHub Copilot for Azure が Azure のロケーションとその選び方に関する説明を含む応答を示すスクリーンショット](../../../06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/images/mod2-CopilotChat-9.png "Azure のロケーションに関する説明を含む応答") -5. `azd up`. Ask GitHub Copilot for Azure questions as needed. +5. `azd up`。必要に応じて、Azure に関する質問は GitHub Copilot にお問い合わせください。 - 1. When asked the location select **Canada East (canadaeast)**. + 1. 場所を尋ねられたら、**Canada East (canadaeast)** を選択します。 - Depending on the `azd` template that you're deploying and the location that you selected, the template might take 10 minutes (or more) to deploy. But we can Move on to [Module 3](./03-Get-Answers-to-your-Questions-about-Azure-Services-and-Resources.md) while it completes + デプロイする `azd` テンプレートと選択した場所によっては、テンプレートのデプロイに10分(またはそれ以上)かかる場合があります。デプロイが完了するまでに[モジュール 3](./03-Get-Answers-to-your-Questions-about-Azure-Services-and-Resources.md)に進むことができます。 -1. If `azd up` experiences an error, ask GitHub Copilot for Azure about the error and how you can resolve it. +1. `azd up` でエラーが発生した場合は、GitHub Copilot for Azure にエラーとその解決方法を問い合わせてください。 > **TIP** - > For an easy way to attach the last terminal command results, use the paperclip icon at the bottom left of the chat pane. GitHub Copilot for Azure doesn't know the terminal command results unless they are copy/pasted or attached via the paperclip. + > 最後のターミナルコマンドの結果を簡単に添付するには、チャットペインの左下にあるクリップアイコンを使用します。GitHub Copilot for Azure は、コピー/貼り付けまたはクリップボード経由で添付されない限り、ターミナルコマンドの結果を認識しません。 -1. When you are done run `azd down` のプロンプトに引き続き回答し、すべてのリソースを削除します。 +1. 完了したら、`azd down` を実行してすべてのリソースを削除します。 **免責事項**: -本書類は、機械ベースのAI翻訳サービスを使用して翻訳されています。正確性を追求しておりますが、自動翻訳には誤りや不正確さが含まれる場合があります。元の言語で記載された原文を公式な情報源としてお考えください。重要な情報については、専門の人間による翻訳を推奨いたします。本翻訳の使用に起因する誤解や解釈の誤りについて、当方は一切の責任を負いかねます。 \ No newline at end of file +本書類は、機械ベースのAI翻訳サービスを使用して翻訳されています。正確性を追求しておりますが、自動翻訳には誤りや不正確さが含まれる場合があります。元の言語で記載された原文を公式な情報源としてお考えください。重要な情報については、専門の人間による翻訳を推奨いたします。本翻訳の使用に起因する誤解や解釈の誤りについて、当方は一切の責任を負いかねます。