diff --git a/enjoy/src/i18n/en.json b/enjoy/src/i18n/en.json index efccecee..51dfb415 100644 --- a/enjoy/src/i18n/en.json +++ b/enjoy/src/i18n/en.json @@ -644,6 +644,7 @@ "previousChapter": "Previous", "nextChapter": "Next", "examples": "Examples", + "howToFinishChapter": "Please shadow the examples and record your voice to finish the chapter.", "continueLearning": "Continue learning", "enrollNow": "Enroll now", "enrollments": "Enrollments", diff --git a/enjoy/src/i18n/zh-CN.json b/enjoy/src/i18n/zh-CN.json index fd98891d..c4c9a630 100644 --- a/enjoy/src/i18n/zh-CN.json +++ b/enjoy/src/i18n/zh-CN.json @@ -644,6 +644,7 @@ "previousChapter": "上一章", "nextChapter": "下一章", "examples": "示例", + "howToFinishChapter": "请跟读以下示例并录音,以完成本章练习。", "continueLearning": "继续练习", "enrollNow": "加入练习", "enrollments": "参加的课程", diff --git a/enjoy/src/renderer/components/courses/chapter-content.tsx b/enjoy/src/renderer/components/courses/chapter-content.tsx index 9794b793..f686d29b 100644 --- a/enjoy/src/renderer/components/courses/chapter-content.tsx +++ b/enjoy/src/renderer/components/courses/chapter-content.tsx @@ -93,7 +93,14 @@ export const ChapterContent = (props: { )} - {chapter.examples.length > 0 &&