feat: localize notifications and student check-in

This commit is contained in:
biss committed 2026-11-01 20:48:57 +08:00
1 parent a3b4fc86ee
commit cbcd41182c
5 files changed
+130 -128

No files matched your search

+1 -1
View File
@@ -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']) {
for (const name of ['TeachingMonitoringView.vue', 'AcademicPlanningView.vue', 'PersonnelView.vue', 'StatisticsView.vue', 'EvaluationView.vue', 'ApprovalCenterView.vue', 'StudentAttendanceView.vue', 'NotificationCenterView.vue']) {
const source = readFileSync(new URL(`../src/views/${name}`, import.meta.url), 'utf8')
const start = source.indexOf('<template>')
const end = source.lastIndexOf('</template>')