OK
button to close the pop-up window",
"TableDialogNormalTips3": "Click the Edit
button, since some data are set as read-only, only the Count
field can be changed"
},
- "BootstrapBlazor.Shared.Demos.Table.Dialog.TableDialogNormal": {
+ "BootstrapBlazor.Shared.Demos.Table.TablesDialog.TableDialogNormal": {
"TableDialogNormalChoose": "Choose",
"TableDialogNormalSelectitem": "Select item",
"TableDialogNormalSure": "Sure"
@@ -5162,10 +5162,10 @@
"PageInfoTemplateAttr": "The template for custom page info",
"PageInfoTextAttr": "Pagination label text"
},
- "BootstrapBlazor.Shared.Demos.Table.Base.TableBaseNormal": {
+ "BootstrapBlazor.Shared.Demos.Table.TablesBase.TableBaseNormal": {
"TableBaseNormalRefreshText": "Refresh"
},
- "BootstrapBlazor.Shared.Demos.Table.Base.TableBaseHeaderStyle": {
+ "BootstrapBlazor.Shared.Demos.Table.TablesBase.TableBaseHeaderStyle": {
"TableBaseHeaderStyleMode": "Pattern"
},
"BootstrapBlazor.Shared.Samples.Table.TablesColumn": {
@@ -5432,7 +5432,7 @@
"TablesAutoRefreshControlTitle": "Control whether to update automatically by setting a variable",
"TablesAutoRefreshControlIntro": "This example controls whether to automatically update by setting a variable"
},
- "BootstrapBlazor.Shared.Demos.Table.AutoRefresh.TablesAutoRefreshControl": {
+ "BootstrapBlazor.Shared.Demos.Table.TablesAutoRefresh.TablesAutoRefreshControl": {
"TablesAutoRefreshControlDescription": "Enable/disable automatic update function by clicking the button",
"TablesAutoRefreshControlToggleAuto": "Change Auto",
"TablesAutoRefreshControlIsAutoRefresh": "The current value"
@@ -5561,7 +5561,7 @@
"ClassAttr": "Current cell style",
"ValueAttr": "Current cell display content"
},
- "BootstrapBlazor.Shared.Demos.Table.Cell.TableCellOnDoubleClickCell": {
+ "BootstrapBlazor.Shared.Demos.Table.TablesCell.TableCellOnDoubleClickCell": {
"TableCellOnDoubleClickCellToastTitle": "Double-click cell callback",
"TableCellOnDoubleClickCellCurrentCellName": "Current cell name:",
"TableCellOnDoubleClickCellCurrentValue": "Current Value:"
diff --git a/src/BootstrapBlazor.Shared/Locales/zh.json b/src/BootstrapBlazor.Shared/Locales/zh.json
index 2427c3dbd..cce68f6a3 100644
--- a/src/BootstrapBlazor.Shared/Locales/zh.json
+++ b/src/BootstrapBlazor.Shared/Locales/zh.json
@@ -73,7 +73,7 @@
"TableDialogNormalTips2": "弹窗中选择产品后点击 确定
按钮关闭弹窗",
"TableDialogNormalTips3": "点击 编辑
按钮,由于设置部分数据为只读,只能更改 Count
字段"
},
- "BootstrapBlazor.Shared.Demos.Table.Dialog.TableDialogNormal": {
+ "BootstrapBlazor.Shared.Demos.Table.TablesDialog.TableDialogNormal": {
"TableDialogNormalChoose": "选择",
"TableDialogNormalSelectitem": "选择项目",
"TableDialogNormalSure": "确定"
@@ -5197,10 +5197,10 @@
"PageInfoTemplateAttr": "分页详细信息自定义组件",
"PageInfoTextAttr": "分页信息显示文字"
},
- "BootstrapBlazor.Shared.Demos.Table.Base.TableBaseNormal": {
+ "BootstrapBlazor.Shared.Demos.Table.TablesBase.TableBaseNormal": {
"TableBaseNormalRefreshText": "刷新"
},
- "BootstrapBlazor.Shared.Demos.Table.Base.TableBaseHeaderStyle": {
+ "BootstrapBlazor.Shared.Demos.Table.TablesBase.TableBaseHeaderStyle": {
"TableBaseHeaderStyleMode": "模式"
},
"BootstrapBlazor.Shared.Samples.Table.TablesColumn": {
@@ -5448,7 +5448,7 @@
"TablesAutoRefreshControlTitle": "通过设置变量控制是否自动更新",
"TablesAutoRefreshControlIntro": "本示例通过设置变量控制是否自动更新"
},
- "BootstrapBlazor.Shared.Demos.Table.AutoRefresh.TablesAutoRefreshControl": {
+ "BootstrapBlazor.Shared.Demos.Table.TablesAutoRefresh.TablesAutoRefreshControl": {
"TablesAutoRefreshControlDescription": "通过点击按钮开始/关闭是否自动更新功能",
"TablesAutoRefreshControlToggleAuto": "更改 Auto",
"TablesAutoRefreshControlIsAutoRefresh": "当前值"
@@ -5577,7 +5577,7 @@
"ClassAttr": "当前单元格样式",
"ValueAttr": "当前单元格显示内容"
},
- "BootstrapBlazor.Shared.Demos.Table.Cell.TableCellOnDoubleClickCell": {
+ "BootstrapBlazor.Shared.Demos.Table.TablesCell.TableCellOnDoubleClickCell": {
"TableCellOnDoubleClickCellToastTitle": "双击单元格回调",
"TableCellOnDoubleClickCellCurrentCellName": "当前单元格名称:",
"TableCellOnDoubleClickCellCurrentValue": "当前值:"
diff --git a/src/BootstrapBlazor.Shared/Samples/Table/Tables.razor b/src/BootstrapBlazor.Shared/Samples/Table/Tables.razor
index dcf7da1b1..0a8063968 100644
--- a/src/BootstrapBlazor.Shared/Samples/Table/Tables.razor
+++ b/src/BootstrapBlazor.Shared/Samples/Table/Tables.razor
@@ -1,38 +1,53 @@
@page "/tables"
-@inject IStringLocalizer@((MarkupString)TablesLocalizer["TableBaseExplain1"].Value)
+@((MarkupString)Localizer["TableBaseExplain1"].Value)
-@((MarkupString)TablesLocalizer["TableBaseExplain2"].Value)
+@((MarkupString)Localizer["TableBaseExplain2"].Value)
@((MarkupString)TablesLocalizer["TableBaseSizeDescription"].Value)
+@((MarkupString)Localizer["TableBaseSizeDescription"].Value)
@((MarkupString)TablesLocalizer["TableBaseHeaderStyleDescription"].Value)
+@((MarkupString)Localizer["TableBaseHeaderStyleDescription"].Value)