feat: continue page template localization
This commit is contained in:
1 parent
af4d8e8b3a
commit
ec5e6a369d
19 files changed
+176
-170
No files matched your search
+13
-13
@@ -3,7 +3,7 @@
|
||||
此表按 `web/src/views` 下的 Vue 页面文件整理,是静态扫描快照,不代表完整翻译或验收。
|
||||
使用 `cd web && node scripts/i18n-progress.mjs` 可重新生成表格;更新此文件时同时核对实际界面和相关接口。
|
||||
|
||||
共 65 个页面:模板仍检出中文 15 个;模板未检出、脚本字符串仍需核对 11 个;模板与脚本字符串均未检出 39 个。
|
||||
共 65 个页面:模板仍检出中文 13 个;模板未检出、脚本字符串仍需核对 13 个;模板与脚本字符串均未检出 39 个。
|
||||
|
||||
- “模板中文行”统计去除 HTML 注释后,包含汉字的模板行数;一行可能包含多个文案,也可能是业务数据或条件表达式。
|
||||
- “脚本中文字符串行”统计 TypeScript 字符串和模板字符串中包含汉字的行数,不包括普通注释;其中可能是可编辑默认值、协议兼容映射或其他非界面文本。
|
||||
@@ -24,30 +24,30 @@
|
||||
| [ClassroomRepairReportView.vue](../web/src/views/ClassroomRepairReportView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [ClassroomRepairsView.vue](../web/src/views/ClassroomRepairsView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [ClassroomReservationsView.vue](../web/src/views/ClassroomReservationsView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [ComprehensiveAssessmentsView.vue](../web/src/views/ComprehensiveAssessmentsView.vue) | 模板待核对 | 56 | 46 |
|
||||
| [ComprehensiveAssessmentsView.vue](../web/src/views/ComprehensiveAssessmentsView.vue) | 模板待核对 | 55 | 46 |
|
||||
| [CourseAdjustmentsView.vue](../web/src/views/CourseAdjustmentsView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [CourseEnrollmentManagementView.vue](../web/src/views/CourseEnrollmentManagementView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [CourseEquivalencyRulesView.vue](../web/src/views/CourseEquivalencyRulesView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [CourseGradeStatisticsView.vue](../web/src/views/CourseGradeStatisticsView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [CourseSelectionView.vue](../web/src/views/CourseSelectionView.vue) | 模板待核对 | 91 | 59 |
|
||||
| [CourseSelectionView.vue](../web/src/views/CourseSelectionView.vue) | 模板待核对 | 85 | 59 |
|
||||
| [CoursesView.vue](../web/src/views/CoursesView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [CurriculumView.vue](../web/src/views/CurriculumView.vue) | 模板待核对 | 53 | 40 |
|
||||
| [CurriculumView.vue](../web/src/views/CurriculumView.vue) | 模板待核对 | 48 | 40 |
|
||||
| [DashboardView.vue](../web/src/views/DashboardView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [DataQualityView.vue](../web/src/views/DataQualityView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [DegreeAwardsView.vue](../web/src/views/DegreeAwardsView.vue) | 模板未检出,脚本待核对 | 0 | 2 |
|
||||
| [DormitoryHygieneView.vue](../web/src/views/DormitoryHygieneView.vue) | 模板待核对 | 17 | 29 |
|
||||
| [EvaluationView.vue](../web/src/views/EvaluationView.vue) | 模板未检出,脚本待核对 | 0 | 4 |
|
||||
| [EventAnalyticsView.vue](../web/src/views/EventAnalyticsView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [ExamsView.vue](../web/src/views/ExamsView.vue) | 模板待核对 | 41 | 45 |
|
||||
| [ExperimentGradesView.vue](../web/src/views/ExperimentGradesView.vue) | 模板待核对 | 24 | 53 |
|
||||
| [ExperimentsView.vue](../web/src/views/ExperimentsView.vue) | 模板待核对 | 151 | 61 |
|
||||
| [ExamsView.vue](../web/src/views/ExamsView.vue) | 模板待核对 | 38 | 45 |
|
||||
| [ExperimentGradesView.vue](../web/src/views/ExperimentGradesView.vue) | 模板未检出,脚本待核对 | 0 | 53 |
|
||||
| [ExperimentsView.vue](../web/src/views/ExperimentsView.vue) | 模板待核对 | 144 | 61 |
|
||||
| [FreeClassroomsView.vue](../web/src/views/FreeClassroomsView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [GradeAnalyticsView.vue](../web/src/views/GradeAnalyticsView.vue) | 模板待核对 | 29 | 26 |
|
||||
| [GradesView.vue](../web/src/views/GradesView.vue) | 模板待核对 | 52 | 61 |
|
||||
| [GradeAnalyticsView.vue](../web/src/views/GradeAnalyticsView.vue) | 模板未检出,脚本待核对 | 0 | 26 |
|
||||
| [GradesView.vue](../web/src/views/GradesView.vue) | 模板待核对 | 49 | 61 |
|
||||
| [GraduationAuditsView.vue](../web/src/views/GraduationAuditsView.vue) | 模板未检出,脚本待核对 | 0 | 1 |
|
||||
| [GraduationClearanceView.vue](../web/src/views/GraduationClearanceView.vue) | 模板未检出,脚本待核对 | 0 | 6 |
|
||||
| [LoginView.vue](../web/src/views/LoginView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [MakeupExamsView.vue](../web/src/views/MakeupExamsView.vue) | 模板待核对 | 54 | 37 |
|
||||
| [MakeupExamsView.vue](../web/src/views/MakeupExamsView.vue) | 模板待核对 | 49 | 37 |
|
||||
| [NotificationCenterView.vue](../web/src/views/NotificationCenterView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [OfficialDocumentVerifyView.vue](../web/src/views/OfficialDocumentVerifyView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [OfficialDocumentsView.vue](../web/src/views/OfficialDocumentsView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
@@ -56,7 +56,7 @@
|
||||
| [PersonnelView.vue](../web/src/views/PersonnelView.vue) | 模板未检出,脚本待核对 | 0 | 4 |
|
||||
| [PhysicalFitnessView.vue](../web/src/views/PhysicalFitnessView.vue) | 模板待核对 | 15 | 15 |
|
||||
| [PluginsView.vue](../web/src/views/PluginsView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [SchedulesView.vue](../web/src/views/SchedulesView.vue) | 模板待核对 | 167 | 64 |
|
||||
| [SchedulesView.vue](../web/src/views/SchedulesView.vue) | 模板待核对 | 162 | 64 |
|
||||
| [SsoBindView.vue](../web/src/views/SsoBindView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [SsoCallbackView.vue](../web/src/views/SsoCallbackView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [StatisticsView.vue](../web/src/views/StatisticsView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
@@ -65,13 +65,13 @@
|
||||
| [StudentDashboardView.vue](../web/src/views/StudentDashboardView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [StudentProfileView.vue](../web/src/views/StudentProfileView.vue) | 模板未检出,脚本待核对 | 0 | 3 |
|
||||
| [StudentStatusChangesView.vue](../web/src/views/StudentStatusChangesView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [TeacherAttendanceView.vue](../web/src/views/TeacherAttendanceView.vue) | 模板待核对 | 46 | 40 |
|
||||
| [TeacherAttendanceView.vue](../web/src/views/TeacherAttendanceView.vue) | 模板待核对 | 39 | 40 |
|
||||
| [TeacherDashboardView.vue](../web/src/views/TeacherDashboardView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [TeacherRosterView.vue](../web/src/views/TeacherRosterView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [TeachingMonitoringView.vue](../web/src/views/TeachingMonitoringView.vue) | 模板未检出,脚本待核对 | 0 | 3 |
|
||||
| [TeachingPreferencesView.vue](../web/src/views/TeachingPreferencesView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [TeachingTasksView.vue](../web/src/views/TeachingTasksView.vue) | 模板待核对 | 65 | 61 |
|
||||
| [TimetableView.vue](../web/src/views/TimetableView.vue) | 模板待核对 | 57 | 39 |
|
||||
| [TimetableView.vue](../web/src/views/TimetableView.vue) | 模板待核对 | 50 | 39 |
|
||||
| [TuitionView.vue](../web/src/views/TuitionView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [UsersView.vue](../web/src/views/UsersView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
| [VenueDisplayView.vue](../web/src/views/VenueDisplayView.vue) | 未检出中文,待验收 | 0 | 0 |
|
||||
|
||||
@@ -26,7 +26,7 @@ const hardcoded = completedViews.filter((name) => {
|
||||
})
|
||||
// These pages retain Chinese API values or editable business defaults in script.
|
||||
// Guard their templates separately, ignoring non-rendered comments.
|
||||
for (const name of ['TeachingMonitoringView.vue', 'AcademicPlanningView.vue', 'PersonnelView.vue', 'StatisticsView.vue', 'EvaluationView.vue', 'ApprovalCenterView.vue', 'StudentAttendanceView.vue', 'NotificationCenterView.vue']) {
|
||||
for (const name of ['TeachingMonitoringView.vue', 'AcademicPlanningView.vue', 'PersonnelView.vue', 'StatisticsView.vue', 'EvaluationView.vue', 'ApprovalCenterView.vue', 'StudentAttendanceView.vue', 'NotificationCenterView.vue', 'GradeAnalyticsView.vue', 'ExperimentGradesView.vue']) {
|
||||
const source = readFileSync(new URL(`../src/views/${name}`, import.meta.url), 'utf8')
|
||||
const start = source.indexOf('<template>')
|
||||
const end = source.lastIndexOf('</template>')
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
export default {
|
||||
pageTemplate: { reviewRequired: 'Requires review by {college}' },
|
||||
experimentGradeTemplate: {"k0": "My lab grades", "k1": "Lab grade management", "k2": "Grades incomplete", "k3": "Weighted average", "k4": "Late", "k5": "Submitted", "k6": "Not recorded", "k7": "Passed", "k8": "Not passed", "k9": "Instructor to be assigned", "k10": "Edit rubric", "k11": "Create lab grade sheet", "k12": "Save and reset components", "k13": "Create grade sheet", "k14": "Yes", "k15": "No", "k16": "None", "k17": "Autosaving…", "k18": "Autosaved", "k19": "Autosave failed. Save manually.", "k20": "Autosaves after one minute of inactivity", "k21": "{count} published lab projects · Weighted by project contribution", "k22": "Contribution weight {weight}", "k23": "{count} lab projects", "k24": "{sheets} grade sheets · {scored}/{students} scored", "k25": "{scored}/{students} scored · {items} items", "k26": "{action} · {name}", "k27": "{weight} {value} · Passing threshold {score}", "k28": "{name} comment", "k29": "Review comment: {comment}", "k30": "Offering college: {college}"},
|
||||
gradeAnalysisTemplate: {"k0": "Never run", "k1": "Will run shortly after being enabled", "k2": "Course name or code", "k3": "Course or teaching class name or number", "k4": "Instructor not specified", "k5": "Unnamed user", "k6": "Show flagged courses only", "k7": "Show flagged classes only", "k8": "Last scan: {value}", "k9": "Next scan: {value}", "k10": "{count} with statistics", "k11": "{teachers} · {count} students", "k12": "Average {average} · Pass rate {rate}%", "k13": "{name} · Data updated {time}", "k14": "Score range {value}", "k15": "{passed} / {total} students", "k16": "{count} students scored at least 90", "k17": "Average score {value}", "k18": "Pass rate {value}", "k19": "University benchmark: average {average}, pass rate {rate}%", "k20": "{count} students in five fixed score bands", "k21": "{classes} teaching classes · {students} students", "k22": "{name} · Course-wide analysis", "k23": "Covers {terms} terms and {classes} teaching classes; only published grades are included.", "k24": "{name} · Course discussion", "k25": "Like {count}", "k26": "Insightful {count}", "k27": "Agree {count}", "k28": "Reply", "k29": "Reply ({count})"},
|
||||
workflowBatch: {"k0": "Save draft", "k1": "Delete draft", "k2": "Flexible course", "k3": "New plan", "k4": "Schedule sessions in bulk", "k5": "Clear selection in filtered results", "k6": "Refresh schedule", "k7": "Publish plan", "k8": "Select all filtered results", "k9": "Clear selection", "k10": "Assign invigilators", "k11": "Invigilation", "k12": "Complete all", "k13": "Assign exam rooms", "k14": "Approve", "k15": "Submit for review", "k16": "Return for revision", "k17": "Page average", "k18": "Publish grades", "k19": "minutes", "k20": "Pass rate", "k21": "Save grades", "k22": "Select filtered results", "k23": "Regular scheduling", "k24": "Teaching class grade analysis", "k25": "Compare this teaching class with other classes, student groups, and historical results. Only published grades are included.", "k26": "Scheduled refresh settings", "k27": "Recalculate this teaching class", "k28": "Teaching class analysis", "k29": "Course-wide analysis", "k30": "Scheduled grade statistics and academic overview refresh", "k31": "Enable scheduled refresh", "k32": "Refresh interval", "k33": "Maximum per run", "k34": "course terms (also refreshes academic overview)", "k35": "Save settings", "k37": "Available teaching classes", "k38": "No published grade statistics in your scope", "k39": "Select a teaching class to view analysis", "k40": "Statistics for this teaching class are being generated. Refresh later.", "k41": "Export Word report", "k42": "Valid grades", "k43": "All valid grades", "k44": "Median", "k45": "Less sensitive to outliers", "k46": "Standard deviation", "k47": "A higher value indicates more dispersed scores", "k48": "Highest / lowest", "k49": "Excellent rate", "k50": "Compared with the university-wide course this term", "k51": "Grade distribution for this teaching class", "k52": "Average scores by teaching class", "k53": "This teaching class is shown in a darker color", "k54": "Pass rates by teaching class", "k55": "Comparison across classes of the same course and term", "k56": "Class, major, college, and university benchmarks", "k57": "Score ranges, averages, and pass rates for the groups represented in this class", "k58": "Historical comparison of current instructors and the university-wide course", "k59": "Instructor results are weighted across their classes for the same course in each term. University results include all published grades for that course and term.", "k60": "Available courses", "k61": "Select a course to view overall analysis", "k62": "Weighted by student count", "k63": "Teaching classes", "k64": "Teaching classes offered", "k65": "Data updated", "k66": "Based on the most recent refresh", "k67": "Score distribution", "k68": "Percentage", "k69": "Trends by term", "k70": "Students by college", "k71": "Teaching class comparison", "k72": "Comments belong to this course. Anonymous comments hide the name, but the system retains the author for self-deletion and administration.", "k73": "Refresh comments", "k74": "Share thoughts on grade trends, teaching improvements, or statistics", "k77": "View lab projects by course. The lab course score is a weighted average of projects and can be used in the course grade.", "k78": "Create a rubric for each lab project. Published results can be imported into the course grade sheet.", "k79": "Lab grade workflow", "k80": "Scheduled / self-booked", "k81": "Independent scoring", "k82": "Practice · results · report · standards", "k83": "Review and publish", "k84": "Student access / optional course import", "k85": "Lab course score", "k88": "Participation status", "k159": "Passing threshold", "k90": "Lab attempt", "k91": "Submission status", "k92": "A safety violation was recorded; this lab receives zero under the rules.", "k93": "Component scores", "k94": "Project score", "k95": "Incomplete", "k96": "No published lab grades", "k97": "All grade statuses", "k98": "Project, course, teaching class, or instructor", "k99": "No grade sheet yet", "k100": "Export lab grades", "k101": "Grade progress", "k102": "Open grade sheet", "k103": "Create grade sheet", "k104": "No lab courses match the filters", "k105": "Changing the rubric clears existing component scores. Participation status and instructor comments are retained.", "k106": "Project contribution weight", "k107": "Relative weight used when combining lab projects into a course score", "k108": "Lab passing threshold", "k109": "Determines whether this lab is passed; it does not directly calculate course GPA", "k110": "Lab scoring items", "k111": "Scoring item name", "k112": "Add scoring item", "k113": "Lab grading workspace", "k114": "Passed on this page", "k115": "Scoring items", "k116": "Search student number, name, or class", "k117": "Sync participants", "k118": "Scoring rubric", "k119": "Submission or report URL", "k120": "Not recorded", "k121": "Submitted at", "k122": "Late submission", "k123": "Instructor comments", "k124": "Safety violation", "k125": "Attempts", "k126": "Lab total", "k127": "Save this pagLine truncated
|
||||
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": "TarLine truncated
|
||||
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"},
|
||||
|
||||
Loaded 3 of 19 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user