From 5183158189b1d2da663b7435c549df055e5283e8 Mon Sep 17 00:00:00 2001 From: biss Date: Sun, 1 Nov 2026 21:07:16 +0800 Subject: [PATCH] feat: localize common labels across academic workflows --- web/scripts/check-i18n.mjs | 10 ++- web/src/i18n/messages/en-US.ts | 1 + web/src/i18n/messages/zh-CN.ts | 1 + .../views/ComprehensiveAssessmentsView.vue | 76 +++++++++---------- web/src/views/CourseSelectionView.vue | 60 +++++++-------- web/src/views/CurriculumView.vue | 66 ++++++++-------- web/src/views/DormitoryHygieneView.vue | 28 +++---- web/src/views/ExamsView.vue | 62 +++++++-------- web/src/views/ExperimentGradesView.vue | 8 +- web/src/views/ExperimentsView.vue | 20 ++--- web/src/views/GradeAnalyticsView.vue | 6 +- web/src/views/GradesView.vue | 12 +-- web/src/views/MakeupExamsView.vue | 58 +++++++------- web/src/views/PhysicalFitnessView.vue | 10 +-- web/src/views/SchedulesView.vue | 14 ++-- web/src/views/TeacherAttendanceView.vue | 26 +++---- web/src/views/TeachingTasksView.vue | 28 +++---- 17 files changed, 248 insertions(+), 238 deletions(-) diff --git a/web/scripts/check-i18n.mjs b/web/scripts/check-i18n.mjs index 3235d10..9be2c9f 100644 --- a/web/scripts/check-i18n.mjs +++ b/web/scripts/check-i18n.mjs @@ -35,6 +35,13 @@ for (const name of ['TeachingMonitoringView.vue', 'AcademicPlanningView.vue', 'P if (/\p{Script=Han}/u.test(template)) hardcoded.push(name) } const viewsDirectory = new URL('../src/views/', import.meta.url) +const missingBatchReferences = [] +for (const name of readdirSync(viewsDirectory).filter((file) => file.endsWith('.vue'))) { + const source = readFileSync(new URL(name, viewsDirectory), 'utf8') + for (const match of source.matchAll(/t\(['"](batchBusiness\.[^'"]+)['"]/g)) { + if (!reference.has(match[1])) missingBatchReferences.push(`${name}: ${match[1]}`) + } +} const fixedLocaleViews = readdirSync(viewsDirectory).filter((name) => name.endsWith('.vue') && /(?:toLocale(?:Date|Time)?String|DateTimeFormat|NumberFormat|Collator)\(['"]zh-CN['"]/.test(readFileSync(new URL(name, viewsDirectory), 'utf8'))) @@ -48,12 +55,13 @@ const english = new Map(values(enUS)) const placeholders = (value) => [...new Set([...String(value).matchAll(/\{(\w+)\}/g)].map((match) => match[1]))].sort().join(',') const mismatched = values(zhCN).filter(([key, value]) => candidate.has(key) && placeholders(value) !== placeholders(english.get(key))).map(([key]) => key) -if (missing.length || extra.length || hardcoded.length || mismatched.length || fixedLocaleViews.length) { +if (missing.length || extra.length || hardcoded.length || mismatched.length || fixedLocaleViews.length || missingBatchReferences.length) { if (missing.length) console.error(`en-US missing keys:\n${missing.join('\n')}`) if (extra.length) console.error(`en-US extra keys:\n${extra.join('\n')}`) if (hardcoded.length) console.error(`Hardcoded Chinese in completed views:\n${hardcoded.join('\n')}`) if (mismatched.length) console.error(`Interpolation parameters differ:\n${mismatched.join('\n')}`) if (fixedLocaleViews.length) console.error(`Fixed Chinese display formats:\n${fixedLocaleViews.join('\n')}`) + if (missingBatchReferences.length) console.error(`Missing batch translations:\n${missingBatchReferences.join('\n')}`) process.exitCode = 1 } else { console.log(`i18n catalogs match (${reference.size} keys).`) diff --git a/web/src/i18n/messages/en-US.ts b/web/src/i18n/messages/en-US.ts index 52e7e84..8e846ac 100644 --- a/web/src/i18n/messages/en-US.ts +++ b/web/src/i18n/messages/en-US.ts @@ -1,4 +1,5 @@ export default { + batchBusiness: {"k0": "Student", "k1": "All offering departments", "k2": "Instructor", "k3": "Teaching class", "k4": "Plan name", "k5": "Select date", "k6": "Starting period", "k7": "Instructor name or employee number", "k8": "Plan name", "k9": "Category", "k10": "Item name", "k11": "Enter student number, name, or administrative class", "k12": "Teaching class / course", "k13": "Offering term", "k14": "Version", "k15": "New version", "k16": "Select term", "k17": "Batch", "k18": "Invigilator (leave blank for automatic assignment)", "k19": "Any teaching building", "k20": "Search by employee number or name; leave blank for automatic assignment", "k21": "Teaching building restriction", "k22": "Exam room (leave blank for automatic assignment)", "k23": "Awaiting exam room assignment", "k24": "Invigilators required", "k25": "Leave blank for automatic assignment", "k26": "Teaching class number", "k27": "Invigilators still needed", "k28": "Seat number", "k29": "Number of periods", "k30": "Filter by course, course number, or teaching class number", "k31": "Course, teaching class, instructor, or administrative class", "k32": "Select teaching class", "k33": "Select", "k34": "Offering department", "k35": "Candidate list", "k36": "All assignment statuses", "k37": "Assignment complete", "k38": "Lab project", "k39": "Administrative class, major, or class code", "k40": "Teaching mode", "k41": "Start week", "k42": "End week", "k43": "Item", "k44": "Level", "k45": "Claimed score", "k46": "Assessment batch", "k47": "Assessment plan", "k48": "Evidence review", "k49": "Result review", "k50": "Public notice appeals", "k51": "Plan", "k52": "Dimensions and weights", "k53": "Name, student number, class, or item", "k54": "Declared item", "k55": "Category / level", "k56": "Evidence", "k57": "Name, student number, or class", "k58": "Calculation time", "k59": "Data status", "k60": "Name, student number, class, or reason", "k61": "Affected dimension", "k62": "Appeal reason", "k63": "Public notice days", "k64": "Total weight", "k65": "Dimension", "k66": "Source", "k67": "Weight", "k68": "Required", "k69": "Associated dimension", "k70": "Points", "k71": "Category limit", "k72": "Plan publication time", "k73": "Evidence submission opens", "k74": "Evidence submission deadline", "k75": "Counselor initial review", "k76": "College review", "k77": "All dimensions locked", "k78": "Public notice begins", "k79": "Public notice ends", "k80": "Final publication", "k81": "Item rule", "k82": "Date of occurrence", "k83": "Evidence description", "k84": "Evidence link", "k85": "Enter an evidence description or link.", "k86": "Submit assessment appeal", "k87": "Describe the problem with the data or calculation", "k88": "Roster / capacity", "k89": "No teaching classes added to this round", "k90": "Search course code, course name, teaching class, or instructor", "k91": "No course selection rounds", "k92": "Selection type", "k93": "Selection start time", "k94": "Selection end time", "k95": "Course withdrawal deadline", "k96": "Credit limit for this round", "k97": "Leave empty for all enrollment years", "k98": "Maximum courses", "k99": "No limit", "k100": "Published teaching classes", "k101": "Selection capacity", "k102": "Eligible students", "k103": "Teaching class roster management", "k104": "Filter by student number, name, or administrative class", "k105": "Selection time", "k106": "No enrolled students", "k107": "Queue position", "k108": "Waitlist time", "k109": "No waitlisted students", "k110": "Enroll students in public required courses", "k111": "No eligible enrolled students", "k112": "Force enrollment (ignore all restrictions)", "k113": "Student number, name, or class", "k114": "No enrolled students available for forced enrollment", "k115": "Curriculum management scope", "k116": "Search plan, version, or major", "k117": "No curricula", "k118": "Select or create a curriculum", "k119": "Curriculum display", "k120": "No courses configured in this module", "k121": "Create a course module before adding courses", "k122": "Course semester schedule", "k123": "Applicable major", "k124": "Applicable enrollment year", "k125": "Total credits required for graduation", "k126": "Plan description", "k127": "Revise curriculum and create draft", "k128": "Module code", "k129": "Module name", "k130": "Minimum credits required", "k131": "Completion rule", "k132": "Add courses from a course group", "k133": "Course group", "k134": "Shared notes", "k135": "Shared course groups", "k136": "Course group code", "k137": "Course group name", "k138": "Select a course to add to the group", "k139": "Recommended semester", "k140": "No dormitory assigned", "k141": "Select batches to include", "k142": "Occupancy overview", "k143": "Buildings and beds", "k144": "Allocation and transfers", "k145": "Accommodation requests", "k146": "Hygiene scores", "k147": "Beds and occupancy", "k148": "Check in", "k149": "Select class", "k150": "Restrict building", "k151": "Check-in date", "k152": "Target bed", "k153": "Current bed", "k154": "Included count", "k155": "Missing count", "k156": "Violation count", "k157": "All buildings", "k158": "All floors", "k159": "Dormitory", "k160": "Floor", "k161": "Bedding", "k162": "Belongings", "k163": "Facilities", "k164": "Safety", "k165": "Violation", "k166": "Total score", "k167": "Issues and improvements", "k168": "Number of floors", "k169": "Male students", "k170": "Female students", "k171": "Room number", "k172": "Inherit from building", "k173": "Number of beds", "k174": "Bed number", "k175": "Transfer accommodation", "k176": "Test date", "k177": "Fitness test status", "k178": "Internal notes", "k179": "Reason for special status", "k180": "All grade levels", "k181": "All publication statuses", "k182": "Search batch name or academic year", "k183": "No records match the filters", "k184": "Standard / bonus", "k185": "Overall score", "k186": "Body measurements and function", "k187": "Physical performance", "k188": "Student is identified when the field loses focus", "k189": "Leave blank to calculate automatically", "k190": "Explain the absence, deferral, or exemption", "k191": "Optionally enter review details", "k192": "Publish fitness test results", "k193": "Search student number or name", "k194": "All students", "k195": "Attendance below 90%", "k196": "Attendance rate", "k197": "Required attendance", "k198": "Start classroom attendance", "k199": "Attendance name", "k200": "Attendance date", "k201": "Check-in method", "k202": "Check-in duration", "k203": "Valid radius", "k204": "Classroom QR check-in", "k205": "Classroom check-in QR code", "k207": "Year / gender", "k213": "Exam room", "k227": "Grade components", "k238": "Teaching class name"}, studentAttendanceExtra: {"k0": "Appeal pending", "k1": "Approved", "k2": "Rejected", "k3": "Scan the classroom check-in QR code shown by the teacher", "k4": "Cancel scan", "k5": "Turn off flashlight", "k6": "Turn on flashlight", "k7": "Check-in ended", "k8": "Ends in {minutes}m {seconds}s", "k9": "You have already checked in", "k10": "Check-in successful", "k11": "Check-in successful, approximately {distance} m from the check-in point", "k12": "Location permission denied. Allow precise location access in system settings.", "k13": "Location permission denied. Allow this site to access your location in the browser.", "k14": "Location request timed out. Move to an area with a better signal and try again.", "k15": "Unable to get your location. Check your phone’s location services and try again.", "k16": "Not available", "k17": "QR check-in", "k18": "Checked in at {time}", "k19": "Checked in", "k20": "Confirm check-in", "k21": "Within {radius} m", "k22": "Check in with location", "k23": "{courses} courses · {sessions} attendance sessions", "k24": "Teacher not recorded", "k25": "{attended} / {required} sessions attended"}, notificationBatch: {"k0": "General notice", "k1": "Pending review", "k2": "Course changes", "k3": "Grade notice", "k4": "Attendance notice", "k5": "Course selection notice", "k6": "Academic warning", "k7": "Select a teaching class", "k8": "Current filtered results", "k9": "No recipients selected", "k10": "Loading recipient scope", "k11": "System message", "k12": "All messages marked as read", "k13": "Enter a message title", "k14": "Enter the message content", "k15": "Select a teaching class to receive the message", "k16": "No accounts in this scope can receive messages", "k17": "Confirm sending", "k18": "Confirm send", "k19": "Continue editing", "k20": "Message center", "k21": "View system notices, review tasks, course changes, and grade messages in one place.", "k22": "Unread messages", "k23": "Compose", "k24": "Mark all unread messages as read", "k25": "No unread messages", "k26": "Mark all as read", "k27": "Refresh", "k28": "Message center navigation", "k29": "Inbox", "k30": "Sent", "k31": "Notification settings", "k32": "Search title or content", "k33": "Unread only", "k34": "Manually sent", "k35": "Unread", "k36": "View details →", "k37": "No unread messages match the filters", "k38": "No messages match the filters", "k39": "Previous batch", "k40": "Next batch", "k41": "Recipient scope", "k42": "Compose and send a message", "k43": "Recipients are limited by your data permissions. Messages cannot be recalled after sending.", "k44": "recipient accounts", "k45": "Select recipients", "k46": "All in permitted scope", "k47": "Filter recipients", "k48": "Select individuals", "k49": "Filter candidate accounts", "k50": "All roles", "k51": "All teaching classes", "k52": "Name, student number, employee number, or account", "k53": "Search", "k54": "This includes every enabled account in your permitted scope. Use filters or select individuals to narrow the audience.", "k55": "University account", "k56": "Selected", "k57": "Select", "k58": "No eligible accounts match the filters", "k59": "Clear", "k60": "Recipient teaching class", "k61": "Select a teaching class you teach", "k62": "Teachers can send messages only to active student accounts in their own teaching classes.", "k63": "Edit message", "k64": "General notice", "k65": "Grade, course selection, and other workflow notifications are still sent automatically", "k66": "Message title", "k67": "Summarize the matter in one sentence", "k68": "Message content", "k69": "Tables, links, and external images are supported. Use HTTPS image URLs; local files are not uploaded.", "k70": "No sent messages yet", "k71": "{count} selected recipients", "k72": "At most {count} recipients can be selected per message", "k73": "This message will be sent to {count} accounts in “{audience}” and cannot be recalled.", "k74": "Sent to {count} accounts", "k75": "From {name}", "k76": "Audience: {audience}", "k77": "Batch {page}", "k78": "{count} matching accounts", "k79": "Enrolled {year} · {name}", "k80": "{count} selected", "k81": "Remove {name}", "k82": "{count} more", "k83": "{count} people", "k84": "{chars} characters · source {length}/20000", "k85": "Will be sent to {count} accounts", "k86": "{count} recipient accounts"}, operationsBatch: {"k0": "Recoverable backup", "k1": "No backup has been created.", "k2": "The latest backup passed an isolated restore drill.", "k3": "Restore drill failed.", "k4": "A backup exists, but no restore drill has been run.", "k5": "Healthy", "k6": "Warning", "k7": "Unhealthy", "k8": "Swagger documentation enabled.", "k9": "Swagger documentation disabled.", "k10": "Optionally describe the change window, release version, or shift notes for this backup.", "k11": "Create database backup", "k12": "Start backup", "k13": "Optional, up to 200 characters", "k14": "The note cannot exceed 200 characters.", "k15": "Database backup created.", "k16": "Run restore drill", "k17": "Start isolated drill", "k18": "Operations and audit console", "k19": "Check system availability, failed jobs, and backup recoverability.", "k20": "Refresh status", "k21": "Swagger documentation", "k22": "Documentation and OpenAPI definitions are currently accessible.", "k23": "Documentation is disabled; /swagger returns 404.", "k24": "Open", "k25": "Open documentation", "k26": "System health", "k27": "Current operational status", "k28": "Alerts", "k29": "No active alerts", "k30": "Health checks, failed jobs, and backup freshness are within acceptable limits.", "k31": "Backups and restore drills", "k32": "Create backup", "k33": "Restore drills use an isolated database. Backups that fail validation are not applied to the operational database.", "k34": "No backup note", "k35": "Drill passed", "k36": "Drill failed", "k37": "Drill pending", "k38": "No backups yet. Run a restore drill after creating the first backup.", "k39": "Audit query type", "k40": "Operation log", "k41": "Failed background jobs", "k42": "Request method", "k43": "Status code, e.g. 500", "k44": "Account", "k45": "API path", "k46": "Request ID", "k47": "to", "k48": "Unauthenticated", "k49": "Duration", "k50": "Source IP", "k51": "Client", "k52": "Exception type", "k53": "No matching write operations or failed requests in this time range.", "k54": "Job type", "k55": "Automatic scheduling", "k56": "Timetable publication", "k57": "Automatic makeup exam scheduling", "k58": "Exam and makeup exam scheduling", "k59": "Exam sign-in export", "k60": "Exam and makeup exam publication", "k61": "Course grade statistics refresh", "k62": "Graduation audit calculation", "k63": "Degree award audit calculation", "k64": "Automatic dormitory allocation", "k65": "Dormitory hygiene calculation", "k66": "Comprehensive assessment calculation", "k67": "No failed background jobs in this time range.", "k68": "“{name}” will be restored to an isolated database for integrity checks. The operational database will not be overwritten.", "k69": "{alerts} critical alerts · {events} audit events / 24h", "k70": "Job {id} · {count} attempts"}, diff --git a/web/src/i18n/messages/zh-CN.ts b/web/src/i18n/messages/zh-CN.ts index 1541258..6023652 100644 --- a/web/src/i18n/messages/zh-CN.ts +++ b/web/src/i18n/messages/zh-CN.ts @@ -1,4 +1,5 @@ export default { + batchBusiness: {"k0": "学生", "k1": "全部开课单位", "k2": "任课教师", "k3": "教学班", "k4": "计划名称", "k5": "选择日期", "k6": "起始节次", "k7": "任课教师姓名或工号", "k8": "方案名称", "k9": "类别", "k10": "项目名称", "k11": "输入学号、姓名或行政班", "k12": "教学班 / 课程", "k13": "开课学期", "k14": "版本号", "k15": "新版本号", "k16": "选择学期", "k17": "批次", "k18": "监考教师(可留空,由自动编排分配)", "k19": "不限教学楼", "k20": "输入工号或姓名搜索;留空由自动编排分配", "k21": "教学楼限制", "k22": "考场(可留空,由自动编排分配)", "k23": "待分配考场", "k24": "监考人数", "k25": "留空由自动编排分配", "k26": "教学班号", "k27": "待补足监考", "k28": "座位号", "k29": "持续节数", "k30": "筛选课程、课程号或教学班号", "k31": "课程、教学班、教师或行政班", "k32": "选择教学班", "k33": "选择", "k34": "开课单位", "k35": "考生名单", "k36": "全部分配状态", "k37": "已完成分配", "k38": "实验项目", "k39": "行政班、专业或班级代码", "k40": "授课方式", "k41": "开始周", "k42": "结束周", "k43": "项目", "k44": "级别", "k45": "申报分", "k46": "测评批次", "k47": "测评方案", "k48": "材料审核", "k49": "结果复核", "k50": "公示申诉", "k51": "方案", "k52": "维度与权重", "k53": "姓名、学号、班级或项目", "k54": "申报项目", "k55": "类别/级别", "k56": "证明", "k57": "姓名、学号或班级", "k58": "测算时间", "k59": "数据状态", "k60": "姓名、学号、班级或理由", "k61": "涉及维度", "k62": "申诉理由", "k63": "公示天数", "k64": "权重合计", "k65": "维度", "k66": "来源", "k67": "权重", "k68": "必需", "k69": "所属维度", "k70": "分值", "k71": "类别上限", "k72": "方案发布时间", "k73": "材料开放", "k74": "材料截止", "k75": "辅导员初审", "k76": "学院复核", "k77": "维度总冻结", "k78": "公示开始", "k79": "公示结束", "k80": "正式发布", "k81": "项目规则", "k82": "发生日期", "k83": "证明说明", "k84": "证明链接", "k85": "证明说明和证明链接至少填写一项。", "k86": "提交测评申诉", "k87": "请说明数据或计算存在的问题", "k88": "名单 / 容量", "k89": "本轮尚未加入教学班", "k90": "搜索课程代码、课程名称、教学班或教师", "k91": "暂无选课批次", "k92": "选课类型", "k93": "选课开始时间", "k94": "选课结束时间", "k95": "退课截止时间", "k96": "本轮学分上限", "k97": "不选择表示全部年级", "k98": "最多课程门数", "k99": "不限制", "k100": "已发布教学班", "k101": "选课容量", "k102": "选课对象", "k103": "教学班名单管理", "k104": "按学号、姓名或行政班筛选", "k105": "选课时间", "k106": "暂无学生选课", "k107": "顺位", "k108": "候补时间", "k109": "暂无候补学生", "k110": "公共必修课代选", "k111": "没有可代选的在籍学生", "k112": "强制选课(忽略所有限制)", "k113": "学号、姓名或班级", "k114": "没有可强制选课的在籍学生", "k115": "培养方案维护范围", "k116": "搜索方案、版本或专业", "k117": "暂无培养方案", "k118": "请选择或新建一份培养方案", "k119": "培养方案展示方式", "k120": "该模块尚未配置课程", "k121": "先建立课程模块,再添加课程", "k122": "课程学期安排", "k123": "适用专业", "k124": "适用入学年级", "k125": "毕业总学分要求", "k126": "方案说明", "k127": "修订培养方案并创建草稿", "k128": "模块编码", "k129": "模块名称", "k130": "最低学分要求", "k131": "修读规则", "k132": "从课程组添加课程", "k133": "课程组", "k134": "统一备注", "k135": "公共课程组", "k136": "课程组编码", "k137": "课程组名称", "k138": "选择课程加入课程组", "k139": "建议学期", "k140": "尚未分配宿舍", "k141": "选择纳入计算的批次", "k142": "入住总览", "k143": "楼栋与床位", "k144": "分配与调宿", "k145": "住宿申请", "k146": "卫生成绩", "k147": "床位与入住", "k148": "入住", "k149": "选择班级", "k150": "限定楼栋", "k151": "入住日期", "k152": "目标床位", "k153": "当前床位", "k154": "计入次数", "k155": "缺失次数", "k156": "违纪次数", "k157": "全部楼栋", "k158": "全部楼层", "k159": "宿舍", "k160": "地面", "k161": "床铺", "k162": "物品", "k163": "设施", "k164": "安全", "k165": "违纪", "k166": "总分", "k167": "问题与改进", "k168": "楼层数", "k169": "男生", "k170": "女生", "k171": "房间号", "k172": "继承楼栋", "k173": "床位数", "k174": "床位编号", "k175": "办理调宿", "k176": "测试日期", "k177": "体测状态", "k178": "内部备注", "k179": "特殊情况原因", "k180": "全部成绩等级", "k181": "全部发布状态", "k182": "搜索批次名称或学年", "k183": "当前筛选条件下没有记录", "k184": "标准 / 附加", "k185": "综合成绩", "k186": "身体形态与机能", "k187": "运动能力", "k188": "失焦后自动识别学生", "k189": "留空自动计算", "k190": "说明缺测、缓测或免测原因", "k191": "可填写复核情况等信息", "k192": "发布体测结果", "k193": "搜索学号或姓名", "k194": "全部学生", "k195": "出勤率低于 90%", "k196": "出勤率", "k197": "应到", "k198": "发起课堂考勤", "k199": "考勤名称", "k200": "考勤日期", "k201": "签到方式", "k202": "签到时长", "k203": "有效范围", "k204": "课堂扫码签到", "k205": "课堂签到二维码", "k207": "年级 / 性别", "k213": "考场", "k227": "成绩构成", "k238": "教学班名称"}, studentAttendanceExtra: {"k0": "申诉中", "k1": "已通过", "k2": "已驳回", "k3": "请扫描教师展示的课堂签到二维码", "k4": "取消扫码", "k5": "关闭手电筒", "k6": "打开手电筒", "k7": "签到已结束", "k8": "{minutes}分{seconds}秒后结束", "k9": "你已完成本次签到", "k10": "签到成功", "k11": "签到成功,距签到点约 {distance} 米", "k12": "定位权限被拒绝,请在系统设置中允许本应用获取精确位置。", "k13": "定位权限被拒绝,请在浏览器中允许本网站获取位置。", "k14": "获取位置超时,请移到信号较好的位置后重试。", "k15": "无法获取当前位置,请检查手机定位服务后重试。", "k16": "暂无", "k17": "扫码签到", "k18": "已于 {time} 签到", "k19": "已签到", "k20": "确认签到", "k21": "{radius} 米范围内", "k22": "定位并签到", "k23": "{courses} 门课程 · {sessions} 次点名", "k24": "任课教师未登记", "k25": "{attended} / {required} 次到课"}, notificationBatch: {"k0": "一般通知", "k1": "审核待办", "k2": "课程变动", "k3": "成绩通知", "k4": "考勤消息", "k5": "选课消息", "k6": "学业预警", "k7": "请选择教学班", "k8": "当前筛选结果", "k9": "尚未选择收件人", "k10": "正在读取发信范围", "k11": "系统消息", "k12": "全部消息已标为已读", "k13": "请填写消息标题", "k14": "请填写消息正文", "k15": "请选择接收消息的教学班", "k16": "当前范围内没有可接收消息的账号", "k17": "确认发送消息", "k18": "确认发送", "k19": "继续编辑", "k20": "消息中心", "k21": "系统通知、审核待办、课程变动与成绩消息统一汇总,重要信息不再散落在业务页面。", "k22": "未读消息", "k23": "发消息", "k24": "将全部未读消息标为已读", "k25": "当前没有未读消息", "k26": "全部已读", "k27": "刷新", "k28": "消息中心功能", "k29": "收件箱", "k30": "已发送", "k31": "通知设置", "k32": "搜索标题或正文", "k33": "仅看未读", "k34": "人工发送", "k35": "未读", "k36": "查看详情 →", "k37": "当前筛选范围内没有未读消息", "k38": "当前筛选范围内没有消息", "k39": "上一批", "k40": "下一批", "k41": "发送范围", "k42": "编写并发送消息", "k43": "收件范围始终受当前账号的数据权限约束,发送后不可撤回。", "k44": "个接收账号", "k45": "选择收件人", "k46": "权限范围群发", "k47": "按条件群发", "k48": "指定收件人", "k49": "筛选候选账号", "k50": "全部身份", "k51": "全部教学班", "k52": "姓名、学号、工号或账号", "k53": "查询", "k54": "将覆盖当前权限范围内全部已启用账号;如无需群发,请切换到条件筛选或指定收件人。", "k55": "校级账号", "k56": "已选择", "k57": "选择", "k58": "没有符合条件的可用账号", "k59": "清空", "k60": "接收教学班", "k61": "选择本人任教的教学班", "k62": "任课教师只能向本人所带教学班的有效学生账号发送消息。", "k63": "编辑消息内容", "k64": "普通通知", "k65": "成绩、选课等业务通知仍由对应流程自动发送", "k66": "消息标题", "k67": "用一句话说明需要关注的事项", "k68": "消息正文", "k69": "支持表格、超链接和外链图片;图片请填写 HTTPS 地址,不上传本地文件。", "k70": "还没有发送记录", "k71": "指定的 {count} 名收件人", "k72": "单次最多指定 {count} 名收件人", "k73": "消息将发送给“{audience}”的 {count} 个账号,发送后不可撤回。", "k74": "已发送给 {count} 个账号", "k75": "来自 {name}", "k76": "接收范围:{audience}", "k77": "第 {page} 批", "k78": "共 {count} 个匹配账号", "k79": "{year}级 · {name}", "k80": "已选 {count} 人", "k81": "移除 {name}", "k82": "另有 {count} 人", "k83": "{count} 人", "k84": "{chars} 字 · 源码 {length}/20000", "k85": "将发送给 {count} 个账号", "k86": "{count} 个接收账号"}, operationsBatch: {"k0": "可恢复备份", "k1": "尚未创建备份。", "k2": "最近备份已通过隔离恢复演练。", "k3": "恢复演练失败。", "k4": "备份存在,但尚未执行恢复演练。", "k5": "正常", "k6": "注意", "k7": "异常", "k8": "Swagger 文档已开放。", "k9": "Swagger 文档已关闭。", "k10": "可填写本次备份的变更窗口、发布版本或值班说明。", "k11": "创建数据库备份", "k12": "开始备份", "k13": "选填,最多 200 字", "k14": "说明不能超过 200 字。", "k15": "数据库备份已创建。", "k16": "运行恢复演练", "k17": "开始隔离演练", "k18": "运维与审计控制台", "k19": "检查系统是否可用、任务为何失败,以及备份能否真正恢复。", "k20": "刷新状态", "k21": "Swagger 文档", "k22": "文档与 OpenAPI 定义当前已对外开放。", "k23": "文档当前关闭,访问 /swagger 将返回 404。", "k24": "已开放", "k25": "打开文档", "k26": "系统健康链路", "k27": "当前值守结论", "k28": "异常告警", "k29": "当前没有异常告警", "k30": "健康探针、失败任务与备份时效均在允许范围内。", "k31": "备份与恢复演练", "k32": "创建备份", "k33": "恢复演练只使用隔离数据库;校验失败的备份不会进入业务库。", "k34": "无备份说明", "k35": "演练通过", "k36": "演练失败", "k37": "待演练", "k38": "尚无备份。创建首个备份后,立即运行一次恢复演练。", "k39": "审计查询类型", "k40": "操作日志", "k41": "失败后台任务", "k42": "请求方法", "k43": "状态码,如 500", "k44": "操作账号", "k45": "接口路径", "k46": "请求标识", "k47": "至", "k48": "未认证", "k49": "耗时", "k50": "来源 IP", "k51": "客户端", "k52": "异常类型", "k53": "该时间范围内没有匹配的写操作或失败请求。", "k54": "任务类型", "k55": "自动排课", "k56": "课表发布", "k57": "补考自动安排", "k58": "考试与补考编排", "k59": "考试签到表导出", "k60": "考试与补考发布", "k61": "课程成绩统计刷新", "k62": "毕业资格审核计算", "k63": "学位授予审核计算", "k64": "宿舍自动分配", "k65": "宿舍卫生结果计算", "k66": "综合测评计算", "k67": "该时间范围内没有失败的后台任务。", "k68": "将把“{name}”恢复到隔离数据库并执行完整性检查。当前业务数据库不会被覆盖。", "k69": "{alerts} 个严重告警 · {events} 条审计事件 / 24h", "k70": "任务 {id} · 已尝试 {count} 次"}, diff --git a/web/src/views/ComprehensiveAssessmentsView.vue b/web/src/views/ComprehensiveAssessmentsView.vue index 525f5e5..35dacc2 100644 --- a/web/src/views/ComprehensiveAssessmentsView.vue +++ b/web/src/views/ComprehensiveAssessmentsView.vue @@ -336,16 +336,16 @@ onMounted(async () => { await Promise.all([load(), loadTerms()]) }) -

我的申报材料

草稿提交后由辅导员初审、学院复核;驳回材料可修改后重新提交。

+

我的申报材料

草稿提交后由辅导员初审、学院复核;驳回材料可修改后重新提交。

-
{{weightTotal}}%

测评维度

添加维度

材料加分规则

添加规则
+
{{weightTotal}}%

测评维度

添加维度

材料加分规则

添加规则
- - + +

时间节点

- - - - - - - - - + + + + + + + + +
@@ -447,21 +447,21 @@ onMounted(async () => { await Promise.all([load(), loadTerms()]) })
- - - - - - - - - + + + + + + + + +
- - + + diff --git a/web/src/views/CourseSelectionView.vue b/web/src/views/CourseSelectionView.vue index 8332fcf..805d0dc 100644 --- a/web/src/views/CourseSelectionView.vue +++ b/web/src/views/CourseSelectionView.vue @@ -948,7 +948,7 @@ onMounted(async () => { >加入教学班 - + - + - + @@ -1112,7 +1112,7 @@ onMounted(async () => { v-model="offeringKeyword" :prefix-icon="Search" clearable - placeholder="搜索课程代码、课程名称、教学班或教师" + :placeholder="t('batchBusiness.k90')" /> { - + { >
- + @@ -1252,7 +1252,7 @@ onMounted(async () => {
- + 普通选课 仅限重修 @@ -1260,18 +1260,18 @@ onMounted(async () => {
仅限重修批次独立按本批次时间开放和关闭,只有历史成绩未通过且尚未通过的学生可见并办理。
- + - +
- + - +
@@ -1283,7 +1283,7 @@ onMounted(async () => { collapse-tags collapse-tags-tooltip clearable - placeholder="不选择表示全部年级" + :placeholder="t('batchBusiness.k97')" > { />
- + @@ -1323,7 +1323,7 @@ onMounted(async () => { width="620px" > - + {
- + - + { - + - + { 退课释放名额后,系统按顺位重新校验并自动递补
- + - + { 移出 - + { - + - + -
+
@@ -735,27 +735,27 @@ onMounted(async () => { title="已发布方案的修改会立即生效。适用专业、入学年级和版本号已锁定,如需调整请复制为新版本。" /> - + - +
- - + +
- - + +
- +

将完整复制当前方案为独立草稿;修订后的课程、模块和课程组导入内容均可单独调整,不影响原版本。

- +
- - + +
@@ -764,11 +764,11 @@ onMounted(async () => {
- +
- - + + 体育、英语等课程组填写学生必须从组内修满的学分。 @@ -784,7 +784,7 @@ onMounted(async () => {
- +
@@ -796,22 +796,22 @@ onMounted(async () => {
- + - +

将导入:{{ importingCourseGroup.courses.map((course: any) => course.courseName).join('、') }}

- - + +
- +