diff --git a/src/BootstrapBlazor.Server/Components/Samples/Ips.razor b/src/BootstrapBlazor.Server/Components/Samples/Ips.razor index e98e77913ae..34efa4607de 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/Ips.razor +++ b/src/BootstrapBlazor.Server/Components/Samples/Ips.razor @@ -1,6 +1,10 @@ @page "/ip" @inject IStringLocalizer Localizer +

@Localizer["IpTitle"]

+ +

@Localizer["IpSubTitle"]

+
@Value
diff --git a/src/BootstrapBlazor.Server/Locales/en-US.json b/src/BootstrapBlazor.Server/Locales/en-US.json index 6ad64c18293..543b47d8e42 100644 --- a/src/BootstrapBlazor.Server/Locales/en-US.json +++ b/src/BootstrapBlazor.Server/Locales/en-US.json @@ -3944,8 +3944,12 @@ "FeatureShowHolidays": "Holidays" }, "BootstrapBlazor.Server.Components.Samples.Ips": { + "IpTitle": "IpAddress", + "IpSubTitle": "The IP Address component is a reusable component for entering and validating IP addresses.", "IpNormalTitle": "Basic usage", - "IpNormalIntro": "Enter and display the ip address in sections, for example: 192.168.1.1" + "IpNormalIntro": "Enter and display the ip address in sections, for example: 192.168.1.1", + "IsDisabledTitle": "IsDisabled", + "IsDisabledIntro": "Make the component disabled by setting IsDisabled" }, "BootstrapBlazor.Server.Components.Samples.Displays": { "Title": "Display", diff --git a/src/BootstrapBlazor.Server/Locales/zh-CN.json b/src/BootstrapBlazor.Server/Locales/zh-CN.json index 1e3a21ccf11..e53993dcf8a 100644 --- a/src/BootstrapBlazor.Server/Locales/zh-CN.json +++ b/src/BootstrapBlazor.Server/Locales/zh-CN.json @@ -3944,8 +3944,12 @@ "FeatureShowHolidays": "法定假日" }, "BootstrapBlazor.Server.Components.Samples.Ips": { + "IpTitle": "IpAddress 地址组件", + "IpSubTitle": "IP 地址组件是一个用于输入和验证 IP 地址的可重用组件", "IpNormalTitle": "基础用法", - "IpNormalIntro": "分段录入并显示 ip 地址,例如:192.168.1.1" + "IpNormalIntro": "分段录入并显示 ip 地址,例如:192.168.1.1", + "IsDisabledTitle": "禁用", + "IsDisabledIntro": "通过设置 IsDisabled 使组件处于不可用状态" }, "BootstrapBlazor.Server.Components.Samples.Displays": { "Title": "Display 显示组件",