mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-09-06 08:06:56 +08:00
* refactor: a big refactor. wip * refactor: port handle file * refactor: place all handlers * fix: task info nil pointer * feat: enhance task progress tracking and context management * feat: cancel task * feat: stream mode * feat: silent mode * feat: dir cmd * refactor: remove unused old file * feat: rule cmd * feat: handle silent mode * feat: batch task * fix: batch task progress and temp file cleanup * refactor: update file creation and cleanup methods for better resource management * feat: add save command with silent mode handling * feat: message link * feat: update message prompts to include file count in storage selection * feat: slient save links * refactor: reduce dup code * feat: rule type * feat: chose dir * feat: refactor file handling and storage rules, improve error handling and logging * feat: rule mode * feat: telegraph pics * fix: tphpics nil pointer and inaccurate dirpath * feat: silent save telegraph * feat: add suffix to avoid file overwrite * feat: new storage telegram * chore: tidy go mod
29 lines
964 B
TOML
29 lines
964 B
TOML
[initing]
|
|
other = "正在启动..."
|
|
[exiting]
|
|
other = "正在退出..."
|
|
[bye]
|
|
other = "已退出"
|
|
[InvalidCacheDir]
|
|
other = "无效的缓存文件夹: {{.Path}}"
|
|
[GetWorkdirFailed]
|
|
other = "获取工作目录失败: {{.Error}}"
|
|
[GetCacheAbsPathFailed]
|
|
other = "获取缓存绝对路径失败: {{.Error}}"
|
|
[CleaningCache]
|
|
other = "正在清理缓存文件夹: {{.Path}}"
|
|
[CleanCacheFailed]
|
|
other = "清理缓存失败: {{.Error}}"
|
|
[CreateRmTimerFailed]
|
|
other = "创建清理定时器失败, 路径: {{.Path}}, 错误: {{.Error}}"
|
|
[RemoveFileAfter]
|
|
other = "将在 {{.Duration}} 后删除文件: {{.Path}}"
|
|
[RemoveFileFailed]
|
|
other = "删除文件失败: {{.Path}}, 错误: {{.Error}}"
|
|
[LoadedStorages]
|
|
other = "已加载 {{.Count}} 个存储"
|
|
[ConfigInvalid.WorkersOrRetry]
|
|
other = "配置无效: workers 或 retry 必须大于 0, 但当前值为: workers={{.Workers}}, retry={{.Retry}}"
|
|
[ConfigInvalid.DuplicateStorageName]
|
|
other = "存储名称重复: {{.Name}}"
|