diff --git a/src/BootstrapBlazor.Server/Extensions/ServicesExtensions.cs b/src/BootstrapBlazor.Server/Extensions/ServicesExtensions.cs
index 77e032d43bb2afd155660e5ceb1c6e1d9a746c92..44cbaf8270970385d4566ca7a8943970db6eec98 100644
--- a/src/BootstrapBlazor.Server/Extensions/ServicesExtensions.cs
+++ b/src/BootstrapBlazor.Server/Extensions/ServicesExtensions.cs
@@ -46,6 +46,7 @@ internal static class ServicesExtensions
op.AdditionalJsonAssemblies = new Assembly[]
{
typeof(BootstrapBlazor.Shared.App).Assembly,
+ typeof(BootstrapBlazor.Components.BarcodeReader).Assembly,
typeof(BootstrapBlazor.Components.Chart).Assembly,
typeof(BootstrapBlazor.Components.SignaturePad).Assembly
};
diff --git a/src/BootstrapBlazor.Shared/BootstrapBlazor.Shared.csproj b/src/BootstrapBlazor.Shared/BootstrapBlazor.Shared.csproj
index 18b21dda710068bb0006ffe1a629409189bf37cc..3d943a61a686aecfe9a2d33f6bbc8f96d2e2dff2 100644
--- a/src/BootstrapBlazor.Shared/BootstrapBlazor.Shared.csproj
+++ b/src/BootstrapBlazor.Shared/BootstrapBlazor.Shared.csproj
@@ -19,6 +19,7 @@
AutoStart parameter settings",
- "AutoStartLi1": "Click the code to pop up the selection file box",
- "AutoStartLi2": "Select a picture that contains barcodes",
- "AutoStartLi3": "Start recognizing barcodes",
"ButtonScanText": "Scan button text",
"ButtonScanTextDefaultValue": "Scan",
"ButtonStopText": "Turn off button text",
@@ -2689,7 +2684,10 @@
"GenerateButtonIcon": "The icon of Generate button",
"ShowButtons": "Whether show the buttons",
"DarkColor": "The color of black",
- "LightColor": "The color of white"
+ "LightColor": "The color of white",
+ "PlaceHolderValue": "Please input ...",
+ "ClearButtonTextValue": "Clear",
+ "GenerateButtonTextValue": "Generate"
},
"BootstrapBlazor.Shared.Samples.Anchors": {
"Title": "Anchor",
diff --git a/src/BootstrapBlazor.Shared/Locales/zh.json b/src/BootstrapBlazor.Shared/Locales/zh.json
index 2fce214a22f9989df82fe1dacb577a312c083d57..59977684f14a24a7b184a0006b979b7c577a7b88 100644
--- a/src/BootstrapBlazor.Shared/Locales/zh.json
+++ b/src/BootstrapBlazor.Shared/Locales/zh.json
@@ -2026,11 +2026,6 @@
"ImageLi1": "点击扫码弹出选择文件框",
"ImageLi2": "选取包含条码图片",
"ImageLi3": "开始识别条码",
- "AutoStartTitle": "自动开始",
- "AutoStartIntro": "通过设置 AutoStart 参数设置自动开启摄像头",
- "AutoStartLi1": "点击扫码弹出选择文件框",
- "AutoStartLi2": "选取包含条码图片",
- "AutoStartLi3": "开始识别条码",
"ButtonScanText": "扫描按钮文字",
"ButtonScanTextDefaultValue": "扫描",
"ButtonStopText": "关闭按钮文字",
@@ -2697,7 +2692,10 @@
"GenerateButtonIcon": "生成按钮图标",
"ShowButtons": "是否显示按钮",
"DarkColor": "黑色部分替代颜色",
- "LightColor": "白色部分替代颜色"
+ "LightColor": "白色部分替代颜色",
+ "PlaceHolderValue": "请输入内容",
+ "ClearButtonTextValue": "清除",
+ "GenerateButtonTextValue": "生成"
},
"BootstrapBlazor.Shared.Samples.Anchors": {
"Title": "Anchor 锚点",
diff --git a/src/BootstrapBlazor.Shared/Samples/BarcodeReaders.razor b/src/BootstrapBlazor.Shared/Samples/BarcodeReaders.razor
index 049f0e7b62cbc8d20f75e75b5f9d0b1c6afe0c86..2a2c63fab5219e023779f564208f4e8b9371fd21 100644
--- a/src/BootstrapBlazor.Shared/Samples/BarcodeReaders.razor
+++ b/src/BootstrapBlazor.Shared/Samples/BarcodeReaders.razor
@@ -7,8 +7,6 @@
@Localizer["Attention"]
@Localizer["Step"]
-