Skip to content

Commit 5c47f1e

Browse files
committed
doc: 增加本地化
1 parent d308cbd commit 5c47f1e

File tree

2 files changed

+24
-14
lines changed

2 files changed

+24
-14
lines changed

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6629,7 +6629,7 @@
66296629
"BootstrapBlazor.Shared.Components.Samples.Icons.BootstrapIcons": {
66306630
"Title": "Bootstrap Icons",
66316631
"BaseUsageText": "Free, high quality, open source icon library",
6632-
"Icons": "For icon information, please visit <a href=\"https://icons.getbootstrap.com/\" target=\"_blank\">[portal]</a>",
6632+
"Icons": "For icon list, please visit <a href=\"https://icons.getbootstrap.com\" target=\"_blank\">[portal]</a>",
66336633
"P1": "Extending the Component Package by Reference",
66346634
"P2": "After adding the stylesheet file link open icon"
66356635
},
@@ -6639,7 +6639,8 @@
66396639
"CopiedTooltipText": "Copied",
66406640
"P1": "1. After referencing the extension package, add the package built-in style file to open the icon",
66416641
"P2": "2. Enable css isolation and automatically reference component styles after compilation",
6642-
"P3": "Please copy the following code segement"
6642+
"P3": "Please copy the following code segement",
6643+
"Icons": "For icon list, please visit <a href=\"https://element.eleme.cn/#/zh-CN/component/icon\" target=\"_blank\">[portal]</a>"
66436644
},
66446645
"BootstrapBlazor.Shared.Components.Samples.Icons.FAIcons": {
66456646
"Title": "Font Awesome Icons",
@@ -6648,12 +6649,13 @@
66486649
"SwitchButtonTextOn": "Show Copy Dialog",
66496650
"P1": "Extending the Component Package by Reference",
66506651
"P2": "After adding the stylesheet file link open icon",
6651-
"CopiedTooltipText": "Copied"
6652+
"CopiedTooltipText": "Copied",
6653+
"Icons": "For icon list, please visit <a href=\"https://fontawesome.com/icons\" target=\"_blank\">[portal]</a>"
66526654
},
66536655
"BootstrapBlazor.Shared.Components.Samples.Icons.MaterialDesignIcons": {
66546656
"Title": "MaterialDesign Icons",
66556657
"BaseUsageText": "Material Design system icons are simple, modern and user-friendly",
6656-
"Icons": "For icon information, please visit <a href=\"https://pictogrammers.com/library/mdi/\" target=\"_blank\">[portal]</a>",
6658+
"Icons": "For icon list, please visit <a href=\"https://pictogrammers.com/library/mdi\" target=\"_blank\">[portal]</a>",
66576659
"P1": "Extending the Component Package by Reference",
66586660
"P2": "After adding the stylesheet file link open icon"
66596661
},
@@ -6663,15 +6665,17 @@
66636665
"CopiedTooltipText": "Copied",
66646666
"P1": "1. After referencing the extension package, add the package built-in style file to open the icon",
66656667
"P2": "2. Enable css isolation and automatically reference component styles after compilation",
6666-
"P3": "Please copy the following code segement"
6668+
"P3": "Please copy the following code segement",
6669+
"Icons": "For icon list, please visit <a href=\"https://iconpark.oceanengine.com/official\" target=\"_blank\">[portal]</a>"
66676670
},
66686671
"BootstrapBlazor.Shared.Components.Samples.Icons.AntDesignIcons": {
66696672
"AntDesignIconTitle": "AntDesign Svg Icon Lib",
66706673
"AntDesignIconDescription": "Semantic vector graphics.",
66716674
"CopiedTooltipText": "Copied",
66726675
"P1": "1. After referencing the extension package, add the package built-in style file to open the icon",
66736676
"P2": "2. Enable css isolation and automatically reference component styles after compilation",
6674-
"P3": "Please copy the following code segement"
6677+
"P3": "Please copy the following code segement",
6678+
"Icons": "For icon list, please visit <a href=\"https://ant.design/components/icon\" target=\"_blank\">[portal]</a>"
66756679
},
66766680
"BootstrapBlazor.Shared.Components.Samples.BootstrapBlazorIcons": {
66776681
"IconsTitle": "Icon",
@@ -6681,7 +6685,8 @@
66816685
"SvgTitle": "Svg Icons",
66826686
"SvgIntro": "Load the <code>Svg</code> sprite image by setting <code>IsSvgSprites=\"true\"</code> <code>Url</code> and specify its <code>Id</code> value by <code>Name</code>",
66836687
"ImageTitle": "Image",
6684-
"ImageIntro": "Customize the displayed content through the <code>ChildContent</code> template"
6688+
"ImageIntro": "Customize the displayed content through the <code>ChildContent</code> template",
6689+
"Icons": "For icon list, please visit <a href=\"https://icons.getbootstrap.com\" target=\"_blank\">[portal]</a>"
66856690
},
66866691
"BootstrapBlazor.Shared.Components.Samples.DriverDotnetJs": {
66876692
"DriverJsPopoverTitleText": "Animated Tour Example",

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6629,7 +6629,7 @@
66296629
"BootstrapBlazor.Shared.Components.Samples.Icons.BootstrapIcons": {
66306630
"Title": "Bootstrap Icons",
66316631
"BaseUsageText": "Bootstrap 免费开源图标库",
6632-
"Icons": "图标信息请通过 <a href=\"https://icons.getbootstrap.com/\" target=\"_blank\">[传送门]</a> 查看",
6632+
"Icons": "图标列表请通过 <a href=\"https://icons.getbootstrap.com\" target=\"_blank\">[传送门]</a> 查看",
66336633
"P1": "通过引用扩展组件包",
66346634
"P2": "后添加样式表文件链接开启图标"
66356635
},
@@ -6639,7 +6639,8 @@
66396639
"CopiedTooltipText": "拷贝成功",
66406640
"P1": "1. 引用扩展组件包后添加包内置样式文件开启图标",
66416641
"P2": "2. 开启样式隔离,编译后自动引用组件样式",
6642-
"P3": "请拷贝下方样式即可"
6642+
"P3": "请拷贝下方样式即可",
6643+
"Icons": "图标列表请通过 <a href=\"https://element.eleme.cn/#/zh-CN/component/icon\" target=\"_blank\">[传送门]</a> 查看"
66436644
},
66446645
"BootstrapBlazor.Shared.Components.Samples.Icons.FAIcons": {
66456646
"Title": "Font Awesome Icons",
@@ -6648,12 +6649,13 @@
66486649
"SwitchButtonTextOn": "显示高级拷贝",
66496650
"P1": "通过引用扩展组件包",
66506651
"P2": "后添加样式表文件链接开启图标",
6651-
"CopiedTooltipText": "拷贝成功"
6652+
"CopiedTooltipText": "拷贝成功",
6653+
"Icons": "图标列表请通过 <a href=\"https://fontawesome.com/icons\" target=\"_blank\">[传送门]</a> 查看"
66526654
},
66536655
"BootstrapBlazor.Shared.Components.Samples.Icons.MaterialDesignIcons": {
66546656
"Title": "MaterialDesign Icons",
66556657
"BaseUsageText": "Material Design 图标简单、现代、友好",
6656-
"Icons": "图标信息请通过 <a href=\"https://pictogrammers.com/library/mdi/\" target=\"_blank\">[传送门]</a> 查看",
6658+
"Icons": "图标列表请通过 <a href=\"https://pictogrammers.com/library/mdi\" target=\"_blank\">[传送门]</a> 查看",
66576659
"P1": "通过引用扩展组件包",
66586660
"P2": "后添加样式表文件链接开启图标"
66596661
},
@@ -6663,15 +6665,17 @@
66636665
"CopiedTooltipText": "拷贝成功",
66646666
"P1": "1. 引用扩展组件包后添加包内置样式文件开启图标",
66656667
"P2": "2. 开启样式隔离,编译后自动引用组件样式",
6666-
"P3": "请拷贝下方样式即可"
6668+
"P3": "请拷贝下方样式即可",
6669+
"Icons": "图标列表请通过 <a href=\"https://iconpark.oceanengine.com/official\" target=\"_blank\">[传送门]</a> 查看"
66676670
},
66686671
"BootstrapBlazor.Shared.Components.Samples.Icons.AntDesignIcons": {
66696672
"AntDesignIconTitle": "蚂蚁图标库",
66706673
"AntDesignIconDescription": "语义化的矢量图形",
66716674
"CopiedTooltipText": "拷贝成功",
66726675
"P1": "1. 引用扩展组件包后添加包内置样式文件开启图标",
66736676
"P2": "2. 开启样式隔离,编译后自动引用组件样式",
6674-
"P3": "请拷贝下方样式即可"
6677+
"P3": "请拷贝下方样式即可",
6678+
"Icons": "图标列表请通过 <a href=\"https://ant.design/components/icon\" target=\"_blank\">[传送门]</a> 查看"
66756679
},
66766680
"BootstrapBlazor.Shared.Components.Samples.BootstrapBlazorIcons": {
66776681
"IconsTitle": "Icon 图标",
@@ -6681,7 +6685,8 @@
66816685
"SvgTitle": "矢量图标",
66826686
"SvgIntro": "通过设置 <code>IsSvgSprites=\"true\"</code> <code>Url</code> 加载 <code>Svg</code> 雪碧图,通过 <code>Name</code> 指定其 <code>Id</code> 值",
66836687
"ImageTitle": "图片",
6684-
"ImageIntro": "通过 <code>ChildContent</code> 模板自定义显示内容"
6688+
"ImageIntro": "通过 <code>ChildContent</code> 模板自定义显示内容",
6689+
"Icons": "图标列表请通过 <a href=\"https://icons.getbootstrap.com\" target=\"_blank\">[传送门]</a> 查看"
66856690
},
66866691
"BootstrapBlazor.Shared.Components.Samples.DriverDotnetJs": {
66876692
"DriverJsPopoverTitleText": "高亮向导组件演示",

0 commit comments

Comments
 (0)