diff --git a/web/src/i18n/messages/en-US.ts b/web/src/i18n/messages/en-US.ts index d3a85e8..8ea0d1c 100644 --- a/web/src/i18n/messages/en-US.ts +++ b/web/src/i18n/messages/en-US.ts @@ -37,6 +37,45 @@ export default { common: { reload: 'Reload', refresh: 'Refresh', listSeparator: ', ' }, dashboard: { calendar: { label: 'Schedule reminder', title: 'Upcoming key dates', today: 'Today', inDays: 'In {days} days', viewAll: 'View calendar' }, + student: { + myPlan: 'My study plan', classmate: 'Student', todayCourses: "Today's classes", teachingWeek: 'Teaching week {week}', outsideTerm: 'Outside the teaching term', viewAll: 'View all', + greeting: { morning: 'Good morning', noon: 'Good afternoon', afternoon: 'Good afternoon', evening: 'Good evening', title: '{greeting}, {name}' }, + category: { General: 'General notice', Approval: 'Review task', Schedule: 'Schedule change', Grade: 'Grade notice', Attendance: 'Attendance message', CourseSelection: 'Course-selection message', Warning: 'Academic warning', Unknown: 'System message' }, + examStatus: { Normal: 'Normal', Absent: 'Absent', Deferred: 'Deferred', Exempt: 'Exempt' }, + risk: { label: 'Academic reminders', title: 'Academic risk radar', summary: '{count} academic risks need your attention. Review the alerts below first.', clear: 'No academic risks currently need your attention. Keep up your current study pace.', handle: 'Review' }, + graduation: { label: 'Graduation progress', title: 'Graduation navigator', progress: '{completed} credits completed; {gap} more are required by your curriculum.', view: 'View graduation route' }, + sections: { timetable: "Today's timetable", notifications: 'Message center', exams: 'Exam schedule', grades: 'Exam results', warnings: 'Academic risk radar' }, + partialFailure: '{sections} could not load. Other content is unaffected.', fullTimetable: 'Full timetable', period: 'Period {period}', periodRange: 'Periods {start}–{end}', + locationPending: 'Location pending', datePending: 'Date pending', timePending: 'Time pending', unscheduled: 'Not scheduled', today: 'Today', tomorrow: 'Tomorrow', inDays: 'In {days} days', yesterday: 'Yesterday', + noCourses: 'No classes today', noCoursesHint: 'Use the time for self-study or pending work.', unread: '{count} unread', allMessages: 'All messages', noMessages: 'No messages', noMessagesHint: 'New academic notices will appear here.', + allExams: 'All exams', examRoomPending: 'Exam room pending', noExams: 'No upcoming exams', noExamsHint: 'Published exam arrangements will appear here.', allGrades: 'All grades', gradePoint: 'Grade point {value}', noGrades: 'No published grades', noGradesHint: 'Recently published exam results will appear here.', + }, + admin: { + datePending: 'Not set', loadFailed: 'Academic overview could not load', loadFailedHint: 'The academic overview is temporarily unavailable. Check the service connection and try again.', scope: 'Data scope', overview: 'Academic operations overview', view: 'View', viewDetails: 'View details', updatedAt: 'Updated at {time}', + term: { calendarMissing: 'Term calendar not set', startsIn: 'Term starts in {days} days', ended: 'This term has ended', weekProgress: 'Teaching week {current} of {total}', current: 'Current term', starts: 'Starts {date}', progress: 'Term progress {percent}%', ends: 'Ends {date}', notSet: 'Not set', maintain: 'Manage term', contactAdmin: 'Ask a school academic administrator to configure the current term.' }, + pending: { current: 'Pending now', followUp: 'items need follow-up', clear: 'No outstanding items', handle: 'Handle now', enter: 'Enter workspace', items: '{count} items' }, + todo: { + label: 'Pending work', title: 'Needs action', hint: 'Only actionable items within your role and data scope are shown.', empty: 'No items need action', emptyHint: 'New review tasks will be collected here.', + qualifications: { label: 'Teaching qualification review', description: 'Teacher course declarations awaiting confirmation' }, gradeSheets: { label: 'Grade sheet review', description: 'Submitted by teachers and awaiting review or publication' }, adjustments: { label: 'Schedule-change review', description: 'Reschedule, cancellation, make-up, or substitute requests' }, + statusChanges: { label: 'Student status review', college: 'Reviewed by a counselor and awaiting college action', school: 'Reviewed by the college and awaiting school action' }, gradeChanges: { label: 'Grade change review', college: 'Teacher grade-change requests awaiting college review', school: 'Reviewed by the college and awaiting final school review' }, + rooms: { label: 'Classroom-use review', description: 'Classroom-use requests submitted by this college' }, other: { label: 'Other academic reviews', description: 'Exemptions, deferred exams, substitutions, or attendance appeals' }, + }, + metrics: { aria: 'Key teaching data', students: 'Active students', studentsHint: 'Current active records in {scope}', classes: 'Classes this term', published: '{count} published', scheduled: 'On the timetable', coverage: '{percent}% of published classes covered', enrollments: 'Active enrollments', roundsOpen: '{count} course-selection rounds open', noRounds: 'No course-selection rounds are open' }, + actions: { + organization: { label: 'Organization and terms', description: 'Maintain reference data' }, personnel: { label: 'Personnel records', description: 'Teachers and students', collegeLabel: 'College personnel', college: 'Teacher and student records' }, + tasks: { label: 'Teaching tasks', system: 'Create and publish classes', school: 'Coordinate school-wide offerings', college: 'Deliver college offerings' }, schedules: { label: 'Scheduling and timetables', description: 'Schedule, validate, and publish' }, + approvals: { label: 'Review workspace', system: 'Handle business requests centrally', school: 'Handle school-level reviews', college: 'Handle college-level reviews', counselor: 'Handle student requests', teacher: 'Start and track teaching requests' }, + statistics: { label: 'Reports', system: 'Monitor teaching quality', school: 'Analyze teaching across colleges', leader: 'View teaching operations data' }, operations: { label: 'Operations and audit', description: 'Jobs, logs, and system status' }, + terms: { label: 'Academic years and terms', description: 'Maintain the teaching calendar' }, selections: { label: 'Course selection', school: 'Rounds and enrollment lists', college: 'View selections and rosters' }, grades: { label: 'Grade management', school: 'Review and publish grades', college: 'Review course grades', entryLabel: 'Grade entry', teacher: 'Maintain course grades' }, + exams: { label: 'Exam management', description: 'Exams and room arrangements' }, qualifications: { label: 'Teaching qualifications', description: 'Review teacher declarations' }, curriculum: { label: 'Curriculum', description: 'Maintain program course structures' }, rooms: { label: 'Classroom use', description: 'Review college requests' }, + timetable: { queryLabel: 'Timetable search', school: 'View school-wide timetables', myLabel: 'My timetable', teacher: 'View upcoming teaching' }, evaluations: { label: 'Teaching evaluation', description: 'View evaluation results' }, students: { label: 'Student records', description: 'View assigned students' }, attendance: { label: 'Class attendance', description: 'View class attendance' }, warnings: { label: 'Academic warnings', description: 'Follow up with at-risk students' }, roster: { label: 'Course roster', description: 'View students in each course' }, + }, + readiness: { label: 'Term progress', title: 'Teaching operations this term', hint: 'Track completion across teaching tasks, timetables, and grades.', tasks: 'Teaching task publication', noTasks: 'No teaching tasks have been created this term', unpublishedTasks: '{count} tasks are not published', schedules: 'Timetable coverage', scheduleAfterPublish: 'Publish teaching tasks before scheduling', unscheduledClasses: '{count} published classes are not on the timetable', grades: 'Grade publication', sheetsWaiting: '{count} grade sheets are waiting for review', noSheets: 'No grade sheets have been created this term', noGradeReviews: 'No grades are waiting for review' }, + alerts: { label: 'Operational alerts', title: 'Items needing attention', count: '{count} items need attention', stable: 'Operations are stable', normal: 'Teaching tasks, timetables, and grade workflows are currently aligned.', tasksTitle: 'Teaching tasks are not published', tasksDetail: '{count} classes remain unpublished, blocking scheduling and course selection.', scheduleTitle: 'Timetable coverage gap', scheduleDetail: '{count} published classes are not on the timetable.', gradesTitle: 'Grade review is waiting', gradesDetail: '{count} grade sheets were submitted and await review or publication.', selectionTitle: 'Open selection has no active records', selectionDetail: '{count} course-selection rounds are open, but no active enrollments were found.' }, + counselor: { label: 'Academic warnings', title: 'Students needing attention', count: '{count} active warnings are shown in newest-first order.', clear: 'No academic warnings are currently active.', all: 'All warnings', empty: 'No students currently need special attention', emptyHint: 'New academic warnings will appear here automatically.' }, + quick: { label: 'Quick access', title: 'Common work', hint: 'Frequently used workflows for your current role.' }, + summary: { teachers: 'active teachers', courses: 'enabled courses', enrollments: 'active enrollments', rounds: 'course-selection rounds open' }, + }, teacher: { loadFailed: 'Teaching dashboard could not load', loadFailedHint: 'Check the service connection and reload.', workspace: 'Teaching workspace', gradeProgress: 'Grade entry progress', gradeManagement: 'Grade management', noPendingGrades: 'No grades are waiting for submission', noPendingGradesHint: 'Grade sheets will appear here in priority order.', diff --git a/web/src/i18n/messages/zh-CN.ts b/web/src/i18n/messages/zh-CN.ts index 5ebb552..e5dc17e 100644 --- a/web/src/i18n/messages/zh-CN.ts +++ b/web/src/i18n/messages/zh-CN.ts @@ -37,6 +37,45 @@ export default { common: { reload: '重新加载', refresh: '刷新', listSeparator: '、' }, dashboard: { calendar: { label: '日程提醒', title: '近期关键日程', today: '今天', inDays: '{days} 天后', viewAll: '查看校历' }, + student: { + myPlan: '我的学习安排', classmate: '同学', todayCourses: '今日课程', teachingWeek: '第 {week} 教学周', outsideTerm: '当前不在教学周内', viewAll: '查看全部', + greeting: { morning: '早上好', noon: '中午好', afternoon: '下午好', evening: '晚上好', title: '{greeting},{name}' }, + category: { General: '一般通知', Approval: '审核待办', Schedule: '课程变动', Grade: '成绩通知', Attendance: '考勤消息', CourseSelection: '选课消息', Warning: '学业预警', Unknown: '系统消息' }, + examStatus: { Normal: '正常', Absent: '缺考', Deferred: '缓考', Exempt: '免修' }, + risk: { label: '学业提醒', title: '学业风险雷达', summary: '发现 {count} 项需要你关注的学习风险,建议优先处理下方提示。', clear: '系统暂未发现需要你处理的学业风险,继续保持当前学习节奏。', handle: '去处理' }, + graduation: { label: '毕业进度', title: '毕业导航', progress: '已完成 {completed} 学分,距离培养方案要求还差 {gap} 学分。', view: '查看毕业航线' }, + sections: { timetable: '当日课表', notifications: '消息中心', exams: '考试安排', grades: '考试成绩', warnings: '学业风险雷达' }, + partialFailure: '{sections}暂时无法加载,其余内容不受影响。', fullTimetable: '完整课表', period: '第 {period} 节', periodRange: '第 {start}—{end} 节', + locationPending: '地点待定', datePending: '日期待定', timePending: '时间待定', unscheduled: '待安排', today: '今天', tomorrow: '明天', inDays: '{days} 天后', yesterday: '昨天', + noCourses: '今天没有课程', noCoursesHint: '可以安排自习或处理待办。', unread: '{count} 未读', allMessages: '全部消息', noMessages: '暂无消息', noMessagesHint: '新的教务通知会显示在这里。', + allExams: '全部考试', examRoomPending: '考场待定', noExams: '近期没有考试', noExamsHint: '已发布的考试安排会显示在这里。', allGrades: '全部成绩', gradePoint: '绩点 {value}', noGrades: '暂无已发布成绩', noGradesHint: '最新发布的考试成绩会显示在这里。', + }, + admin: { + datePending: '待设置', loadFailed: '教务总览加载失败', loadFailedHint: '教务总览暂时无法加载,请检查服务连接后重试。', scope: '数据范围', overview: '教务工作概览', view: '查看', viewDetails: '查看详情', updatedAt: '数据更新于 {time}', + term: { calendarMissing: '尚未设置学期日历', startsIn: '距离开学 {days} 天', ended: '本学期已结束', weekProgress: '第 {current} 教学周 / 共 {total} 周', current: '当前学期', starts: '{date} 开学', progress: '学期进度 {percent}%', ends: '{date} 结束', notSet: '尚未设置', maintain: '去维护学期', contactAdmin: '请联系校级教务管理员维护当前学期。' }, + pending: { current: '当前待处理', followUp: '项工作需要跟进', clear: '暂无积压事项', handle: '立即处理', enter: '进入工作区', items: '{count} 项' }, + todo: { + label: '待办事项', title: '需要处理', hint: '只显示当前角色和数据范围内可处理的事项。', empty: '当前没有待处理事项', emptyHint: '新的审核任务到达后会在这里集中显示。', + qualifications: { label: '授课资格审核', description: '教师申报的授课科目等待确认' }, gradeSheets: { label: '成绩登记审核', description: '教师已提交,等待审核或发布' }, adjustments: { label: '调停课审批', description: '调课、停课、补课或代课申请' }, + statusChanges: { label: '学籍异动审核', college: '辅导员已审核,等待学院处理', school: '学院已审核,等待校级处理' }, gradeChanges: { label: '成绩修改审核', college: '教师申请的成绩修改等待学院审核', school: '学院已审核,等待校级终审' }, + rooms: { label: '教室借用审核', description: '本学院提交的教室借用申请' }, other: { label: '其他教学审批', description: '免修、缓考、课程替代或考勤申诉' }, + }, + metrics: { aria: '关键教学数据', students: '在籍学生', studentsHint: '{scope}当前有效学籍', classes: '本学期教学班', published: '{count} 个已发布', scheduled: '已进入课表', coverage: '覆盖 {percent}% 已发布教学班', enrollments: '有效选课', roundsOpen: '{count} 个选课批次开放中', noRounds: '当前无开放选课批次' }, + actions: { + organization: { label: '组织与学期', description: '维护基础数据' }, personnel: { label: '人员档案', description: '教师与学生', collegeLabel: '学院人员', college: '教师与学生档案' }, + tasks: { label: '教学任务', system: '生成并发布教学班', school: '统筹全校开课', college: '落实本学院开课' }, schedules: { label: '排课与课表', description: '排课、校验与发布' }, + approvals: { label: '审批工作台', system: '集中处理业务申请', school: '处理校级审核', college: '处理学院级审核', counselor: '处理学生申请', teacher: '发起与跟踪教学申请' }, + statistics: { label: '统计报表', system: '观察教学质量', school: '跨学院教学分析', leader: '查看教学运行数据' }, operations: { label: '运维与审计', description: '任务、日志与系统状态' }, + terms: { label: '学年学期', description: '维护教学日历' }, selections: { label: '选课管理', school: '批次与选课名单', college: '查看选课与名单' }, grades: { label: '成绩管理', school: '审核并发布成绩', college: '审核课程成绩', entryLabel: '成绩录入', teacher: '维护课程成绩' }, + exams: { label: '考试管理', description: '考试与考场安排' }, qualifications: { label: '授课资格', description: '审核教师申报' }, curriculum: { label: '培养方案', description: '维护专业课程结构' }, rooms: { label: '教室借用', description: '审核学院申请' }, + timetable: { queryLabel: '课表查询', school: '查看全校课表', myLabel: '我的课表', teacher: '查看近期授课' }, evaluations: { label: '教学评价', description: '查看评价结果' }, students: { label: '学生档案', description: '查看所带学生' }, attendance: { label: '教学点名', description: '查看班级考勤' }, warnings: { label: '学业预警', description: '跟进风险学生' }, roster: { label: '选课名单', description: '查看课程学生' }, + }, + readiness: { label: '学期进度', title: '本学期教学运行', hint: '关注教学任务、课表与成绩流程的完成情况。', tasks: '教学任务发布', noTasks: '本学期尚未建立教学任务', unpublishedTasks: '{count} 个任务尚未发布', schedules: '课表覆盖', scheduleAfterPublish: '发布教学任务后可安排课表', unscheduledClasses: '{count} 个已发布教学班尚未进入课表', grades: '成绩发布', sheetsWaiting: '{count} 张成绩登记册等待审核', noSheets: '本学期尚未生成成绩登记册', noGradeReviews: '当前没有待审核成绩' }, + alerts: { label: '运行提醒', title: '需要关注的事项', count: '{count} 个事项需要关注', stable: '当前运行平稳', normal: '教学任务、课表与成绩流程当前衔接正常。', tasksTitle: '教学任务尚未发布', tasksDetail: '{count} 个教学班尚未发布,后续排课与选课无法推进。', scheduleTitle: '课表覆盖存在缺口', scheduleDetail: '{count} 个已发布教学班尚未进入课表。', gradesTitle: '成绩审核等待处理', gradesDetail: '{count} 张成绩登记册已提交,等待审核或发布。', selectionTitle: '开放选课尚无有效记录', selectionDetail: '{count} 个选课批次开放中,但当前未发现有效选课。' }, + counselor: { label: '学业预警', title: '需重点关注的学生', count: '当前有 {count} 条生效预警,按最新记录展示。', clear: '当前没有生效中的学业预警。', all: '完整预警', empty: '当前没有重点关注学生', emptyHint: '新的学业预警会自动出现在这里。' }, + quick: { label: '常用入口', title: '常用工作', hint: '按当前角色整理的高频业务入口。' }, + summary: { teachers: '名在岗教师', courses: '门启用课程', enrollments: '条有效选课', rounds: '个选课批次开放中' }, + }, teacher: { loadFailed: '教学驾驶舱加载失败', loadFailedHint: '请检查服务连接后重新加载。', workspace: '教学工作台', gradeProgress: '成绩登记进度', gradeManagement: '成绩管理', noPendingGrades: '当前没有待提交成绩', noPendingGradesHint: '成绩登记册会在这里按优先级显示。', diff --git a/web/src/views/DashboardView.vue b/web/src/views/DashboardView.vue index d16fc7b..f767291 100644 --- a/web/src/views/DashboardView.vue +++ b/web/src/views/DashboardView.vue @@ -1,6 +1,7 @@ diff --git a/web/src/views/StudentDashboardView.vue b/web/src/views/StudentDashboardView.vue index e3ad920..6431705 100644 --- a/web/src/views/StudentDashboardView.vue +++ b/web/src/views/StudentDashboardView.vue @@ -1,5 +1,6 @@