Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions storage-aliyunoss/i18n/en_US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ plugin:
other: Access URL prefix
description:
other: prefix of the final access address of the uploaded file, ending with '/' https://example.com/xxx/
max_file_size:
title:
other: Maximum file size(MB)
description:
other: Limit the maximum size of uploaded files, in MB, default is 10MB
err:
mis_storage_config:
other: Wrong storage configuration causes upload failure.
Expand Down
2 changes: 0 additions & 2 deletions storage-aliyunoss/i18n/translation.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ const (
ConfigAccessKeySecretDescription = "plugin.aliyunoss_storage.backend.config.access_key_secret.description"
ConfigVisitUrlPrefixTitle = "plugin.aliyunoss_storage.backend.config.visit_url_prefix.title"
ConfigVisitUrlPrefixDescription = "plugin.aliyunoss_storage.backend.config.visit_url_prefix.description"
ConfigMaxFileSizeTitle = "plugin.aliyunoss_storage.backend.config.max_file_size.title"
ConfigMaxFileSizeDescription = "plugin.aliyunoss_storage.backend.config.max_file_size.description"

ErrMisStorageConfig = "plugin.aliyunoss_storage.backend.err.mis_storage_config"
ErrFileNotFound = "plugin.aliyunoss_storage.backend.err.file_not_found"
Expand Down
5 changes: 0 additions & 5 deletions storage-aliyunoss/i18n/zh_CN.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ plugin:
other: 访问URL前缀
description:
other: 上传文件最终访问地址的前缀,以 '/' 结尾 https://example.com/xxx/
max_file_size:
title:
other: 最大文件大小(MB)
description:
other: 限制上传文件的最大大小,单位为MB,默认为 10MB
err:
mis_storage_config:
other: 错误的存储配置导致上传失败
Expand Down
2 changes: 1 addition & 1 deletion storage-aliyunoss/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

slug_name: aliyunoss_storage
type: storage
version: 1.2.11
version: 1.2.12
author: answerdev
link: https://github.com/apache/answer-plugins/tree/main/storage-aliyunoss
5 changes: 0 additions & 5 deletions storage-s3/i18n/en_US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ plugin:
other: Access URL prefix
description:
other: prefix of the final access address of the uploaded file, ending with '/' https://example.com/xxx/
max_file_size:
title:
other: Maximum file size(MB)
description:
other: Limit the maximum size of uploaded files, in MB, default is 10MB
region:
title:
other: Region
Expand Down
2 changes: 0 additions & 2 deletions storage-s3/i18n/translation.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ const (
ConfigAccessTokenDescription = "plugin.s3_storage.backend.config.access_token.description"
ConfigVisitUrlPrefixTitle = "plugin.s3_storage.backend.config.visit_url_prefix.title"
ConfigVisitUrlPrefixDescription = "plugin.s3_storage.backend.config.visit_url_prefix.description"
ConfigMaxFileSizeTitle = "plugin.s3_storage.backend.config.max_file_size.title"
ConfigMaxFileSizeDescription = "plugin.s3_storage.backend.config.max_file_size.description"
ConfigRegionTitle = "plugin.s3_storage.backend.config.region.title"
ConfigRegionDescription = "plugin.s3_storage.backend.config.region.description"
ConfigDisableSSLTitle = "plugin.s3_storage.backend.config.disable_ssl.title"
Expand Down
5 changes: 0 additions & 5 deletions storage-s3/i18n/zh_CN.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ plugin:
other: 访问URL前缀
description:
other: 上传文件最终访问地址的前缀,以 '/' 结尾 https://example.com/xxx/
max_file_size:
title:
other: 文件最大大小(MB)
description:
other: 限制上传文件的最大大小,单位MB,默认为10MB
region:
title:
other: 区域(Region)
Expand Down
2 changes: 1 addition & 1 deletion storage-s3/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

slug_name: s3_storage
type: storage
version: 1.2.11
version: 1.2.12
author: answerdev
link: https://github.com/apache/answer-plugins/tree/main/storage-s3
1 change: 0 additions & 1 deletion storage-s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ type StorageConfig struct {
AccessKeySecret string `json:"access_key_secret"`
AccessToken string `json:"access_token"`
VisitUrlPrefix string `json:"visit_url_prefix"`
MaxFileSize string `json:"max_file_size"`
Region string `json:"region"`
DisableSSL bool `json:"disable_ssl"`
}
Expand Down