Skip to content

Commit 04aa2bf

Browse files
committed
doc: 更新本地化资源文件
1 parent f9a1814 commit 04aa2bf

4 files changed

Lines changed: 24 additions & 8 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5063,6 +5063,9 @@
50635063
"DisplayText4": "Display Search",
50645064
"EditModelTitle": "Edit Test Data Window",
50655065
"NamePlaceholder": "Please enter your name within 50 characters",
5066+
"SearchFormDesc": "When <code>UseSearchForm</code> is enabled and <code>SearchItems</code> is not provided, it will default to using <code>TableColumn</code> with <code>Searchable=\"true\"</code>. You can customize the metadata through the <code>SearchFormItemMetaData</code> property in <code>TableColumn</code>",
5067+
"SearchFormIntro": "Enable the search form feature by setting <code>UseSearchForm=\"true\"</code>, and configure the search items within the form using <code>SearchItems</code>, suitable for scenarios with custom complex search conditions",
5068+
"SearchFormTitle": "Search Form",
50665069
"SearchTableGroupBoxText": "Search Criteria",
50675070
"SearchTableIntro": "Set <code>ShowSearch</code> to display the query component, customize the search UI by setting the <code>SearchTemplate</code> template",
50685071
"SearchTableLi1": "Enable no data display function by setting <code>ShowEmpty=\"true\"</code>",
@@ -5076,10 +5079,7 @@
50765079
"SelectedItemValue1": "Name1",
50775080
"SelectedItemValue2": "Name2",
50785081
"TablesSearchDesc": "Commonly used for single table maintenance, simple addition, deletion, modification, search, sorting, filtering, search and other common functions can be realized through attribute configuration, and very complex can be realized through the advanced usage of <code>Template</code> business needs functions",
5079-
"TablesSearchTitle": "Table Search",
5080-
"SearchFormTitle": "Search Form",
5081-
"SearchFormIntro": "Enable the search form feature by setting <code>UseSearchForm=\"true\"</code>, and configure the search items within the form using <code>SearchItems</code>, suitable for scenarios with custom complex search conditions",
5082-
"SearchFormDesc": "When <code>UseSearchForm</code> is enabled and <code>SearchItems</code> is not provided, it will default to using <code>TableColumn</code> with <code>Searchable=\"true\"</code>. You can customize the metadata through the <code>SearchFormItemMetaData</code> property in <code>TableColumn</code>"
5082+
"TablesSearchTitle": "Table Search"
50835083
},
50845084
"BootstrapBlazor.Server.Components.Samples.Table.TablesSelection": {
50855085
"TablesSelectionCountText": "Count:{0}",

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5063,6 +5063,9 @@
50635063
"DisplayText4": "显示搜索",
50645064
"EditModelTitle": "编辑测试数据窗口",
50655065
"NamePlaceholder": "请输入姓名,50字以内",
5066+
"SearchFormDesc": "使用 <code>UseSearchForm</code> 开启搜索表单时未提供 <code>SearchItems</code> 默认尝试使用设置 <code>Searchable=\"true\"</code> 的 <code>TableColumn</code> 进行构建,可以通过 <code>TableColumn</code> 中的 <code>SearchFormItemMetaData</code> 属性定制化元数据",
5067+
"SearchFormIntro": "通过设置 <code>UseSearchForm=\"true\"</code> 开启搜索表单功能,通过 <code>SearchItems</code> 配置搜索表单内搜索项,适用于自定义复杂搜索条件的场景",
5068+
"SearchFormTitle": "搜索表单",
50665069
"SearchTableGroupBoxText": "搜索条件",
50675070
"SearchTableIntro": "设置 <code>ShowSearch</code> 显示查询组件,通过设置 <code>SearchTemplate</code> 模板自定义搜索 UI",
50685071
"SearchTableLi1": "通过设置 <code>ShowEmpty=\"true\"</code> 开启无数据显示功能",
@@ -5076,10 +5079,7 @@
50765079
"SelectedItemValue1": "姓名1",
50775080
"SelectedItemValue2": "姓名2",
50785081
"TablesSearchDesc": "常用于单表维护,通过属性配置实现简单的增、删、改、查、排序、过滤、搜索等常用功能,通过 <code>Template</code> 的高级用法能实现非常复杂的业务需求功能",
5079-
"TablesSearchTitle": "Table 表格",
5080-
"SearchFormTitle": "搜索表单",
5081-
"SearchFormIntro": "通过设置 <code>UseSearchForm=\"true\"</code> 开启搜索表单功能,通过 <code>SearchItems</code> 配置搜索表单内搜索项,适用于自定义复杂搜索条件的场景",
5082-
"SearchFormDesc": "使用 <code>UseSearchForm</code> 开启搜索表单时未提供 <code>SearchItems</code> 默认尝试使用设置 <code>Searchable=\"true\"</code> 的 <code>TableColumn</code> 进行构建,可以通过 <code>TableColumn</code> 中的 <code>SearchFormItemMetaData</code> 属性定制化元数据"
5082+
"TablesSearchTitle": "Table 表格"
50835083
},
50845084
"BootstrapBlazor.Server.Components.Samples.Table.TablesSelection": {
50855085
"TablesSelectionCountText": "选中的行数:{0}",

src/BootstrapBlazor/Locales/en.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,5 +407,13 @@
407407
},
408408
"BootstrapBlazor.Components.CardUpload": {
409409
"DeleteConfirmContent": "Are you sure you want to delete the current data?"
410+
},
411+
"BootstrapBlazor.Components.SearchFormLocalizerOptions": {
412+
"SelectAllText": "All",
413+
"BooleanAllText": "All",
414+
"BooleanTrueText": "True",
415+
"BooleanFalseText": "False",
416+
"NumberStartValueLabelText": "Start",
417+
"NumberEndValueLabelText": "End"
410418
}
411419
}

src/BootstrapBlazor/Locales/zh.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,5 +407,13 @@
407407
},
408408
"BootstrapBlazor.Components.CardUpload": {
409409
"DeleteConfirmContent": "确定删除当前数据吗?"
410+
},
411+
"BootstrapBlazor.Components.SearchFormLocalizerOptions": {
412+
"SelectAllText": "全部",
413+
"BooleanAllText": "全部",
414+
"BooleanTrueText": "",
415+
"BooleanFalseText": "",
416+
"NumberStartValueLabelText": "开始数量",
417+
"NumberEndValueLabelText": "截止数量"
410418
}
411419
}

0 commit comments

Comments
 (0)