From dff6155e7d8a7a90fdec2d5e26f38c2c3c349f0c Mon Sep 17 00:00:00 2001 From: Lemo-nade-room Date: Wed, 18 Jun 2025 22:13:24 +0900 Subject: [PATCH] Update Japanese translation for getting-started/hello-world.ja.md - Update Swift version requirement notice to match English version - Fix async/await note formatting and add macOS 12 reference - Add VSCode extension recommendation - Update internal links to use relative paths without .ja.md extension --- docs/getting-started/hello-world.ja.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/getting-started/hello-world.ja.md b/docs/getting-started/hello-world.ja.md index 77d9a0e4..e9255e2e 100644 --- a/docs/getting-started/hello-world.ja.md +++ b/docs/getting-started/hello-world.ja.md @@ -7,6 +7,9 @@ - [Install → macOS](../install/macos.ja.md) - [Install → Linux](../install/linux.ja.md) +!!! tip + Vapor ツールボックスで使用されるテンプレートには Swift 6.0 以降が必要です + ## 新規プロジェクト 最初のステップは、コンピュータに新しい Vapor プロジェクトを作成することです。ターミナルを開き、ツールボックスの新規プロジェクトコマンドを使用してください。これにより、現在のディレクトリにプロジェクトを含む新しいフォルダが作成されます。 @@ -22,8 +25,7 @@ vapor new hello -n Vapor ツールボックスを使用せずに GitHub [テンプレートリポジトリ](https://github.com/vapor/template-bare)をクローンして最新のテンプレートを取得することもできます。 !!! tip - Vapor and the template now uses `async`/`await` by default. - Vapor テンプレートは、デフォルトで `async`/`await` を使用します。 + Vapor とテンプレートは、デフォルトで `async`/`await` を使用します。 macOS 12 にアップデートできない、または `EventLoopFuture` を継続して使用する必要がある場合は、 `--branch macos10-15` フラグを使います。 @@ -58,6 +60,9 @@ Xcode のウィンドウの下部に、コンソールが表示されるはず Linux やその他 OS (または Xcode を使用したくない場合の macOS も含む)では、 Vim や VScode のようなお好きなエディタでプロジェクトを編集できます。他の IDE の設定に関する最新の詳細は、[Swift Server ガイド](https://github.com/swift-server/guides/blob/main/docs/setup-and-ide-alternatives.md)を参照してください。 +!!! tip + VSCode をコードエディタとして使用している場合は、公式の Vapor 拡張機能をインストールすることをお勧めします: [Vapor for VS Code](https://marketplace.visualstudio.com/items?itemName=Vapor.vapor-vscode) + プロジェクトをビルドして実行するには、ターミナルで以下のコマンドを実行します: ```sh