From 5f2ebd389deec47faf6984c4f5511989f8a9e29f Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 18 Oct 2025 18:41:06 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E5=A2=9E=E5=8A=A0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor.Server/Components/Samples/Ips.razor | 4 ++++ src/BootstrapBlazor.Server/Locales/en-US.json | 6 +++++- src/BootstrapBlazor.Server/Locales/zh-CN.json | 6 +++++- 3 files changed, 14 insertions(+), 2 deletions(-) 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 显示组件",