Skip to content

Commit 9531164

Browse files
committed
doc: 增加多语言
1 parent 42c4f59 commit 9531164

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
@@ -1626,7 +1626,9 @@
16261626
"DropdownCascadeItem7": "Jingan",
16271627
"DropdownCascadeItem8": "Huangpu",
16281628
"DropdownItemTemplateTitle": "Item Template",
1629-
"DropdownItemTemplateIntro": "By setting <code>ItemTemplate</code>, you can customize the content displayed in the drop-down item. In this example, the <code>Tooltip</code> component is used to add a tooltip function when the mouse is hovered."
1629+
"DropdownItemTemplateIntro": "By setting <code>ItemTemplate</code>, you can customize the content displayed in the drop-down item. In this example, the <code>Tooltip</code> component is used to add a tooltip function when the mouse is hovered.",
1630+
"DropdownItemsTemplateTitle": "Items Template",
1631+
"DropdownItemsTemplateIntro": "You can customize all the content of the dropdown list by setting `<itemsTemplate>`. In this example, we use the `<DropdownItem>` component and `<DropdownDivider>` component to customize the dropdown list component."
16301632
},
16311633
"BootstrapBlazor.Server.Components.Samples.GoTops": {
16321634
"Title": "GoTop",

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,9 @@
16261626
"DropdownCascadeItem7": "静安区",
16271627
"DropdownCascadeItem8": "黄浦区",
16281628
"DropdownItemTemplateTitle": "下拉项模板",
1629-
"DropdownItemTemplateIntro": "通过设置 <code>ItemTemplate</code> 可以自定义下拉项显示内容,本例中通过自定义模板使用 <code>Tooltip</code> 组件增加鼠标悬浮是显示提示功能"
1629+
"DropdownItemTemplateIntro": "通过设置 <code>ItemTemplate</code> 可以自定义下拉项显示内容,本例中通过自定义模板使用 <code>Tooltip</code> 组件增加鼠标悬浮是显示提示功能",
1630+
"DropdownItemsTemplateTitle": "下拉框模板",
1631+
"DropdownItemsTemplateIntro": "通过设置 <code>ItemsTemplate</code> 可以自定义下拉框所有内容,本例中通过使用 <code>DropdownItem</code> 组件与 <code>DropdownDivider</code> 对下拉框组件进行自定义"
16301632
},
16311633
"BootstrapBlazor.Server.Components.Samples.GoTops": {
16321634
"Title": "GoTop 返回顶端组件",

0 commit comments

Comments
 (0)