Skip to content

Commit fdd1269

Browse files
committed
doc: 更新示例描述文字
1 parent 05e1d0b commit fdd1269

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

src/BootstrapBlazor.Server/Components/Samples/Tabs.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ private void Navigation()
436436
</Tab>
437437
</DemoBlock>
438438

439-
<DemoBlock Title="@Localizer["TabsChromeStyleTitle"]" Introduction="@Localizer["TabsChromeStyleIntro"]" Name="TabStyle">
439+
<DemoBlock Title="@Localizer["TabsChromeStyleTitle"]" Introduction="@Localizer["TabsChromeStyleIntro"]" Name="Chrome">
440440
<Tab IsCard="true" ShowClose="true" TabStyle="TabStyle.Chrome">
441441
<TabItem Text="@Localizer["TabItem1Text"]" Icon="fa-solid fa-user">
442442
<div>@Localizer["TabItem1Content"]</div>
@@ -453,7 +453,7 @@ private void Navigation()
453453
</Tab>
454454
</DemoBlock>
455455

456-
<DemoBlock Title="@Localizer["TabsChromeStyleTitle"]" Introduction="@Localizer["TabsChromeStyleIntro"]" Name="TabStyle">
456+
<DemoBlock Title="@Localizer["TabsCapsuleStyleTitle"]" Introduction="@Localizer["TabsCapsuleStyleIntro"]" Name="Capsule">
457457
<Tab IsCard="true" ShowClose="true" TabStyle="TabStyle.Capsule">
458458
<TabItem Text="@Localizer["TabItem1Text"]" Icon="fa-solid fa-user">
459459
<div>@Localizer["TabItem1Content"]</div>

src/BootstrapBlazor.Server/Locales/en-US.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,9 @@
21202120
"TabsDisabledIntro": "Disable the current <code>TabItem</code> by setting <code>IsDisabled=\"true\"</code> to prohibit click, drag, close etc.",
21212121
"TabsChromeStyleTitle": "Chrome Style",
21222122
"TabsChromeStyleIntro": "Set the Chrome browser tab style by setting <code>TabStyle=\"TabStyle.Chrome\"</code>. Currently only supports <code>Placement=\"Placement.Top\"</code> mode",
2123-
"TabAtt2TabStyle": "Set the tab style"
2123+
"TabAtt2TabStyle": "Set the tab style",
2124+
"TabsCapsuleStyleTitle": "Capsule Style",
2125+
"TabsCapsuleStyleIntro": "Set the capsule tab style by setting <code>TabStyle=\"TabStyle.Capsule\"</code>. Currently only supports <code>Placement=\"Placement.Top\"</code> <code>Placement=\"Placement.Bottom\"</code> mode"
21242126
},
21252127
"BootstrapBlazor.Server.Components.Components.DemoTabItem": {
21262128
"Info": "Reset the title of this <code>TabItem</code> by click the button",

src/BootstrapBlazor.Server/Locales/zh-CN.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,9 @@
21202120
"TabsDisabledIntro": "通过设置 <code>IsDisabled=\"true\"</code> 禁用当前 <code>TabItem</code> 禁止点击、拖动、关闭等操作",
21212121
"TabsChromeStyleTitle": "Chrome 样式",
21222122
"TabsChromeStyleIntro": "通过设置 <code>TabStyle=\"TabStyle.Chrome\"</code> 设置 Chrome 浏览器标签页样式,目前仅支持 <code>Placement=\"Placement.Top\"</code> 模式",
2123-
"TabAtt2TabStyle": "设置标签页样式"
2123+
"TabAtt2TabStyle": "设置标签页样式",
2124+
"TabsCapsuleStyleTitle": "胶囊样式",
2125+
"TabsCapsuleStyleIntro": "通过设置 <code>TabStyle=\"TabStyle.Capsule\"</code> 设置标签页为胶囊样式,目前仅支持 <code>Placement=\"Placement.Top\"</code> <code>Placement=\"Placement.Bottom\"</code> 模式"
21242126
},
21252127
"BootstrapBlazor.Server.Components.Components.DemoTabItem": {
21262128
"Info": "点击下方按钮,本 <code>TabItem</code> 标题更改为当前分钟与秒",

0 commit comments

Comments
 (0)