Skip to content

Commit 975d5b4

Browse files
committed
2025-09-29までの原文変更点反映。
1 parent 081caea commit 975d5b4

File tree

10 files changed

+52
-28
lines changed

10 files changed

+52
-28
lines changed

original-en/billing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
When upgrading to a new version of Cashier, it's important that you carefully review [the upgrade guide](https://github.com/laravel/cashier-stripe/blob/master/UPGRADE.md).
8383

8484
> [!WARNING]
85-
> To prevent breaking changes, Cashier uses a fixed Stripe API version. Cashier 15 utilizes Stripe API version `2023-10-16`. The Stripe API version will be updated on minor releases in order to make use of new Stripe features and improvements.
85+
> To prevent breaking changes, Cashier uses a fixed Stripe API version. Cashier 16 utilizes Stripe API version `2025-07-30.basil`. The Stripe API version will be updated on minor releases in order to make use of new Stripe features and improvements.
8686
8787
<a name="installation"></a>
8888
## Installation

original-en/mcp.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ class CurrentWeatherTool extends Tool
312312
->description('The location to get the weather for.')
313313
->required(),
314314

315-
'units' => $schema->enum(['celsius', 'fahrenheit'])
315+
'units' => $schema->array()
316+
->enum(['celsius', 'fahrenheit'])
316317
->description('The temperature units to use.')
317318
->default('celsius'),
318319
];

original-en/pint.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,7 @@ jobs:
206206
uses: shivammathur/setup-php@v2
207207
with:
208208
php-version: ${{ matrix.php }}
209-
extensions: json, dom, curl, libxml, mbstring
210-
coverage: none
211-
212-
- name: Install Pint
213-
run: composer global require laravel/pint
209+
tools: pint
214210

215211
- name: Run Pint
216212
run: pint

