From 6f438a608b08633cc242c0d510503c1e8aca8e7d Mon Sep 17 00:00:00 2001 From: Lee <78075553+Lee-Lily-Lea@users.noreply.github.com> Date: Thu, 27 Jun 2024 16:26:00 +0800 Subject: [PATCH] Update drawers zh-CN.json (#2000) --- .../wwwroot/data/apis/drawers/zh-CN.json | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/docs/Masa.Blazor.Docs/wwwroot/data/apis/drawers/zh-CN.json b/docs/Masa.Blazor.Docs/wwwroot/data/apis/drawers/zh-CN.json index 7b8dceb8f4..09df6620dd 100644 --- a/docs/Masa.Blazor.Docs/wwwroot/data/apis/drawers/zh-CN.json +++ b/docs/Masa.Blazor.Docs/wwwroot/data/apis/drawers/zh-CN.json @@ -1,41 +1,41 @@ { "props": { - "actionsClass": "", - "actionsStyle": "", - "autoScrollToTop": "", - "bodyClass": "", - "bodyStyle": "", - "cancelProps": "", - "cancelText": "", - "contentClass": "", - "contentStyle": "", - "debounceInterval": "", - "deleteProps": "", - "deleteText": "", - "formModel": "", - "headerClass": "", - "headerStyle": "", - "hideActionsDivider": "", - "hideCancelAction": "", - "hideTitleDivider": "", - "persistent": "", - "saveProps": "", - "saveText": "", - "title": "", - "transition": "", - "value": "" + "actionsClass": "设置激活器区域的CSS类。", + "actionsStyle": "将内联样式应用于激活器区域", + "contentClass": "设置 `ChildContent` 的CSS类。", + "contentStyle": "将内联样式应用于 `ChildContent` ", + "headerClass": "设置头部区域(包含 `Title` 和 `Close` 的区域)的CSS类。", + "headerStyle": "将内联样式应用于头部区域(包含 `Title` 和 `Close` 的区域)", + "bodyClass": "设置正文区域的CSS类。", + "bodyStyle": "将内联样式应用于正文区域", + "cancelText": "替换 **取消** 按钮文本,需要设置 `OnCancel` ", + "deleteText": "替换 **删除** 按钮文本,需要设置 `OnDelete` ", + "saveText": "替换 **保存** 按钮文本,需要设置 `OnSave` ", + "autoScrollToTop": "自动滚动到顶部,默认开启。", + "cancelProps": "使用配置的方式设置 `CancelContent` ", + "deleteProps": "使用配置的方式设置 `CancelContent` ", + "saveProps": "使用配置的方式设置 `SaveContent` ", + "debounceInterval": "去抖动间隔", + "persistent": "在元素外部单击不会将其停用。", + "hideCancelAction": "隐藏 `CancelContent` ", + "hideActionsDivider": "隐藏 `Body` 和 `Action` 之间的分隔线", + "hideTitleDivider": "隐藏 `Header` 和 `Body` 之间的分隔线", + "title": "设置标题", + "transition": "设置动画效果", + "value": "控制组件可见还是隐藏。", + "formModel": "内置的 [表单](https://docs.masastack.com/blazor/components/forms) 的验证对象" }, "events": { - "onCancel": "", - "onDelete": "", - "onSave": "" + "onCancel": "**取消** 按钮点击事件", + "onDelete": "**删除** 按钮点击事件", + "onSave": "**保存** 按钮点击事件" }, "contents": { - "activatorContent": "", - "cancelContent": "", - "closeContent": "", - "deleteContent": "", - "saveContent": "", - "titleContent": "" + "activatorContent": "激活器插槽", + "closeContent": "替换 **关闭** 按钮", + "cancelContent": "替换 **取消** 按钮,需要设置 `OnCancel` 且 `HasActions=>OnDelete.HasDelegate||OnSave.HasDelegate` 为真", + "deleteContent": "替换 **删除** 按钮,需要设置 `OnDelete` ", + "saveContent": "替换 **保存** 按钮,需要设置 `OnSave` ", + "titleContent": "标题区域插槽" } -} \ No newline at end of file +}