Skip to content

Update Japanese translations to main directory #2375

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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docs/site/docs/main/quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ https://playground.wordpress.net/?plugin=coblocks&plugin=friends&theme=pendant

To keep your WordPress Playground site for longer than a single browser session, you can export it as a `.zip` file.

1. Open the Plaground site manager panel:
1. Open the Playground site manager panel:

![Site Manager](@site/static/img/open-site-manager.webp)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ WordPress Playground can help you to create and learn WordPress quickly, even on
## Setting quickly a local WordPress environment
-->

Playground を開発ワークフローにシームレスに統合することで、ローカルの WordPress 環境を素早く起動し、コードをテストできます。[ターミナル](/developers/local-development/wp-now) または [お好みの IDE](/developers/local-development/vscode-extension) から直接実行できます。
Playground を開発ワークフローにシームレスに統合することで、ローカルの WordPress 環境を素早く起動し、コードをテストできます。[ターミナル](/developers/local-development/wp-playground-cli) または [お好みの IDE](/developers/local-development/vscode-extension) から直接実行できます。

<!--
You can seamlessly integrate Playground into your development workflow to launch a local WordPress environment quickly for testing your code. You can do this directly [from the terminal](/developers/local-development/wp-now) or [your preferred IDE.](/developers/local-development/vscode-extension)
You can seamlessly integrate Playground into your development workflow to launch a local WordPress environment quickly for testing your code. You can do this directly [from the terminal](/developers/local-development/wp-playground-cli) or [your preferred IDE.](/developers/local-development/vscode-extension)
-->

## ブロックテーマの変更を保存し、Github プルリクエストを作成します
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ slug: /contributing/coding-standards
## Error messages
-->

適切なエラーメッセージは、ユーザーに次に何をすべきかを伝えます。Playground の公開 API によってスローされるエラーに曖昧さがあると、開発者は問題をオープンすることになります
適切なエラーメッセージは、ユーザーに以下の手順を通知します。Playground の公開 API によってスローされるエラーに不明瞭な点があると、開発者は問題を報告する必要があります

<!--
A good error message tells the user what to do next. Any ambiguity in errors thrown by Playground public APIs will prompt the developers to open issues.
A good error message informs the user of the following steps to take. Any ambiguity in errors thrown by Playground public APIs will prompt the developers to open issues.
-->

たとえば、ネットワーク エラーを考えてみましょう。エラーの種類を推測し、次の手順をまとめた関連メッセージを表示できるでしょうか?
Expand All @@ -29,13 +29,13 @@ Consider a network error, for example—can we infer the type of error and displ
- **ネットワークエラー**: 「インターネット接続が不安定です。ページを再読み込みしてください。」
- **404**: 「ファイルが見つかりませんでした。」
- **403**: 「サーバーがファイルへのアクセスをブロックしました。」
- **CORS**: ブラウザのセキュリティ機能であることを明確にし、詳細な説明へのリンク( MDN などの信頼できる情報源)を追加します。ユーザーにファイルを raw.githubusercontent.com などの別の場所に移動することを提案し、サーバー上で CORS ヘッダーを設定する方法を説明したリソースへのリンクも提供します
- **CORS**: ブラウザのセキュリティ機能であることを明確にし、詳細な説明へのリンク(MDN などの信頼できる情報源)を追加します。ユーザーにファイルを `raw.githubusercontent.com` などの別の場所に移動することを提案し、サーバー上で CORS ヘッダーを設定する方法を説明したリソースへのリンクを提供します

<!--
- **Network error**: "Your internet connection twitched. Try to reload the page.
- **404**: "Could not find the file".
- **403**: "The server blocked access to the file".
- **CORS**: clarify it's a browser security feature and add a link to a detailed explanation (on MDN or another reliable source). Suggest the user move their file somewhere else, like raw.githubusercontent.com, and link to a resource explaining how to set up CORS headers on their servers.
- **CORS**: clarify it's a browser security feature and add a link to a detailed explanation (on MDN or another reliable source). Suggest the user move their file somewhere else, like `raw.githubusercontent.com`, and link to a resource explaining how to set up CORS headers on their servers.
-->

コードのフォーマットとリンティングは自動的に行われます。安心して入力し、あとは機械に任せましょう。
Expand Down Expand Up @@ -65,7 +65,7 @@ Public APIs are easy to add and hard to remove. It only takes one PR to introduc
- 不要な関数、クラス、定数、その他のコンポーネントを公開しないでください。

<!--
- Don't expose unnecessary function, class, constant, or other components.
- Don't expose unnecessary functions, classes, constants, or other components.
-->

## ブループリント
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ slug: /contributing/contributor-day
# WordCamp Contributor Day
-->

[WordPress Playground VS Code 拡張機能](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) と [wp-now](https://www.npmjs.com/package/@wp-now/wp-now) を使用すると、ローカルの WordPress 環境をセットアップするプロセスが効率化されます。WordPress Playground は両方をサポートしており、Docker、MySQL、Apache は必要ありません。
[WordPress Playground VS Code 拡張機能](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) と [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) を使用すると、ローカルの WordPress 環境をセットアップするプロセスが効率化されます。WordPress Playground は両方をサポートしており、Docker、MySQL、Apache は必要ありません。

<!--
The [WordPress Playground VS Code extension](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) and [wp-now](https://www.npmjs.com/package/@wp-now/wp-now) streamline the process of setting up a local WordPress environment. WordPress Playground powers both—no Docker, MySQL, or Apache required.
The [WordPress Playground VS Code extension](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) and [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) streamline the process of setting up a local WordPress environment. WordPress Playground powers both—no Docker, MySQL, or Apache required.
-->

WordPress に貢献する際に、[ローカル開発](/developers/local-development/wp-now) でこれらのツールを使用する方法については、読み進めてください。拡張機能と NPM パッケージは現在開発中であり、すべての [Make WordPress チーム](https://make.wordpress.org/) が完全にサポートされているわけではないことにご注意ください。
WordPress に貢献する際に、[ローカル開発](/developers/local-development/wp-playground-cli) でこれらのツールを使用する方法については、読み進めてください。拡張機能と NPM パッケージは現在開発中であり、すべての [Make WordPress チーム](https://make.wordpress.org/) が完全にサポートされているわけではないことにご注意ください。

<!--
Keep reading to learn how to use these tools for [local development](/developers/local-development/wp-now) when contributing to WordPress. Please note that the extension and the NPM package are under development, and not all [Make WordPress teams](https://make.wordpress.org/) are fully supported.
Keep reading to learn how to use these tools for [local development](/developers/local-development/wp-playground-cli) when contributing to WordPress. Please note that the extension and the NPM package are under development, and not all [Make WordPress teams](https://make.wordpress.org/) are fully supported.
-->

## はじめる
Expand All @@ -26,14 +26,6 @@ Keep reading to learn how to use these tools for [local development](/developer
## Getting Started
-->

視覚的に学習するタイプなら、ステップバイステップのビデオチュートリアルをご覧ください。自分のペースで読み進めたい場合は、以下の説明に進んでください。

<!--
If you’re a visual learner, here’s a step-by-step video tutorial. If you prefer reading at your own pace, skip to the written instructions below.
-->

<iframe title="Getting Started with wp-now for WordPress development at Contributor Day" width="752" height="423" src="https://video.wordpress.com/embed/Gn7XOCAM?cover=1&amp;preloadContent=metadata&amp;useAverageColor=1&amp;hd=1&amp;metadata_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3b3JkcHJlc3MuY29tIiwiaWF0IjoxNjg2MTQ4ODQ5LCJleHAiOjE2ODYzMjE2NDksImJsb2dfaWQiOiIyMDMxMjIxMTIiLCJndWlkIjoiR243WE9DQU0iLCJhdXRoIjoidmlkZW9wcmVzc19wbGF5YmFja190b2tlbiIsImFjY2VzcyI6InZpZGVvIiwiZXhwaXJlcyI6MTY4NjMyMTY0OX0.DJWVfePHl2nUKo8ziG81CK2VlG5Ui8vNg-dZJ7dOSq8" allow="fullscreen" loading="eager"></iframe>

### VS Code プレイグラウンド拡張機能

<!--
Expand All @@ -58,16 +50,16 @@ The [Visual Studio Code Playground extension](https://marketplace.visualstudio.c
4. A new tab will open in your browser within seconds.
-->

### wp-now NPM パッケージ
### @wp-playground/cli NPM パッケージ

<!--
### wp-now NPM package
### @wp-playground/cli NPM package
-->

`@wp-now/wp-now` は、コマンド 1 つで WordPress サイトを起動できる CLI ツールです。Docker、MySQL、Apache は必要ありません。
`@wp-playground/cli` は、コマンド 1 つで WordPress サイトを起動できる CLI ツールです。Docker、MySQL、Apache は必要ありません。

<!--
`@wp-now/wp-now` is a CLI tool that allows you to spin up a WordPress site with a single command. No Docker, MySQL, or Apache are required.
`@wp-playground/cli` is a CLI tool that allows you to spin up a WordPress site with a single command. No Docker, MySQL, or Apache are required.
-->

#### 前提条件
Expand All @@ -76,10 +68,10 @@ The [Visual Studio Code Playground extension](https://marketplace.visualstudio.c
#### Prerequisites
-->

`wp-now` には Node.js NPM が必要です。まだインストールしていない場合は、始める前に両方を[ダウンロードしてインストール](https://nodejs.org/en/download)してください。
`@wp-playground/cli` には Node.js 20.18 以降と NPM が必要です。まだインストールしていない場合は、始める前に両方を[ダウンロードしてインストール](https://nodejs.org/en/download)してください。

<!--
`wp-now` requires Node.js and NPM. If you haven’t yet, [download and install](https://nodejs.org/en/download) both before you begin.
`@wp-playground/cli` requires Node.js 20.18 or newer and NPM. If you haven’t yet, [download and install](https://nodejs.org/en/download) both before you begin.
-->

参加する Make WordPress チームによっては、インストール済みのものとは異なるバージョンの Node.js が必要になる場合があります。Node Version Manager(NVM)を使用してバージョンを切り替えることができます。[インストールガイドはこちら](https://github.com/nvm-sh/nvm#installing-and-updating)。
Expand All @@ -88,21 +80,21 @@ The [Visual Studio Code Playground extension](https://marketplace.visualstudio.c
Depending on the Make WordPress team you contribute to, you may need a different Node.js version than the one you have installed. You can use Node Version Manager (NVM) to switch between versions. [Find the installation guide here](https://github.com/nvm-sh/nvm#installing-and-updating).
-->

#### wp-now を実行する
#### `@wp-playground/cli` を実行しています

<!--
#### Run wp-now
#### Running `@wp-playground/cli`
-->

`wp-now` を使用するためにデバイスにインストールする必要はありません。プラグインまたはテーマのディレクトリに移動し、以下のコマンドで `wp-now` を起動してください。
`@wp-playground/cli` を使用するためにデバイスにインストールする必要はありません。プラグインまたはテーマのディレクトリに移動し、以下のコマンドで `@wp-playground/cli` を起動してください。

<!--
You don’t have to install `wp-now` on your device to use it. Navigate to your plugin or theme directory and start `wp-now` with the following commands:
You don’t have to install `@wp-playground/cli` on your device to use it. Navigate to your plugin or theme directory and start `@wp-playground/cli` with the following commands:
-->

```bash
cd my-plugin-or-theme-directory
npx @wp-now/wp-now start
npx @wp-playground/cli@latest server --auto-mount
```

## 貢献者へのアイデア
Expand Down Expand Up @@ -136,27 +128,27 @@ npm run dev

:::info

上記の手順が不明な場合は、公式の [Gutenberg プロジェクト貢献者ガイド](https://developer.wordpress.org/block-editor/contributors/)をご覧ください。この場合、`wp-env` が `wp-now` に置き換えられることに注意してください。
上記の手順が不明な場合は、公式の[Gutenberg プロジェクト貢献者ガイド](https://developer.wordpress.org/block-editor/contributors/)をご覧ください。この場合、`wp-env` が `@wp-playground/cli` に置き換えられることに注意してください。

:::

<!--
:::info

If you’re unsure about the steps listed above, visit the official [Gutenberg Project Contributor Guide](https://developer.wordpress.org/block-editor/contributors/). Note that in this case, `wp-now` replaces `wp-env`.
If you’re unsure about the steps listed above, visit the official [Gutenberg Project Contributor Guide](https://developer.wordpress.org/block-editor/contributors/). Note that in this case, `@wp-playground/cli` replaces `wp-env`.

:::
-->

新しいターミナルタブを開き、Gutenberg ディレクトリに移動して、`wp-now` を使用して WordPress を起動します。
新しいターミナルタブを開き、Gutenberg ディレクトリに移動して、`@wp-playground/cli` を使用して WordPress を起動します。

<!--
Open a new terminal terminal tab, navigate to the Gutenberg directory, and start WordPress using `wp-now`:
Open a new terminal terminal tab, navigate to the Gutenberg directory, and start WordPress using `@wp-playground/cli`:
-->

```bash
cd gutenberg
npx @wp-now/wp-now start
npx @wp-playground/cli@latest server --auto-mount
```

準備ができたら、変更を GitHub 上のフォークしたリポジトリにコミットしてプッシュし、Gutenberg リポジトリでプル リクエストを開きます。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ The process of creating a branch to open new PRs with translated pages on the [W
https://developer.wordpress.org/block-editor/contributors/code/git-workflow/
-->

ドキュメント ファイル (`.md` ファイル) は、Playground の GitHub リポジトリの [`/packages/docs/site/docs` の下](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/docs) に保存されます
ドキュメント ファイル (`.md` ファイル) は、Playground の GitHub リポジトリに保存されています。英語の場合は [`/packages/docs/site/docs`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/docs)、その他の言語の場合は [`/packages/docs/site/i18n`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/i18n) に保存されています

<!--
The documentation files (`.md` files) are stored in Playground's GitHub repository, [under `/packages/docs/site/docs`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/docs).
The documentation files (`.md` files) are stored in Playground's GitHub repository, [under `/packages/docs/site/docs`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/docs) for English and [`/packages/docs/site/i18n`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/i18n) for other languages.
-->

### ブラウザで編集する
Expand Down
Loading
Loading