Skip to content

Commit 84ae1db

Browse files
shimotmkadamziel
authored andcommitted
Update Japanese translations to main directory (#2375)
1 parent 8921fa4 commit 84ae1db

File tree

11 files changed

+238
-143
lines changed

11 files changed

+238
-143
lines changed

packages/docs/site/docs/main/quick-start-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ https://playground.wordpress.net/?plugin=coblocks&plugin=friends&theme=pendant
5555

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

58-
1. Open the Plaground site manager panel:
58+
1. Open the Playground site manager panel:
5959

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

packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/about/build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ WordPress Playground can help you to create and learn WordPress quickly, even on
2323
## Setting quickly a local WordPress environment
2424
-->
2525

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

2828
<!--
29-
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)
29+
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)
3030
-->
3131

3232
## ブロックテーマの変更を保存し、Github プルリクエストを作成します

packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/contributing/coding-standards.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ slug: /contributing/coding-standards
1414
## Error messages
1515
-->
1616

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

1919
<!--
20-
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.
20+
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.
2121
-->
2222

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

3434
<!--
3535
- **Network error**: "Your internet connection twitched. Try to reload the page.
3636
- **404**: "Could not find the file".
3737
- **403**: "The server blocked access to the file".
38-
- **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.
38+
- **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.
3939
-->
4040

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

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

7171
## ブループリント

packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/contributing/contributor-day.md

Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ slug: /contributing/contributor-day
88
# WordCamp Contributor Day
99
-->
1010

11-
[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 は必要ありません。
11+
[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 は必要ありません。
1212

1313
<!--
14-
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.
14+
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.
1515
-->
1616

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

1919
<!--
20-
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.
20+
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.
2121
-->
2222

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

29-
視覚的に学習するタイプなら、ステップバイステップのビデオチュートリアルをご覧ください。自分のペースで読み進めたい場合は、以下の説明に進んでください。
30-
31-
<!--
32-
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.
33-
-->
34-
35-
<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>
36-
3729
### VS Code プレイグラウンド拡張機能
3830

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

61-
### wp-now NPM パッケージ
53+
### @wp-playground/cli NPM パッケージ
6254

6355
<!--
64-
### wp-now NPM package
56+
### @wp-playground/cli NPM package
6557
-->
6658

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

6961
<!--
70-
`@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.
62+
`@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.
7163
-->
7264

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

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

8173
<!--
82-
`wp-now` requires Node.js and NPM. If you haven’t yet, [download and install](https://nodejs.org/en/download) both before you begin.
74+
`@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.
8375
-->
8476

8577
参加する Make WordPress チームによっては、インストール済みのものとは異なるバージョンの Node.js が必要になる場合があります。Node Version Manager(NVM)を使用してバージョンを切り替えることができます。[インストールガイドはこちら](https://github.com/nvm-sh/nvm#installing-and-updating)
@@ -88,21 +80,21 @@ The [Visual Studio Code Playground extension](https://marketplace.visualstudio.c
8880
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).
8981
-->
9082

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

9385
<!--
94-
#### Run wp-now
86+
#### Running `@wp-playground/cli`
9587
-->
9688

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

9991
<!--
100-
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:
92+
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:
10193
-->
10294

10395
```bash
10496
cd my-plugin-or-theme-directory
105-
npx @wp-now/wp-now start
97+
npx @wp-playground/cli@latest server --auto-mount
10698
```
10799

108100
## 貢献者へのアイデア
@@ -136,27 +128,27 @@ npm run dev
136128

137129
:::info
138130

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

141133
:::
142134

143135
<!--
144136
:::info
145137
146-
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`.
138+
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`.
147139
148140
:::
149141
-->
150142

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

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

157149
```bash
158150
cd gutenberg
159-
npx @wp-now/wp-now start
151+
npx @wp-playground/cli@latest server --auto-mount
160152
```
161153

162154
準備ができたら、変更を GitHub 上のフォークしたリポジトリにコミットしてプッシュし、Gutenberg リポジトリでプル リクエストを開きます。

packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/contributing/documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ The process of creating a branch to open new PRs with translated pages on the [W
5858
https://developer.wordpress.org/block-editor/contributors/code/git-workflow/
5959
-->
6060

61-
ドキュメント ファイル (`.md` ファイル) は、Playground の GitHub リポジトリの [`/packages/docs/site/docs` の下](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/docs) に保存されます
61+
ドキュメント ファイル (`.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) に保存されています
6262

6363
<!--
64-
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).
64+
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.
6565
-->
6666

6767
### ブラウザで編集する

0 commit comments

Comments
 (0)