feat: add i18n support for ChapterIntroduction component
- Add chapter-introduction locale files for zh-cn and en - Update ChapterIntroduction.vue to use useI18n composable - Fix import paths in ChapterIntroduction.vue
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
'zh-cn': {
|
||||
title: '本章学习目标',
|
||||
duration: '预计耗时',
|
||||
output: '预期产出',
|
||||
assignment: '课后任务'
|
||||
},
|
||||
'en': {
|
||||
title: 'Learning Objectives',
|
||||
duration: 'Estimated Time',
|
||||
output: 'Expected Output',
|
||||
assignment: 'Assignment'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user