diff --git a/web/src/i18n/messages/en-US.ts b/web/src/i18n/messages/en-US.ts index 3a0fa4d..75574d6 100644 --- a/web/src/i18n/messages/en-US.ts +++ b/web/src/i18n/messages/en-US.ts @@ -178,6 +178,9 @@ export default { courseStats: { title: 'Course grade analytics', publishedOnly: 'This page uses formally published grades', back: 'Back', refresh: 'Refresh', generating: 'Statistics are being generated. Refresh shortly.', scope: 'Statistics scope', classStudents: 'Students in this administrative class', myClass: 'My class', classmates: 'Classmates', myMajor: 'My major', majorStudents: 'Students in the major', myCollege: 'My college', collegeStudents: 'Students in the college', university: 'University', universityStudents: 'All university students', peopleCount: '{count} students', scopeAverage: '{scope} average', population: 'Population: {caption} · {count} students', highest: 'Highest score', lowest: 'Lowest score', passed: 'Passed', passRate: 'Pass rate', empty: 'No course statistics available', distributionTitle: '{scope} score distribution', distributionDescription: 'Calculated for the current tab only, with {count} students. Bar labels show counts and percentages.', comparisonTitle: 'Cross-level analysis', comparisonDescription: 'Compare minimum–maximum score ranges, averages, and pass rates across all four levels. The current level is highlighted.', scoreBand: 'Score band', people: 'Students', scopePeople: '{scope} students', scoreRange: 'Score range', average: 'Average', score: 'Score', rangeStart: 'Range start', insights: { lowPass: 'The pass rate is {rate}%. Review coursework and final-exam components for low-scoring students and arrange targeted support.', lowAverage: 'The average is {average}. Review commonly missed topics and teaching pace, then reinforce by score band.', highDeviation: 'Scores vary widely. Review learning differences across classes or groups, grading standards, and teaching support.', stable: 'The average is {average} and the pass rate is {rate}%. Performance is stable; continue following up with lower-scoring students.' }, chart: { distributionTooltip: '{range} points
Students {count}
Share {rate}%', barLabel: '{count} students\n{rate}%', comparisonTooltip: '{scope}
Highest {highest}
Average {average}
Lowest {lowest}
Pass rate {rate}%' }, }, + teachingPreferences: { + teacherTitle: 'Teaching course applications', reviewerTitle: 'Teaching eligibility review', teacherDescription: 'Apply for courses you are willing to teach before scheduling. College approval is required before public-course teaching tasks can be assigned.', reviewerDescription: 'Review teacher applications or assign teachers directly. Approved teachers enter the eligible pool for the selected term and course.', apply: 'Apply for course', assign: 'Assign teacher directly', teacher: 'Teacher', selectTermSubject: 'Select term and course', college: 'College', reviewAssign: 'Review or assign directly', academicOffice: 'Academic affairs', mergeAssign: 'Merge classes and assign teacher', scheduling: 'Scheduling', generateTimetable: 'Generate timetable', allTerms: 'All terms', allStatuses: 'All statuses', refresh: 'Refresh', total: '{count} records', applicant: 'Applicant', course: 'Applied course', term: 'Term', statement: 'Application statement', status: 'Status', reviewComment: 'Review comment', actions: 'Actions', withdraw: 'Withdraw', review: 'Review', processed: 'Processed', emptyTeacher: 'No teaching course applications', emptyReviewer: 'No applications awaiting review', submitTitle: 'Apply for a teaching course', proposedCourse: 'Proposed course', statementPlaceholder: 'Describe relevant teaching experience, research interests, or other context', cancel: 'Cancel', submitReview: 'Submit for college review', reviewTitle: 'Review teaching eligibility', teacherStatement: 'Teacher statement', notProvided: 'Not provided', conclusion: 'Decision', approve: 'Approve', reject: 'Reject', confirmReview: 'Confirm review', assignmentTitle: 'Assign teaching eligibility directly', assignmentHint: 'No teacher application is required. Saving immediately grants eligibility for the selected term and course.', teacherPlaceholder: 'Select by employee number or name', courseLabel: 'Course', coursePlaceholder: 'Select by code or name', credits: '{count} credits', assignmentComment: 'Assignment note', assignmentPlaceholder: 'Enter department arrangements, specialization, or other basis', confirmAssign: 'Confirm assignment', statuses: { Pending: 'Pending review', Approved: 'Approved', Rejected: 'Rejected', Withdrawn: 'Withdrawn' }, messages: { selectTermCourse: 'Select a term and course.', submitted: 'Course application submitted for college review.', withdrawConfirm: 'Withdraw the teaching application for “{course}”?', withdrawTitle: 'Withdraw application', approved: 'Application approved.', rejected: 'Application rejected.', selectAll: 'Select a term, teacher, and course.', assigned: 'Teaching eligibility assigned directly.' }, + }, api: { 'data.constraint_conflict': 'A data constraint conflict occurred.', 'server.unhandled_error': 'The server encountered an error while processing the request.', diff --git a/web/src/i18n/messages/zh-CN.ts b/web/src/i18n/messages/zh-CN.ts index 7d34298..86657cf 100644 --- a/web/src/i18n/messages/zh-CN.ts +++ b/web/src/i18n/messages/zh-CN.ts @@ -178,6 +178,9 @@ export default { courseStats: { title: '课程成绩分析', publishedOnly: '本页数据来自已正式发布成绩', back: '返回', refresh: '刷新', generating: '统计数据正在生成,请稍后刷新。', scope: '统计范围', classStudents: '该行政班学生', myClass: '本班', classmates: '同班同学', myMajor: '本专业', majorStudents: '专业学生', myCollege: '本学院', collegeStudents: '学院学生', university: '本校', universityStudents: '全校学生', peopleCount: '{count} 人', scopeAverage: '{scope}平均分', population: '统计对象:{caption} · {count} 人', highest: '最高分', lowest: '最低分', passed: '合格人数', passRate: '合格率', empty: '暂无可展示的课程统计', distributionTitle: '{scope}分数段分布', distributionDescription: '按当前标签页单独统计,共 {count} 人;柱顶显示人数和占比。', comparisonTitle: '各层级整体分析', comparisonDescription: '同时比较四个层级的最低—最高分区间、平均分和合格率;当前标签对应层级高亮。', scoreBand: '分数段', people: '人数', scopePeople: '{scope}人数', scoreRange: '分数区间', average: '平均分', score: '分数', rangeStart: '区间起点', insights: { lowPass: '合格率为 {rate}%,建议优先复核低分段学生的平时与期末分项,并安排针对性答疑。', lowAverage: '平均分为 {average},建议检查易失分知识点与教学进度,结合分数段安排补强。', highDeviation: '成绩离散度较高,建议关注不同教学班或学生群体的学习差异,核对评价标准与教学支持。', stable: '平均分 {average}、合格率 {rate}%,当前表现稳定;可重点关注低分段学生的持续跟进。' }, chart: { distributionTooltip: '{range} 分
人数 {count} 人
占比 {rate}%', barLabel: '{count} 人\n{rate}%', comparisonTooltip: '{scope}
最高分 {highest}
平均分 {average}
最低分 {lowest}
合格率 {rate}%' }, }, + teachingPreferences: { + teacherTitle: '授课科目申报', reviewerTitle: '授课资格审核', teacherDescription: '在排课前申报本学期愿意承担的课程,学院审核通过后才能分配公共课教学任务。', reviewerDescription: '审核教师申报,或由学院直接指定教师;通过后进入相应学期和课程的可分配教师池。', apply: '申报课程', assign: '直接分配教师', teacher: '教师', selectTermSubject: '选择学期与科目', college: '学院', reviewAssign: '审核或直接分配', academicOffice: '教务', mergeAssign: '合班并分配教师', scheduling: '排课', generateTimetable: '生成课表', allTerms: '全部学期', allStatuses: '全部状态', refresh: '刷新', total: '共 {count} 条', applicant: '申报教师', course: '申报课程', term: '学期', statement: '申报说明', status: '状态', reviewComment: '审核意见', actions: '操作', withdraw: '撤回', review: '审核', processed: '已处理', emptyTeacher: '尚未申报授课科目', emptyReviewer: '没有待处理的授课申报', submitTitle: '申报授课科目', proposedCourse: '拟授课程', statementPlaceholder: '可填写相关教学经历、研究方向或其他说明', cancel: '取消', submitReview: '提交学院审核', reviewTitle: '审核授课资格', teacherStatement: '教师说明', notProvided: '未填写', conclusion: '审核结论', approve: '通过', reject: '驳回', confirmReview: '确认审核', assignmentTitle: '直接分配授课教师', assignmentHint: '无需教师先申报,保存后立即取得所选学期与课程的授课资格。', teacherPlaceholder: '按工号或姓名选择', courseLabel: '课程', coursePlaceholder: '按编码或名称选择', credits: '{count} 学分', assignmentComment: '分配说明', assignmentPlaceholder: '可填写教研室安排、专业方向等依据', confirmAssign: '确认分配', statuses: { Pending: '待审核', Approved: '已通过', Rejected: '已驳回', Withdrawn: '已撤回' }, messages: { selectTermCourse: '请选择学期和课程。', submitted: '课程申报已提交,等待学院审核。', withdrawConfirm: '撤回“{course}”的授课申报?', withdrawTitle: '撤回申报', approved: '已审核通过。', rejected: '已驳回申报。', selectAll: '请选择学期、教师和课程。', assigned: '授课资格已直接分配。' }, + }, api: { 'data.constraint_conflict': '数据约束冲突。', 'server.unhandled_error': '服务器处理请求时发生错误。', diff --git a/web/src/views/TeachingPreferencesView.vue b/web/src/views/TeachingPreferencesView.vue index 59891ba..9dfceb1 100644 --- a/web/src/views/TeachingPreferencesView.vue +++ b/web/src/views/TeachingPreferencesView.vue @@ -1,11 +1,13 @@