Skip to content

Commit 32ae96f

Browse files
committed
2024-12-23までの原文変更点反映。
1 parent de999ce commit 32ae96f

File tree

10 files changed

+58
-30
lines changed

10 files changed

+58
-30
lines changed

original-en/cashier-paddle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ Cashier includes a `paddle-button` [Blade component](/docs/{{version}}/blade#com
444444
By default, this will display the widget using Paddle's default styling. You can customize the widget by adding [Paddle supported attributes](https://developer.paddle.com/paddlejs/html-data-attributes) like the `data-theme='light'` attribute to the component:
445445

446446
```html
447-
<x-paddle-button :url="$payLink" class="px-8 py-4" data-theme="light">
447+
<x-paddle-button :checkout="$checkout" class="px-8 py-4" data-theme="light">
448448
Subscribe
449449
</x-paddle-button>
450450
```

original-en/queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ select * from users where name = 'John' and (votes > 100 or title = 'Admin')
820820
> You should always group `orWhere` calls in order to avoid unexpected behavior when global scopes are applied.
821821
822822
<a name="advanced-where-clauses"></a>
823-
### Advanced Where Clauses
823+
## Advanced Where Clauses
824824

825825
<a name="where-exists-clauses"></a>
826826
### Where Exists Clauses

original-en/reverb.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ Next, add the Pulse cards for each recorder to your [Pulse dashboard](/docs/{{ve
190190
</x-pulse>
191191
```
192192

193+
Connection activity is recorded by polling for new updates on a periodic basis. To ensure this information is rendered correctly on the Pulse dashboard, you must run the `pulse:check` daemon on your Reverb server. If you are running Reverb in a [horizontally scaled](#scaling) configuration, you should only run this daemon on one of your servers.
194+
193195
<a name="production"></a>
194196
## Running Reverb in Production
195197

original-en/sanctum.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,16 @@ Sanctum allows you to assign "abilities" to tokens. Abilities serve a similar pu
133133

134134
return $user->createToken('token-name', ['server:update'])->plainTextToken;
135135

136-
When handling an incoming request authenticated by Sanctum, you may determine if the token has a given ability using the `tokenCan` method:
136+
When handling an incoming request authenticated by Sanctum, you may determine if the token has a given ability using the `tokenCan` or `tokenCant` methods:
137137

138138
if ($user->tokenCan('server:update')) {
139139
// ...
140140
}
141141

142+
if ($user->tokenCant('server:update')) {
143+
// ...
144+
}
145+
142146
<a name="token-ability-middleware"></a>
143147
#### Token Ability Middleware
144148

original-en/strings.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ Laravel includes a variety of functions for manipulating string values. Many of
100100
[Str::take](#method-take)
101101
[Str::title](#method-title-case)
102102
[Str::toBase64](#method-str-to-base64)
103-
[Str::toHtmlString](#method-str-to-html-string)
104103
[Str::transliterate](#method-str-transliterate)
105104
[Str::trim](#method-str-trim)
106105
[Str::ltrim](#method-str-ltrim)
@@ -205,6 +204,7 @@ Laravel includes a variety of functions for manipulating string values. Many of
205204
[test](#method-fluent-str-test)
206205
[title](#method-fluent-str-title)
207206
[toBase64](#method-fluent-str-to-base64)
207+
[toHtmlString](#method-fluent-str-to-html-string)
208208
[transliterate](#method-fluent-str-transliterate)
209209
[trim](#method-fluent-str-trim)
210210
[ltrim](#method-fluent-str-ltrim)
@@ -496,7 +496,7 @@ You may disable case sensitivity by setting the `ignoreCase` argument to `true`:
496496
$doesntContain = Str::doesntContain('This is name', 'MY', ignoreCase: true);
497497

498498
// true
499-
499+
500500
<a name="method-deduplicate"></a>
501501
#### `Str::deduplicate()` {.collection-method}
502502

@@ -634,6 +634,14 @@ The `Str::is` method determines if a given string matches a given pattern. Aster
634634

635635
// false
636636

637+
You may disable case sensitivity by setting the `ignoreCase` argument to `true`:
638+
639+
use Illuminate\Support\Str;
640+
641+
$matches = Str::is('*.jpg', 'photo.JPG', ignoreCase: true);
642+
643+
// true
644+
637645
<a name="method-str-is-ascii"></a>
638646
#### `Str::isAscii()` {.collection-method}
639647

@@ -1313,15 +1321,6 @@ The `Str::toBase64` method converts the given string to Base64:
13131321

13141322
// TGFyYXZlbA==
13151323

1316-
<a name="method-str-to-html-string"></a>
1317-
#### `Str::toHtmlString()` {.collection-method}
1318-
1319-
The `Str::toHtmlString` method converts the string instance to an instance of `Illuminate\Support\HtmlString`, which may be displayed in Blade templates:
1320-
1321-
use Illuminate\Support\Str;
1322-
1323-
$htmlString = Str::of('Nuno Maduro')->toHtmlString();
1324-
13251324
<a name="method-str-transliterate"></a>
13261325
#### `Str::transliterate()` {.collection-method}
13271326

@@ -1793,7 +1792,7 @@ You can disable case sensitivity by setting the `ignoreCase` argument to `true`:
17931792
$containsAll = Str::of('This is my name')->containsAll(['MY', 'NAME'], ignoreCase: true);
17941793

17951794
// true
1796-
1795+
17971796
<a name="method-fluent-str-deduplicate"></a>
17981797
#### `deduplicate` {.collection-method}
17991798

@@ -2729,7 +2728,7 @@ The `title` method converts the given string to `Title Case`:
27292728
// A Nice Title Uses The Correct Case
27302729

27312730
<a name="method-fluent-str-to-base64"></a>
2732-
#### `toBase64()` {.collection-method}
2731+
#### `toBase64` {.collection-method}
27332732

27342733
The `toBase64` method converts the given string to Base64:
27352734

@@ -2739,6 +2738,15 @@ The `toBase64` method converts the given string to Base64:
27392738

27402739
// TGFyYXZlbA==
27412740

2741+
<a name="method-fluent-str-to-html-string"></a>
2742+
#### `toHtmlString` {.collection-method}
2743+
2744+
The `toHtmlString` method converts the given string to an instance of `Illuminate\Support\HtmlString`, which will not be escaped when rendered in Blade templates:
2745+
2746+
use Illuminate\Support\Str;
2747+
2748+
$htmlString = Str::of('Nuno Maduro')->toHtmlString();
2749+
27422750
<a name="method-fluent-str-transliterate"></a>
27432751
#### `transliterate` {.collection-method}
27442752

translation-ja/cashier-paddle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ Cashier includes a `paddle-button` [Blade component](/docs/{{version}}/blade#com
444444
By default, this will display the widget using Paddle's default styling. You can customize the widget by adding [Paddle supported attributes](https://developer.paddle.com/paddlejs/html-data-attributes) like the `data-theme='light'` attribute to the component:
445445

446446
```html
447-
<x-paddle-button :url="$payLink" class="px-8 py-4" data-theme="light">
447+
<x-paddle-button :checkout="$checkout" class="px-8 py-4" data-theme="light">
448448
Subscribe
449449
</x-paddle-button>
450450
```

translation-ja/queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ select * from users where name = 'John' and (votes > 100 or title = 'Admin')
820820
> グローバルスコープを適用する場合の予期しない動作を回避するために、常に`orWhere`呼び出しをグループ化する必要があります。
821821
822822
<a name="advanced-where-clauses"></a>
823-
### 上級WHERE節
823+
## 上級WHERE節
824824

825825
<a name="where-exists-clauses"></a>
826826
### WHERE EXISTS句

translation-ja/reverb.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ use Laravel\Reverb\Pulse\Recorders\ReverbMessages;
190190
</x-pulse>
191191
```
192192

193+
接続状況は、定期的に新しいアップデートをポーリングすることで記録されます。この情報がPulseダッシュボード上で正しく表示されるようにするには、Reverbサーバ上で`pulse:check`デーモンを実行する必要があります。Reverbを[水平方向スケーリング](#scaling)構成で実行している場合、このデーモンは、1サーバのみで実行してください。
194+
193195
<a name="production"></a>
194196
## 実機でのReverb実行
195197

translation-ja/sanctum.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,16 @@ Sanctumでは、トークンに「アビリティ」を割り当てることが
133133

134134
return $user->createToken('token-name', ['server:update'])->plainTextToken;
135135

136-
Sanctumが認証した受信リクエストを処理する場合、`tokenCan`メソッドを使用して、トークンに特定の機能があるかを判定できます。
136+
Sanctumが認証した受信リクエストを処理する場合、`tokenCan``tokenCant`メソッドを使用して、トークンに特定の機能があるかを判定できます。
137137

138138
if ($user->tokenCan('server:update')) {
139139
// ...
140140
}
141141

142+
if ($user->tokenCant('server:update')) {
143+
// ...
144+
}
145+
142146
<a name="token-ability-middleware"></a>
143147
#### トークンアビリティミドルウェア
144148

translation-ja/strings.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ Laravelには、文字列値を操作する様々な関数があります。こ
100100
[Str::take](#method-take)
101101
[Str::title](#method-title-case)
102102
[Str::toBase64](#method-str-to-base64)
103-
[Str::toHtmlString](#method-str-to-html-string)
104103
[Str::transliterate](#method-str-transliterate)
105104
[Str::trim](#method-str-trim)
106105
[Str::ltrim](#method-str-ltrim)
@@ -205,6 +204,7 @@ Laravelには、文字列値を操作する様々な関数があります。こ
205204
[test](#method-fluent-str-test)
206205
[title](#method-fluent-str-title)
207206
[toBase64](#method-fluent-str-to-base64)
207+
[toHtmlString](#method-fluent-str-to-html-string)
208208
[transliterate](#method-fluent-str-transliterate)
209209
[trim](#method-fluent-str-trim)
210210
[ltrim](#method-fluent-str-ltrim)
@@ -634,6 +634,14 @@ Laravelには、文字列値を操作する様々な関数があります。こ
634634

635635
// false
636636

637+
`ignoreCase`引数を`true`に設定することで、大文字小文字を区別しないようにできます。
638+
639+
use Illuminate\Support\Str;
640+
641+
$matches = Str::is('*.jpg', 'photo.JPG', ignoreCase: true);
642+
643+
// true
644+
637645
<a name="method-str-is-ascii"></a>
638646
#### `Str::isAscii()` {.collection-method}
639647

@@ -1313,15 +1321,6 @@ $repeat = Str::repeat($string, 5);
13131321

13141322
// TGFyYXZlbA==
13151323

1316-
<a name="method-str-to-html-string"></a>
1317-
#### `Str::toHtmlString()` {.collection-method}
1318-
1319-
`Str::toHtmlString`メソッドは、文字列インスタンスを`Illuminate\Support\HtmlString`インスタンスに変換し、Blade テンプレートで表示できるようにします。
1320-
1321-
use Illuminate\Support\Str;
1322-
1323-
$htmlString = Str::of('Nuno Maduro')->toHtmlString();
1324-
13251324
<a name="method-str-transliterate"></a>
13261325
#### `Str::transliterate()` {.collection-method}
13271326

@@ -2729,7 +2728,7 @@ The `snake` method converts the given string to `snake`メソッドは、文字
27292728
// A Nice Title Uses The Correct Case
27302729

27312730
<a name="method-fluent-str-to-base64"></a>
2732-
#### `toBase64()` {.collection-method}
2731+
#### `toBase64` {.collection-method}
27332732

27342733
`toBase64`メソッドは、指定文字列をBase64に変換します。
27352734

@@ -2739,6 +2738,15 @@ The `snake` method converts the given string to `snake`メソッドは、文字
27392738

27402739
// TGFyYXZlbA==
27412740

2741+
<a name="method-fluent-str-to-html-string"></a>
2742+
#### `toHtmlString` {.collection-method}
2743+
2744+
`toHtmlString`メソッドは、指定文字列を`Illuminate\Support\HtmlString`インスタンスへ変換します。これは、Bladeテンプレート中でレンダするときにエスケープされません。
2745+
2746+
use Illuminate\Support\Str;
2747+
2748+
$htmlString = Str::of('Nuno Maduro')->toHtmlString();
2749+
27422750
<a name="method-fluent-str-transliterate"></a>
27432751
#### `transliterate` {.collection-method}
27442752

0 commit comments

Comments
 (0)