Skip to content

Commit 991f14d

Browse files
committed
doc: 增加本地化
1 parent a622049 commit 991f14d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/BootstrapBlazor.Server/Locales/en-US.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,9 @@
320320
"PopoverConfirmsShowButtonsTitle": "Custom Component",
321321
"PopoverConfirmsShowButtonsIntro": "By setting <code>ShowCloseButton=\"false\"</code> <code>ShowConfirmButton=\"false\"</code>, you don't display the built-in function buttons, and customize an <b>Approve</b> button in the custom component.",
322322
"PopoverConfirmsShowButtonsButtonText": "Custom Component",
323-
"PopoverConfirmsShowButtonsDesc": "In a custom component, you can call the <code>Close</code> or <code>Confirm</code> method inside the component through cascading parameters"
323+
"PopoverConfirmsShowButtonsDesc": "In a custom component, you can call the <code>Close</code> or <code>Confirm</code> method inside the component through cascading parameters",
324+
"PopoverConfirmsTriggerTitle": "Trigger",
325+
"PopoverConfirmsTriggerIntro": "By setting the <code>Trigger</code> parameter, you can set the way the component pops up the confirmation box. The default value is <code>click</code>. You can also set <code>hover focus</code> to use in combination."
324326
},
325327
"BootstrapBlazor.Server.Components.Components.CustomPopConfirmContent": {
326328
"CustomPopConfirmContentText": "Custom content",

src/BootstrapBlazor.Server/Locales/zh-CN.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,9 @@
320320
"PopoverConfirmsShowButtonsTitle": "自定义组件",
321321
"PopoverConfirmsShowButtonsIntro": "通过设置 <code>ShowCloseButton=\"false\"</code> <code>ShowConfirmButton=\"false\"</code> 不显示内置功能按钮,在自定义组件中自定义一个 <b>审批</b> 按钮",
322322
"PopoverConfirmsShowButtonsButtonText": "自定义组件",
323-
"PopoverConfirmsShowButtonsDesc": "自定义组件内可通过级联参数调用组件内部的 <code>Close</code> 或者 <code>Confirm</code> 方法"
323+
"PopoverConfirmsShowButtonsDesc": "自定义组件内可通过级联参数调用组件内部的 <code>Close</code> 或者 <code>Confirm</code> 方法",
324+
"PopoverConfirmsTriggerTitle": "触发方式",
325+
"PopoverConfirmsTriggerIntro": "通过设置 <code>Trigger</code> 参数来设置组件弹出确认框的方式,默认值为 <code>click</code> 还可以设置 <code>hover focus</code> 可组合使用"
324326
},
325327
"BootstrapBlazor.Server.Components.Components.CustomPopConfirmContent": {
326328
"CustomPopConfirmContentText": "自定义弹窗内容",

0 commit comments

Comments
 (0)