diff --git a/src/BootstrapBlazor.Server/Components/Pages/GlobalOption.razor b/src/BootstrapBlazor.Server/Components/Pages/GlobalOption.razor index 8d18fcab022..a4a2d41fb49 100644 --- a/src/BootstrapBlazor.Server/Components/Pages/GlobalOption.razor +++ b/src/BootstrapBlazor.Server/Components/Pages/GlobalOption.razor @@ -51,7 +51,7 @@
TableSettings 表格全局统一配置
CheckboxColumnWidth 复选框列宽度DetailColumnWidth 明细行 Row Header 宽度ShowCheckboxTextColumnWidth 显示文字的复选框列宽度@((MarkupString)Localizer["DateTimeSettingsIntro"].Value)
-StepSettings 步长全局统一配置各种数据类型的步长值
ConnectionHubOptions 步长全局统一配置各种数据类型的步长值
Enable 是否开启EnableIpLocator 是否开启 IP 定位功能ExpirationScanFrequency 过期扫描周期WebClientOptions WebClientService 配置项
EnableIpLocator 是否开启 IP 定位功能IIpLocatorProvider 服务内部使用
ProviderName 定位器名称EnableCache 是否开启缓存降低请求频率SlidingExpiration 是否开启缓存降低请求频率ScrollOptions 滚动条配置
ScrollWidth 滚动条宽度ScrollHoverWidth 滚动条鼠标悬浮宽度ContextMenuOptions 右键菜单配置
OnTouchDelay 移动端触控延时CacheManagerOptions 缓存配置项
Enable 是否开启SlidingExpiration 滑动缓存时长 默认 5 分钟AbsoluteExpiration 绝对过期时长 默认 10 秒钟@((MarkupString)Localizer["IntroText2"].Value)
-@Localizer["DateTimePickerParameters"]
+IsButton controls whether DateTimePicker is displayed as a button or an input field",
+ "DateTimePickerPickTimeModeIntro": "PickTimeMode controls whether the time picker uses dropdowns or a clock. In Clock mode, click a time value in the Header to switch to the clock dial, then drag to select the time. In Dropdown mode, select the time using dropdowns",
+ "DateTimePickerIsButtonLabel": "Button mode",
+ "DateTimePickerPickTimeModeLabel": "Time picker mode",
+ "DateTimePickerDropdownText": "Dropdown",
+ "DateTimePickerClockText": "Clock",
"DateTimePickerTitle": "Select the time",
"DayTemplateIntro": "By setting the DayTemplate custom display template, the disabled date template is DayDisabledTemplate",
"DayTemplateTitle": "Custom date display",
diff --git a/src/BootstrapBlazor.Server/Locales/zh-CN.json b/src/BootstrapBlazor.Server/Locales/zh-CN.json
index ffd743a2e45..f792eaf3d8f 100644
--- a/src/BootstrapBlazor.Server/Locales/zh-CN.json
+++ b/src/BootstrapBlazor.Server/Locales/zh-CN.json
@@ -1727,7 +1727,14 @@
"BlockGroupTitle": "组合使用",
"DateTimeOffsetIntro": "以「日」为基本单位,基础的日期选择控件,此示例绑定 DateTimeOffset 数据类型",
"DateTimeOffsetTitle": "点击弹出日期框",
- "DateTimePickerIntro": "通过时钟表盘选择时分秒,获取当前的日期和时间。",
+ "DateTimePickerIntro": "通过下拉框或时钟表盘选择时间,获取日期和时间。",
+ "DateTimePickerParameters": "参数说明:",
+ "DateTimePickerIsButtonIntro": "IsButton 控制 DateTimePicker 是以按钮形式还是输入框形式显示",
+ "DateTimePickerPickTimeModeIntro": "PickTimeMode 控制时间选择器是以下拉框还是时钟形式显示。Clock 模式下点击 Header 上的时间刻度切换到时钟表盘,通过鼠标拖动选择时间;Dropdown 模式下通过下拉框选择时间",
+ "DateTimePickerIsButtonLabel": "按钮形式",
+ "DateTimePickerPickTimeModeLabel": "时间选择模式",
+ "DateTimePickerDropdownText": "下拉框",
+ "DateTimePickerClockText": "时钟",
"DateTimePickerTitle": "时间选择",
"DayTemplateIntro": "通过设置 DayTemplate 自定义显示模板,禁用的日期模板为 DayDisabledTemplate",
"DayTemplateTitle": "自定义日期显示",