Skip to content

Commit 7e719ed

Browse files
committed
doc: 精简本地化资源
1 parent 32218eb commit 7e719ed

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

src/BootstrapBlazor.Server/Components/Samples/UploadDrops.razor.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,6 @@ private Task OnDropUpload(UploadFile file)
2525

2626
private List<AttributeItem> GetAttributes() =>
2727
[
28-
new()
29-
{
30-
Name = "IsDirectory",
31-
Description = Localizer["UploadsIsDirectory"],
32-
Type = "bool",
33-
ValueList = "true|false",
34-
DefaultValue = "false"
35-
},
36-
new()
37-
{
38-
Name = "IsMultiple",
39-
Description = Localizer["UploadsIsMultiple"],
40-
Type = "bool",
41-
ValueList = "true|false",
42-
DefaultValue = "false"
43-
},
4428
new()
4529
{
4630
Name = "BodyTemplate",

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3535,8 +3535,6 @@
35353535
"DropUploadTitle": "Basic usage",
35363536
"DropUploadIntro": "Handle all uploaded files via the <code>OnChange</code> callback",
35373537
"DropUploadFooterText": "File size should not exceed 5Mb",
3538-
"UploadsIsDirectory": "Whether to upload the entire directory",
3539-
"UploadsIsMultiple": "Whether to allow multiple file uploads",
35403538
"UploadsBodyTemplate": "Body Template",
35413539
"UploadsIconTemplate": "Icon Template",
35423540
"UploadsTextTemplate": "Text Template",

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3535,8 +3535,6 @@
35353535
"DropUploadTitle": "基础用法",
35363536
"DropUploadIntro": "通过 <code>OnChange</code> 回调处理所有上传文件",
35373537
"DropUploadFooterText": "文件大小不超过 5Mb",
3538-
"UploadsIsDirectory": "是否上传整个目录",
3539-
"UploadsIsMultiple": "是否允许多文件上传",
35403538
"UploadsBodyTemplate": "Body 模板",
35413539
"UploadsIconTemplate": "图标模板",
35423540
"UploadsTextTemplate": "文字模板",

0 commit comments

Comments
 (0)