feat: localize notifications and student check-in
This commit is contained in:
1 parent
a3b4fc86ee
commit
cbcd41182c
5 files changed
+130
-128
No files matched your search
@@ -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>')
|
||||
|
||||
Reference in new issue
Block a user