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:
sanbuphy
2026-02-26 12:59:01 +08:00
parent b2e3ffa1fd
commit 8bac413237
4 changed files with 54 additions and 36 deletions
@@ -0,0 +1,14 @@
export default {
'zh-cn': {
title: '本章学习目标',
duration: '预计耗时',
output: '预期产出',
assignment: '课后任务'
},
'en': {
title: 'Learning Objectives',
duration: 'Estimated Time',
output: 'Expected Output',
assignment: 'Assignment'
}
}