用户页签删除任务为软删(管理员仍可见,可恢复),误操作代价低,二次确认徒增摩擦。
点击删除直接执行,与「下载」等操作的即时反馈一致。
- JobList.vue:onDelete 移除 confirm(),直接 emit('delete')
- i18n(zh-CN/en):移除已无引用的 deleteConfirm/deleted/deleteFailed 文案
39 lines
1010 B
JavaScript
39 lines
1010 B
JavaScript
// 英文语言包 -- 通过动态 import() 加载,被打成独立 chunk,
|
||
// 只看中文的访客不会下载此文件。
|
||
export default {
|
||
app: {
|
||
title: 'PDF Converter'
|
||
},
|
||
upload: {
|
||
hint: 'Drop an .epub file, or',
|
||
pick: 'click to choose',
|
||
limit: 'Only epub, up to 250MB',
|
||
requireEpub: 'Only epub files are supported',
|
||
oversize: 'File exceeds the 250MB limit',
|
||
uploading: 'Uploading…',
|
||
submitted: 'Submitted, converting…',
|
||
failed: 'Upload failed',
|
||
networkError: 'Network error'
|
||
},
|
||
list: {
|
||
count: '{total} task(s)',
|
||
empty: 'No tasks yet. Upload an epub to start.',
|
||
loading: 'Loading…',
|
||
loadFailed: 'Load failed: {msg}'
|
||
},
|
||
job: {
|
||
name: 'Filename',
|
||
size: 'Size',
|
||
status: 'Status',
|
||
created: 'Created',
|
||
actions: 'Actions',
|
||
statusDone: 'Done',
|
||
statusFailed: 'Failed',
|
||
statusConverting: 'Converting',
|
||
statusPending: 'Queued',
|
||
download: 'Download',
|
||
delete: 'Delete'
|
||
},
|
||
refresh: 'Refresh'
|
||
}
|