状态修改
This commit is contained in:
@@ -50,32 +50,32 @@ const FAILURE_KEYS = new Set(['failed', 'timeout', 'download_failed', 'upscale_f
|
|||||||
const TERMINAL_KEYS = new Set([...SUCCESS_KEYS, ...FAILURE_KEYS, 'deleted']);
|
const TERMINAL_KEYS = new Set([...SUCCESS_KEYS, ...FAILURE_KEYS, 'deleted']);
|
||||||
|
|
||||||
const LABELS: Record<string, string> = {
|
const LABELS: Record<string, string> = {
|
||||||
pending: '待处理',
|
pending: '生成中',
|
||||||
optimizing: '优化中',
|
optimizing: '生成中',
|
||||||
prompt_optimized: '待生成',
|
prompt_optimized: '生成中',
|
||||||
generating: '生成中',
|
generating: '生成中',
|
||||||
queued: '排队中',
|
queued: '生成中',
|
||||||
preparing: '准备中',
|
preparing: '生成中',
|
||||||
creating_provider_task: '创建任务中',
|
creating_provider_task: '生成中',
|
||||||
provider_result_staged: '结果处理中',
|
provider_result_staged: '生成中',
|
||||||
waiting_remote: '等待生成',
|
waiting_remote: '生成中',
|
||||||
polling: '查询生成进度',
|
polling: '生成中',
|
||||||
result_ready: '结果处理中',
|
result_ready: '生成中',
|
||||||
download_queued: '等待下载',
|
download_queued: '生成中',
|
||||||
downloading: '下载中',
|
downloading: '生成中',
|
||||||
retry_waiting: '等待重试',
|
retry_waiting: '生成中',
|
||||||
upscale_queued: '等待画质增强',
|
upscale_queued: '生成中',
|
||||||
upscale_processing: '画质增强中',
|
upscale_processing: '生成中',
|
||||||
upscale_polling: '查询增强进度',
|
upscale_polling: '生成中',
|
||||||
upscale_downloading: '下载增强结果',
|
upscale_downloading: '生成中',
|
||||||
upscale_finalizing: '结果处理中',
|
upscale_finalizing: '生成中',
|
||||||
upscale_retry_waiting: '画质增强等待重试',
|
upscale_retry_waiting: '生成中',
|
||||||
completed: '已完成',
|
completed: '已完成',
|
||||||
done: '已完成',
|
done: '已完成',
|
||||||
timeout: '生成超时',
|
timeout: '生成超时',
|
||||||
download_failed: '下载失败',
|
download_failed: '失败',
|
||||||
upscale_failed: '画质增强失败',
|
upscale_failed: '失败',
|
||||||
failed: '生成失败',
|
failed: '失败',
|
||||||
deleted: '已删除',
|
deleted: '已删除',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user