Files
read_book/src/renderer/src/common/taskStatus.ts
寒寒 455dd1f4cd feat(desktop): 实现一些功能
1. 实现任务暂停功能

2. 实现页面的国际化功能

3.优化项目的结构以及BUG

4. 优化系统架构

5. 实现一大堆的功能
2026-01-25 03:30:23 +08:00

28 lines
631 B
TypeScript

export const TASK_STATUS = {
PENDING: {
color: '#7816ff',
text: 'task.list.status.pending',
desc: 'task.list.status.pendingDesc'
},
WRITING: {
color: '#ff5722',
text: 'task.list.status.processing',
desc: 'task.list.status.processingDesc'
},
COMPLETED: {
color: '#00b42a',
text: 'task.list.status.completed',
desc: 'task.list.status.completedDesc'
},
FAILED: {
color: '#86909c',
text: 'task.list.status.failed',
desc: 'task.list.status.failedDesc'
},
PAUSED: {
color: '#ff9800',
text: 'task.list.status.paused',
desc: 'task.list.status.pausedDesc'
}
}