i18n: logs in conf/crontab/email/fs.driver

This commit is contained in:
HFO4
2022-09-29 17:42:05 +08:00
parent 9bb4a5263c
commit 196729bae8
17 changed files with 67 additions and 67 deletions

View File

@@ -226,7 +226,7 @@ func (handler Driver) Thumb(ctx context.Context, path string) (*response.Content
ok = false
)
if thumbSize, ok = ctx.Value(fsctx.ThumbSizeCtx).([2]uint); !ok {
return nil, errors.New("无法获取缩略图尺寸设置")
return nil, errors.New("failed to get thumbnail size")
}
thumbParam := fmt.Sprintf("!/fwfh/%dx%d", thumbSize[0], thumbSize[1])