diff --git a/src/BootstrapBlazor.Server/Components/Samples/Tabs.razor b/src/BootstrapBlazor.Server/Components/Samples/Tabs.razor index d424641a9b8..9cdd69fe8cd 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/Tabs.razor +++ b/src/BootstrapBlazor.Server/Components/Samples/Tabs.razor @@ -18,6 +18,7 @@
@((MarkupString)Localizer["TabsTips3"].Value)

@Localizer["TabsTips4"]

+
@((MarkupString)Localizer["ShowTabInHeaderDesc"].Value)

@Localizer["TabsInfoTitle"]

diff --git a/src/BootstrapBlazor.Server/Locales/en-US.json b/src/BootstrapBlazor.Server/Locales/en-US.json index e551d2f2784..6a3ca8729c3 100644 --- a/src/BootstrapBlazor.Server/Locales/en-US.json +++ b/src/BootstrapBlazor.Server/Locales/en-US.json @@ -2154,7 +2154,8 @@ "AttributeContextMenuCloseOtherIcon": "the icon of tab item context menu close other button", "AttributeContextMenuCloseAllIcon": "the icon of tab item context menu close all button", "AttributeContextMenuFullScreenIcon": "the icon of tab item context menu full screen button", - "AttributeOnBeforeShowContextMenu": "before popup context menu callback" + "AttributeOnBeforeShowContextMenu": "before popup context menu callback", + "ShowTabInHeaderDesc": "After enabling the multi-tab function in the Layout component, you can render the Tab tag header into the Layout Header template by setting ShowTabInHeader=\"true\". The effect can be viewed by creating a new project in the Project Template" }, "BootstrapBlazor.Server.Components.Components.DemoTabItem": { "Info": "Reset the title of this TabItem by click the button", diff --git a/src/BootstrapBlazor.Server/Locales/zh-CN.json b/src/BootstrapBlazor.Server/Locales/zh-CN.json index 5fcf7a42a96..fb44eb5ed32 100644 --- a/src/BootstrapBlazor.Server/Locales/zh-CN.json +++ b/src/BootstrapBlazor.Server/Locales/zh-CN.json @@ -2154,7 +2154,8 @@ "AttributeContextMenuCloseOtherIcon": "右键菜单关闭其他按钮图标", "AttributeContextMenuCloseAllIcon": "右键菜单关闭全部按钮图标", "AttributeContextMenuFullScreenIcon": "右键菜单全屏按钮图标", - "AttributeOnBeforeShowContextMenu": "右键菜单弹出前回调方法" + "AttributeOnBeforeShowContextMenu": "右键菜单弹出前回调方法", + "ShowTabInHeaderDesc": "Layout 组件中开启多标签功能后,可以通过设置 ShowTabInHeader=\"true\"Tab 标签头渲染到 Layout Header 模板中,效果可以通过 项目模板 新建工程查看" }, "BootstrapBlazor.Server.Components.Components.DemoTabItem": { "Info": "点击下方按钮,本 TabItem 标题更改为当前分钟与秒",