Skip to content

Commit

Permalink
doc: 更新 RadioList 示例
Browse files Browse the repository at this point in the history
  • Loading branch information
ArgoZhang committed Dec 21, 2024
1 parent 868bba4 commit cb693f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/BootstrapBlazor.Server/Components/Samples/Radios.razor
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
</ValidateForm>
</DemoBlock>

<DemoBlock Title="@Localizer["GenericTitle"]" Introduction="@Localizer["GenericIntro"]" Name="Generic">
<DemoBlock Title="@Localizer["RadioListGenericTitle"]" Introduction="@Localizer["RadioListGenericIntro"]" Name="Generic">
<RadioListGeneric @bind-Value="@_selectedFoo" Items="@GenericItems" />
<section ignore>
<div>@_selectedFoo.Name</div>
Expand Down
4 changes: 3 additions & 1 deletion src/BootstrapBlazor.Server/Locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3026,7 +3026,9 @@
"RadiosItem1": "Option one",
"RadiosItem2": "Option two",
"RadiosAdd1": "Beijing",
"RadiosAdd2": "Shanghai"
"RadiosAdd2": "Shanghai",
"RadioListGenericTitle": "Generic List",
"RadioListGenericIntro": "Enable generic support through <code>SelectedItem&lt;TValue&gt;</code>"
},
"BootstrapBlazor.Server.Components.Samples.Rates": {
"RatesTitle": "Rate",
Expand Down
4 changes: 3 additions & 1 deletion src/BootstrapBlazor.Server/Locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -3026,7 +3026,9 @@
"RadiosItem1": "选项一",
"RadiosItem2": "选项二",
"RadiosAdd1": "北京",
"RadiosAdd2": "上海"
"RadiosAdd2": "上海",
"RadioListGenericTitle": "泛型支持",
"RadioListGenericIntro": "通过 <code>SelectedItem&lt;TValue&gt;</code> 开启泛型支持"
},
"BootstrapBlazor.Server.Components.Samples.Rates": {
"RatesTitle": "Rate 评分",
Expand Down

0 comments on commit cb693f2

Please sign in to comment.