Skip to content

Commit 3c27636

Browse files
committed
refactor: 移除 DropFooterText 本地化
1 parent 2f97d10 commit 3c27636

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/BootstrapBlazor/Components/Upload/DropUpload.razor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,5 @@ protected override void OnParametersSet()
119119

120120
UploadIcon ??= IconTheme.GetIconByKey(ComponentIcons.DropUploadIcon);
121121
UploadText ??= Localizer["DropUploadText"];
122-
FooterText ??= Localizer["DropFooterText"];
123122
}
124123
}

src/BootstrapBlazor/Locales/en.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@
323323
"BrowserButtonText": "Browser",
324324
"FileExtensions": "File must have one of the following extensions: {0}",
325325
"FileSizeValidation": "File size must less than {0}",
326-
"DropUploadText": "Drop files here or <em>click to upload</em>",
327-
"DropFooterText": ""
326+
"DropUploadText": "Drop files here or <em>click to upload</em>"
328327
},
329328
"BootstrapBlazor.Components.Handwritten": {
330329
"SaveButtonText": "Save",

src/BootstrapBlazor/Locales/zh.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@
323323
"BrowserButtonText": "浏览",
324324
"FileExtensions": "文件扩展名必须为以下几种格式: {0}",
325325
"FileSizeValidation": "文件太大,文件限制大小为 {0}",
326-
"DropUploadText": "拖拽文件到此处或者<em>点击上传</em>",
327-
"DropFooterText": ""
326+
"DropUploadText": "拖拽文件到此处或者<em>点击上传</em>"
328327
},
329328
"BootstrapBlazor.Components.Handwritten": {
330329
"SaveButtonText": "保存",

0 commit comments

Comments
 (0)