original-en/starter-kits.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [React](#react-customization)
1111
- [Vue](#vue-customization)
1212
- [Livewire](#livewire-customization)
13+
- [Two-Factor Authentication](#two-factor-authentication)
1314
- [WorkOS AuthKit Authentication](#workos)
1415
- [Inertia SSR](#inertia-ssr)
1516
- [Community Maintained Starter Kits](#community-maintained-starter-kits)
@@ -269,6 +270,20 @@ To change your authentication layout, modify the layout that is used by your app
269270
</x-layouts.auth.split>
270271
```
271272

273+
<a name="two-factor-authentication"></a>
274+
## Two-Factor Authentication
275+
276+
All starter kits include built-in two-factor authentication (2FA) powered by [Laravel Fortify](/docs/{{version}}/fortify#two-factor-authentication), adding an extra layer of security to user accounts. Users can protect their accounts using any Time-based One-Time Password (TOTP) supporting authenticator application.
277+
278+
Two-factor authentication is enabled by default and supports all options provided by [Fortify](/docs/{{version}}/fortify#two-factor-authentication):
279+
280+
```php
281+
Features::twoFactorAuthentication([
282+
'confirm' => true,
283+
'confirmPassword' => true,
284+
]);
285+
```
286+
272287
<a name="workos"></a>
273288
## WorkOS AuthKit Authentication
274289

original-en/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,7 @@ $validator = Validator::make($request->all(), [
25462546
<a name="error-message-indexes-and-positions"></a>
25472547
### Error Message Indexes and Positions
25482548

2549-
When validating arrays, you may want to reference the index or position of a particular item that failed validation within the error message displayed by your application. To accomplish this, you may include the `:index` (starts from `0`) and `:position` (starts from `1`) placeholders within your [custom validation message](#manual-customizing-the-error-messages):
2549+
When validating arrays, you may want to reference the index or position of a particular item that failed validation within the error message displayed by your application. To accomplish this, you may include the `:index` (starts from `0`), `:position` (starts from `1`), or `:ordinal-position` (starts from `1st`) placeholders within your [custom validation message](#manual-customizing-the-error-messages):
25502550

25512551
```php
25522552
use Illuminate\Support\Facades\Validator;

translation-ja/billing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
キャッシャーの新しいバージョンにアップグレードするときは、[アップグレードガイド](https://github.com/laravel/cashier-stripe/blob/master/UPGRADE.md)を注意深く確認することが重要です。
8383

8484
> [!WARNING]
85-
> 重大な変更を防ぐために、Cashierは固定のStripe APIバージョンを使用します。Cashier15はStripe APIバージョン`2023-10-16`を利用しています。Stripe APIバージョンは、新しいStripe機能と改善点を利用するために、マイナーリリースで更新されます。
85+
> 重大な変更を防ぐために、Cashierは固定のStripe APIバージョンを使用します。Cashier16はStripe APIバージョン`2025-07-30.basil`を利用しています。Stripe APIバージョンは、新しいStripe機能と改善点を利用するために、マイナーリリースで更新されます。
8686
8787
<a name="installation"></a>
8888
## インストール

translation-ja/mcp.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Laravel MCP
22

3-
- [はじめに](#introduction)
3+
- [イントロダクション](#introduction)
44
- [インストール](#installation)
55
- [ルートの公開](#publishing-routes)
66
- [サーバの作成](#creating-servers)
@@ -34,18 +34,18 @@
3434
- [Sanctum](#sanctum)
3535
- [認可](#authorization)
3636
- [サーバのテスト](#testing-servers)
37-
- [MCP Inspector](#mcp-inspector)
37+
- [MCPインスペクタ](#mcp-inspector)
3838
- [ユニットテスト](#unit-tests)
3939

4040
<a name="introduction"></a>
41-
## はじめに
41+
## イントロダクション
4242

43-
[Laravel MCP](https://github.com/laravel/mcp)は、[Model Context Protocol](https://modelcontextprotocol.io/docs/getting-started/intro)を介してAIクライアントがLaravelアプリケーションと対話するための、シンプルでエレガントな方法を提供します。アプリケーションとのAIによる対話を可能にするサーバ、ツール、リソース、プロンプトを定義するための、表現力豊かで流れるようなインターフェイスを提供します
43+
[Laravel MCP](https://github.com/laravel/mcp)は、[Model Context Protocol](https://modelcontextprotocol.io/docs/getting-started/intro)を介してAIクライアントがLaravelアプリケーションと対話するための、シンプルでエレガントな方法を提供します。アプリケーションとのAIによる対話を可能にするサーバ、ツール、リソース、プロンプトを定義するための、表現力豊かで読み書きしやすいインターフェイスを提供します
4444

4545
<a name="installation"></a>
4646
## インストール
4747

48-
始めるには、Composerパッケージマネージャを使い、プロジェクトにLaravel MCPをインストールしてください:
48+
使い始めるには、Composerパッケージマネージャを使い、プロジェクトへLaravel MCPをインストールしてください
4949

5050
```shell
5151
composer require laravel/mcp
@@ -54,7 +54,7 @@ composer require laravel/mcp
5454
<a name="publishing-routes"></a>
5555
### ルートの公開
5656

57-
Laravel MCPをインストールした後、`vendor:publish` Artisanコマンドを実行して、MCPサーバを定義する`routes/ai.php`ファイルを公開してください:
57+
Laravel MCPをインストールした後、`vendor:publish` Artisanコマンドを実行して、MCPサーバを定義する`routes/ai.php`ファイルを公開してください
5858

5959
```shell
6060
php artisan vendor:publish --tag=ai-routes
@@ -65,13 +65,13 @@ php artisan vendor:publish --tag=ai-routes
6565
<a name="creating-servers"></a>
6666
## サーバの作成
6767

68-
`make:mcp-server` Artisanコマンドを使用してMCPサーバを作成できます。サーバは、ツール、リソース、プロンプトのようなMCP機能をAIクライアントに公開する中心的な通信ポイントとして機能します:
68+
`make:mcp-server` Artisanコマンドを使用してMCPサーバを作成できます。サーバは、ツール、リソース、プロンプトのようなMCP機能をAIクライアントに公開する中心的な通信ポイントとして機能します
6969

7070
```shell
7171
php artisan make:mcp-server WeatherServer
7272
```
7373

74-
このコマンドは`app/Mcp/Servers`ディレクトリに新しいサーバクラスを作成します。生成されたサービスクラスは、Laravel MCPのベースである`Laravel\Mcp\Server`クラスを拡張し、ツール、リソース、プロンプトを登録するためのプロパティを提供します:
74+
このコマンドは`app/Mcp/Servers`ディレクトリに新しいサーバクラスを作成します。生成したサービスクラスは、Laravel MCPのベースである`Laravel\Mcp\Server`クラスを拡張し、ツール、リソース、プロンプトを登録するためのプロパティを提供しています。
7575

7676
```php
7777
<?php
@@ -162,7 +162,7 @@ use Laravel\Mcp\Facades\Mcp;
162162
Mcp::local('weather', WeatherServer::class);
163163
```
164164

165-
登録後は、通常、`mcp:start` Artisanコマンドを手作業で実行する必要はありません。代わりに、MCPクライアント(AIエージェント)を設定してサーバを起動するか、[MCP Inspector](#mcp-inspector)を使用してください。
165+
登録後は、通常、`mcp:start` Artisanコマンドを手作業で実行する必要はありません。代わりに、MCPクライアント(AIエージェント)を設定してサーバを起動するか、[MCPインスペクタ](#mcp-inspector)を使用してください。
166166

167167
<a name="tools"></a>
168168
## ツール
@@ -312,7 +312,8 @@ class CurrentWeatherTool extends Tool
312312
->description('The location to get the weather for.')
313313
->required(),
314314

315-
'units' => $schema->enum(['celsius', 'fahrenheit'])
315+
'units' => $schema->array()
316+
->enum(['celsius', 'fahrenheit'])
316317
->description('The temperature units to use.')
317318
->default('celsius'),
318319
];
@@ -1227,12 +1228,12 @@ public function handle(Request $request): Response
12271228
<a name="testing-servers"></a>
12281229
## サーバのテスト
12291230

1230-
組み込みの MCP Inspector を使用するか、ユニットテストを書くことで MCP サーバをテストできます。
1231+
組み込みの MCPインスペクタ を使用するか、ユニットテストを書くことで MCP サーバをテストできます。
12311232

12321233
<a name="mcp-inspector"></a>
1233-
### MCP Inspector
1234+
### MCPインスペクタ
12341235

1235-
[MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector) は、MCP サーバをテストおよびデバッグするためのインタラクティブなツールです。これを使用してサーバに接続し、認証を確認し、ツール、リソース、プロンプトを試すことができます。
1236+
[MCPインスペクタ](https://modelcontextprotocol.io/docs/tools/inspector) は、MCP サーバをテストおよびデバッグするためのインタラクティブなツールです。これを使用してサーバに接続し、認証を確認し、ツール、リソース、プロンプトを試すことができます。
12361237

12371238
登録されたサーバに対してインスペクターを実行できます。
12381239

translation-ja/pint.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,7 @@ jobs:
206206
uses: shivammathur/setup-php@v2
207207
with:
208208
php-version: ${{ matrix.php }}
209-
extensions: json, dom, curl, libxml, mbstring
210-
coverage: none
211-
212-
- name: Install Pint
213-
run: composer global require laravel/pint
209+
tools: pint
214210

215211
- name: Run Pint
216212
run: pint

translation-ja/starter-kits.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [React](#react-customization)
1111
- [Vue](#vue-customization)
1212
- [Livewire](#livewire-customization)
13+
- [2要素認証](#two-factor-authentication)
1314
- [WorkOS AuthKit認証](#workos)
1415
- [Inertia SSR](#inertia-ssr)
1516
- [コミュニティが保守するスターターキット](#community-maintained-starter-kits)
@@ -269,6 +270,20 @@ Livewireスターターキットに含まれている、ログインページや
269270
</x-layouts.auth.split>
270271
```
271272

273+
<a name="two-factor-authentication"></a>
274+
## 2要素認証
275+
276+
すべてのスターターキットには、[Laravel Fortify](/docs/{{version}}/fortify#two-factor-authentication)による組み込みの2要素認証(2FA)が含まれており、ユーザーアカウントへ追加のセキュリティ層を提供します。ユーザーは、認証アプリをサポートする任意のタイムベースワンタイムパスワード(TOTP)を使用してアカウントを保護できます。
277+
278+
二要素認証はデフォルトで有効化しており、[Fortify](/docs/{{version}}/fortify#two-factor-authentication)が提供しているすべてのオプションをサポートします。
279+
280+
```php
281+
Features::twoFactorAuthentication([
282+
'confirm' => true,
283+
'confirmPassword' => true,
284+
]);
285+
```
286+
272287
<a name="workos"></a>
273288
## WorkOS AuthKit認証
274289

translation-ja/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,7 @@ $validator = Validator::make($request->all(), [
25462546
<a name="error-message-indexes-and-positions"></a>
25472547
### エラーメッセージインデックスとポジション
25482548

2549-
配列のバリデーションを行うとき、失敗した特定項目のインデックスや位置をアプリケーションのエラーメッセージから参照したいことがあります。これを行うには、[カスタムバリデーションメッセージ](#manual-customizing-the-error-messages)へ、`:index`(0始点)`:position`(1始点)のプレースホルダを使ってください。
2549+
配列のバリデーションを行うとき、失敗した特定項目のインデックスや位置をアプリケーションのエラーメッセージから参照したいことがあります。これを行うには、[カスタムバリデーションメッセージ](#manual-customizing-the-error-messages)へ、`:index`(0始点)`:position`(1始点)`:ordinal-position` (`1st`始点)のプレースホルダを使ってください。
25502550

25512551
```php
25522552
use Illuminate\Support\Facades\Validator;

0 commit comments

Comments
 (0)