mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 10:24:05 +00:00
feat(storage): show running checks, confirmations and the nightly result in Admin > Storage
The panels follow the reworked reclaim state: Check now starts a check in the background and the panel polls until it is done, a category with an unusually large share of unused files offers Confirm, Freed comes from the last run that deleted, a stopped check says why and no longer reads as nothing found, the switch waits for its answer and a poll that was in flight cannot flip it back, and refusals name their reason in the operator's language. Strings updated in all 28 languages.
This commit is contained in:
@@ -128,20 +128,31 @@ const storage: TranslationStrings = {
|
||||
'storage.reclaim.title': '未被引用的文件',
|
||||
'storage.reclaim.hint': 'TREK 每晚会查找不再被任何行程、地点、日志、合集或用户使用的已上传文件,例如行程被删除之后。',
|
||||
'storage.reclaim.check': '立即检查',
|
||||
'storage.reclaim.checked': '{age}检查',
|
||||
'storage.reclaim.checked': '上次检查:{age}',
|
||||
'storage.reclaim.never': '尚未检查',
|
||||
'storage.reclaim.delete': '删除未被引用的文件',
|
||||
'storage.reclaim.deleteHint':
|
||||
'关闭时,夜间检查只做报告。开启后,一周内无人使用的文件会被删除。如果多个安装共用同一个存储桶,请保持关闭。',
|
||||
'关闭时,夜间检查只做报告。开启后,一周内无人使用的文件会被删除。无论开关与否,你在 TREK 中删除的文件都会立即移除。',
|
||||
'storage.reclaim.freeable': '可释放',
|
||||
'storage.reclaim.waiting': '未使用不足一周',
|
||||
'storage.reclaim.deleted': '上次检查已释放',
|
||||
'storage.reclaim.deleted': '上次夜间清理已释放',
|
||||
'storage.reclaim.nothing': '未发现未被引用的文件。',
|
||||
'storage.reclaim.stopped': '上次检查提前停止,因为运行期间数据库被恢复了。',
|
||||
'storage.reclaim.skip.sources_missing': '已跳过:无法查询 TREK 的所有部分',
|
||||
'storage.reclaim.skip.shared_location': '已跳过:与另一个类别共用位置',
|
||||
'storage.reclaim.skip.too_many_unreferenced': '已跳过:看起来未使用的文件过多,可能是共享存储桶',
|
||||
'storage.reclaim.skip.list_failed': '已跳过:无法列出文件',
|
||||
'storage.reclaim.skip.source_failed': '已跳过:某次查询失败',
|
||||
'storage.reclaim.running': '正在检查…',
|
||||
'storage.reclaim.stoppedFailed': '上次检查因错误而停止。今晚会再次运行。',
|
||||
'storage.reclaim.skip.foreign_install': '已跳过:另一个 TREK 安装正在使用此存储',
|
||||
'storage.reclaim.skip.owner_unknown': '已跳过:TREK 无法将此存储标记为自己的',
|
||||
'storage.reclaim.skip.delete_failed': '已停止:存储拒绝了一次删除',
|
||||
'storage.reclaim.skip.interrupted': '未完成即停止,数据仅为部分',
|
||||
'storage.reclaim.confirmNeeded': '这些文件中超过五分之一看起来未被使用。在你确认这是预期情况之前,不会删除任何内容。',
|
||||
'storage.reclaim.confirm': '确认',
|
||||
'storage.reclaim.confirmed': '已确认。夜间清理现在可以删除这些文件。',
|
||||
'storage.reclaim.error.reclaim_busy': '另一项存储任务正在运行。请稍后再试。',
|
||||
'storage.reclaim.error.reclaim_demo': '演示实例中不可用。',
|
||||
'storage.reclaim.error.reclaim_nothing_to_confirm': '已无需确认。请先运行一次检查。',
|
||||
};
|
||||
export default storage;
|
||||
|
||||
Reference in New Issue
Block a user