feat: localize official document issuance
This commit is contained in:
1 parent
27d12df5bc
commit
8b2e4f152d
4 files changed
+54
-52
No files matched your search
@@ -16,7 +16,7 @@ const missing = [...reference].filter((key) => !candidate.has(key))
|
||||
const extra = [...candidate].filter((key) => !reference.has(key))
|
||||
|
||||
// Fully migrated pages must not silently reintroduce hardcoded Chinese UI copy.
|
||||
const completedViews = ['CoursesView.vue', 'OtherExamsView.vue', 'BaseDataView.vue']
|
||||
const completedViews = ['CoursesView.vue', 'OtherExamsView.vue', 'BaseDataView.vue', 'OfficialDocumentsView.vue']
|
||||
const hardcoded = completedViews.filter((name) => {
|
||||
const file = fileURLToPath(new URL(`../src/views/${name}`, import.meta.url))
|
||||
let source = readFileSync(file, 'utf8')
|
||||
|
||||
Reference in new issue
Block a user