Skip to content

Commit a78e6f4

Browse files
JP sync: Fix stale Angular API links for renamed events and progress components (#377)
Sync Japanese documentation with English changes from PR #362. Updated ApiLink type/member references for CircularProgressBar, LinearProgressBar, and renamed grid events. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c580b7f commit a78e6f4

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

docs/angular/src/content/jp/components/circular-progress.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,19 @@ Ignite UI for Angular Progress Bar モジュールまたはディレクティブ
8787
その後、ブラウザ上でデモサンプルを確認することができます。
8888

8989
<DocsAside type="info" title="情報">
90-
**igx-circular-bar** は、各ステップに `{currentValue: 65, previousValue: 64}` のようなオブジェクトを出力する <ApiLink type="ProgressBarGradientDirective" member="onProgressChanged" label="onProgressChanged" /> イベントを発生します。
90+
**igx-circular-bar** は、各ステップに `{currentValue: 65, previousValue: 64}` のようなオブジェクトを出力する <ApiLink type="CircularProgressBar" member="progressChanged" label="progressChanged" /> イベントを発生します。
9191
</DocsAside>
9292

9393
### 不確定のプログレス
9494

95-
正確に決定していないプロセスをトラックしたい場合、<ApiLink type="ProgressBarGradientDirective" member="indeterminate" label="indeterminate" /> プロパティを `true` に設定できます。
95+
正確に決定していないプロセスをトラックしたい場合、<ApiLink type="CircularProgressBar" member="indeterminate" label="indeterminate" /> プロパティを `true` に設定できます。
9696

9797
```html
9898
<igx-circular-bar [animate]="false" [indeterminate]="true" [textVisibility]="false"></igx-circular-bar>
9999
```
100100

101101
<DocsAside type="info" title="情報">
102-
円形のプログレスバーのテキストを非表示にするには、<ApiLink type="ProgressBarGradientDirective" member="textVisibility" label="textVisibility" /> プロパティを `false` に設定します。
102+
円形のプログレスバーのテキストを非表示にするには、<ApiLink type="CircularProgressBar" member="textVisibility" label="textVisibility" /> プロパティを `false` に設定します。
103103
</DocsAside>
104104

105105
結果は以下のようになります。
@@ -180,7 +180,7 @@ export class HomeComponent {
180180
### グラデーション プログレス
181181

182182
プログレス バーをカスタマイズする方法の 1 つとして、単色の代わりにカラー グラデーションを使用する方法があります。
183-
これは、<ApiLink type="ProgressBarGradientDirective" member="gradienttemplate" label="IgxProgressBarGradientDirective" /> ディレクティブを使用する、もしくは、カスタム テーマを実装することにより実行できます (カスタム テーマは 2 つまでの色経由点 (color stop) をサポートします)。
183+
これは、<ApiLink type="CircularProgressBar" member="gradientTemplate" label="IgxProgressBarGradientDirective" /> ディレクティブを使用する、もしくは、カスタム テーマを実装することにより実行できます (カスタム テーマは 2 つまでの色経由点 (color stop) をサポートします)。
184184

185185
カスタム テーマを使用して 2 つの色経由点のみを含むグラデーションを作成するには、色のリストを作成し、それを `$fill-color-default` テーマ パラメーターに渡す必要があります。
186186

docs/angular/src/content/jp/components/linear-progress.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Ignite UI for Angular Progress Bar モジュールまたはディレクティブ
8888

8989
### ストライプ プログレス
9090

91-
バーをストライプ スタイルにするには、<ApiLink type="LinearProgressBar" member="type" label="striped" /> プロパティを使用して `true` に設定します。
91+
バーをストライプ スタイルにするには、<ApiLink type="LinearProgressBar" member="striped" label="striped" /> プロパティを使用して `true` に設定します。
9292

9393
プログレス バーの様々なタイプを作成する方法を例で紹介します。
9494

@@ -110,11 +110,11 @@ Ignite UI for Angular Progress Bar モジュールまたはディレクティブ
110110

111111
### 不確定のプログレス
112112

113-
正確に決定していないプロセスをトラックしたい場合、<ApiLink type="ProgressBarGradientDirective" member="indeterminate" label="indeterminate" /> プロパティを `true` に設定できます。
113+
正確に決定していないプロセスをトラックしたい場合、<ApiLink type="LinearProgressBar" member="indeterminate" label="indeterminate" /> プロパティを `true` に設定できます。
114114

115115
### アニメーション期間
116116

117-
<ApiLink type="ProgressBarGradientDirective" member="animationDuration" label="animationDuration" /> 入力プロパティは、アニメーション サイクルにかかる時間を指定するために使用されます。
117+
<ApiLink type="LinearProgressBar" member="animationDuration" label="animationDuration" /> 入力プロパティは、アニメーション サイクルにかかる時間を指定するために使用されます。
118118

119119
次の例では、アニメーションの継続時間を 5 秒に設定しています。
120120

docs/angular/src/content/jp/grids_templates/column-selection.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ $custom-grid-theme: grid-theme(
203203

204204
<ApiLink type="{ComponentApiType}" /> イベント:
205205

206-
- <ApiLink type="{ComponentApiType}" member="onColumnsSelectionChange" label="onColumnsSelectionChange" />
206+
- <ApiLink type="{ComponentApiType}" member="columnSelectionChanging" label="columnSelectionChanging" />
207207

208208
## その他のリソース
209209

docs/angular/src/content/jp/grids_templates/conditional-cell-styling.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ public updateCSS(css: string) {
653653
## 既知の問題と制限
654654

655655
- 他の列に同じ条件でバインドされたセルがある場合、その 1 つのセルが更新された際に条件が満たされて要る場合も他のセルが新しい値に基づいて更新されない問題。
656-
残りのセルに変更を適用するには、パイプ チェックを実行する必要があります。以下の例は、<ApiLink type="Grid" member="onCellEdit" label="onCellEdit" /> イベントで `spread operator(...)` を使用してチェックを実行する方法を示します。これにより、元のオブジェクトが新しいインスタンスでコピーされ、パイプのみ発生します。
656+
残りのセルに変更を適用するには、パイプ チェックを実行する必要があります。以下の例は、<ApiLink type="Grid" member="cellEdit" label="cellEdit" /> イベントで `spread operator(...)` を使用してチェックを実行する方法を示します。これにより、元のオブジェクトが新しいインスタンスでコピーされ、パイプのみ発生します。
657657

658658
```ts
659659
public backgroundClasses = {
@@ -672,7 +672,7 @@ editDone(evt) {
672672
<ComponentBlock for="Grid">
673673

674674
```html
675-
<igx-grid #grid1 [data]="data" height="500px" width="100%" (onCellEdit)="editDone($event)">
675+
<igx-grid #grid1 [data]="data" height="500px" width="100%" (cellEdit)="editDone($event)">
676676
<igx-column field="Col1" dataType="number" [cellClasses]="backgroundClasses"></igx-column>
677677
<igx-column field="Col2" dataType="number" [editable]="true" [cellClasses]="backgroundClasses"></igx-column>
678678
<igx-column field="Col3" header="Col3" dataType="string" [cellClasses]="backgroundClasses"></igx-column>
@@ -683,7 +683,7 @@ editDone(evt) {
683683
<ComponentBlock for="TreeGrid">
684684

685685
```html
686-
<igx-tree-grid #grid1 [data]="data" height="500px" width="100%" (onCellEdit)="editDone($event)">
686+
<igx-tree-grid #grid1 [data]="data" height="500px" width="100%" (cellEdit)="editDone($event)">
687687
<igx-column field="Col1" dataType="number" [cellClasses]="backgroundClasses"></igx-column>
688688
<igx-column field="Col2" dataType="number" [editable]="true" [cellClasses]="backgroundClasses"></igx-column>
689689
<igx-column field="Col3" header="Col3" dataType="string" [cellClasses]="backgroundClasses"></igx-column>
@@ -694,7 +694,7 @@ editDone(evt) {
694694
<ComponentBlock for="HierarchicalGrid">
695695

696696
```html
697-
<igx-hierarchical-grid #grid1 [data]="data" height="500px" width="100%" (onCellEdit)="editDone($event)">
697+
<igx-hierarchical-grid #grid1 [data]="data" height="500px" width="100%" (cellEdit)="editDone($event)">
698698
<igx-column field="Col1" dataType="number" [cellClasses]="backgroundClasses"></igx-column>
699699
<igx-column field="Col2" dataType="number" [editable]="true" [cellClasses]="backgroundClasses"></igx-column>
700700
<igx-column field="Col3" header="Col3" dataType="string" [cellClasses]="backgroundClasses"></igx-column>

docs/angular/src/content/jp/grids_templates/row-adding.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,10 @@ this.treeGrid.beginAddRowByIndex(null); // spawns the add row UI as the fi
310310
## API リファレンス
311311

312312
- <ApiLink type="{ComponentApiType}" member="rowEditable" label="rowEditable" />
313-
- <ApiLink type="{ComponentApiType}" member="onRowEditEnter" label="onRowEditEnter" />
314-
- <ApiLink type="{ComponentApiType}" member="onRowEdit" label="onRowEdit" />
313+
- <ApiLink type="{ComponentApiType}" member="rowEditEnter" label="rowEditEnter" />
314+
- <ApiLink type="{ComponentApiType}" member="rowEdit" label="rowEdit" />
315315
- <ApiLink type="{ComponentApiType}" member="rowEditDone" label="rowEditDone" />
316-
- <ApiLink type="{ComponentApiType}" member="onRowEditCancel" label="onRowEditCancel" />
316+
- <ApiLink type="{ComponentApiType}" member="rowEditExit" label="rowEditExit" />
317317
- <ApiLink type="{ComponentApiType}" member="endEdit" label="endEdit" />
318318
- <ApiLink type="{ComponentApiType}" member="primaryKey" label="primaryKey" />
319319
- <ApiLink type="{ComponentApiType}" />

docs/angular/src/content/jp/grids_templates/row-editing.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,10 +458,10 @@ $button-theme: flat-icon-button-theme(
458458
## API リファレンス
459459

460460
- <ApiLink type="{ComponentApiType}" member="rowEditable" label="rowEditable" />
461-
- <ApiLink type="{ComponentApiType}" member="onRowEditEnter" label="onRowEditEnter" />
462-
- <ApiLink type="{ComponentApiType}" member="onRowEdit" label="onRowEdit" />
461+
- <ApiLink type="{ComponentApiType}" member="rowEditEnter" label="rowEditEnter" />
462+
- <ApiLink type="{ComponentApiType}" member="rowEdit" label="rowEdit" />
463463
- <ApiLink type="{ComponentApiType}" member="rowEditDone" label="rowEditDone" />
464-
- <ApiLink type="{ComponentApiType}" member="onRowEditCancel" label="onRowEditCancel" />
464+
- <ApiLink type="{ComponentApiType}" member="rowEditExit" label="rowEditExit" />
465465
- <ApiLink type="{ComponentApiType}" member="endEdit" label="endEdit" />
466466
- <ApiLink type="Column" member="field" label="field" />
467467
- <ApiLink type="Column" member="editable" label="editable" />

0 commit comments

Comments
 (0)