Commit 1a5a30c9 authored by Administrator's avatar Administrator
Browse files

completed Task page CRUD

parent ede4c3bf
......@@ -28,5 +28,9 @@ export default {
delete: 'Are you sure you want to delete this item?',
unsavedChanges: 'You have unsaved changes. Are you sure you want to leave?',
irreversible: 'This operation cannot be undone. Please proceed with caution.'
}
},
dialogs: {
deleteConfirmation: 'Delete Confirmation'
},
deleteWarning: 'This action cannot be undone. Deleted data cannot be recovered.'
}
......@@ -34,7 +34,9 @@ export default {
image: 'Image',
noImage: 'No Image',
clickToLoad: 'Click to load image',
loadingImage: 'Loading image...'
loadingImage: 'Loading image...',
updateImage: 'Update Image',
deleteImage: 'Delete Image'
},
filters: {
title: 'Filters',
......@@ -49,12 +51,28 @@ export default {
expandToReselect: 'Click to Expand and Reselect'
},
edit: {
title: 'Edit Task'
title: 'Edit Task',
createTitle: 'Create New Task'
},
messages: {
loadError: 'Failed to load task data',
noData: 'No task data available',
updateError: 'Failed to update task',
loadImageError: 'Failed to load image'
loadImageError: 'Failed to load image',
confirmDeleteImage: 'Are you sure you want to delete this image?',
uploadImageError: 'Failed to upload image',
deleteSuccess: 'Task {name} has been successfully deleted',
deleteError: 'Failed to delete task',
deleteConfirmation: 'Are you sure you want to delete this task? This action cannot be undone.'
},
validation: {
nameRequired: 'Task name is required',
descriptionRequired: 'Task description is optional',
studentRequired: 'Please select a student',
subjectRequired: 'Please select a subject',
termRequired: 'Please select a term',
completionRequired: 'Please enter completion percentage',
startDateRequired: 'Please select a start date',
endDateRequired: 'Please select an end date'
}
}
......@@ -28,5 +28,9 @@ export default {
delete: '确定要删除此项吗?',
unsavedChanges: '您有未保存的更改,确定要离开吗?',
irreversible: '此操作无法撤销,请谨慎操作。'
}
},
dialogs: {
deleteConfirmation: '删除确认'
},
deleteWarning: '此操作无法撤销,删除后数据将无法恢复。'
}
......@@ -34,7 +34,9 @@ export default {
image: '图像',
noImage: '暂无图像',
clickToLoad: '点击加载图像',
loadingImage: '正在加载图像...'
loadingImage: '正在加载图像...',
updateImage: '更新图像',
deleteImage: '删除图像'
},
filters: {
title: '筛选条件',
......@@ -49,12 +51,28 @@ export default {
expandToReselect: '点击展开重新选择'
},
edit: {
title: '编辑作业'
title: '编辑作业',
createTitle: '新增作业'
},
messages: {
loadError: '加载作业数据失败',
noData: '暂无作业数据',
updateError: '更新作业失败',
loadImageError: '加载图像失败'
loadImageError: '加载图像失败',
confirmDeleteImage: '确定要删除此图像吗?',
uploadImageError: '上传图像失败',
deleteSuccess: '作业 {name} 已成功删除',
deleteError: '删除作业失败',
deleteConfirmation: '您确定要删除此作业吗?此操作无法撤销。'
},
validation: {
nameRequired: '作业名称不能为空',
descriptionRequired: '作业描述为可选项',
studentRequired: '请选择学生',
subjectRequired: '请选择学科',
termRequired: '请选择学期',
completionRequired: '请输入完成度',
startDateRequired: '请选择开始日期',
endDateRequired: '请选择截止日期'
}
}
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment