Skip to content

Commit b843763

Browse files
committed
fix: add intl to Previous Imports title
1 parent f17820b commit b843763

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

src/library-authoring/import-course/CourseImportHomePage.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ export const CourseImportHomePage = () => {
7070
<Layout.Element>
7171
{courseImports.length ? (
7272
<Stack gap={3} className="pl-4 mt-4">
73-
<h3>Previous Imports</h3>
73+
<h3>
74+
<FormattedMessage {...messages.courseImportPreviousImports} />
75+
</h3>
7476
{courseImports.map((courseImport) => (
7577
<ImportedCourseCard
7678
key={courseImport.source.key}

src/library-authoring/import-course/messages.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ const messages = defineMessages({
2121
defaultMessage: 'Import Course',
2222
description: 'Text for the button to import a course into the library',
2323
},
24+
courseImportPreviousImports: {
25+
id: 'course-authoring.library-authoring.import-course.previous-imports',
26+
defaultMessage: 'Previous Imports',
27+
description: 'Title for the list of previous imports',
28+
},
2429
courseImportTextProgress: {
2530
id: 'course-authoring.library-authoring.import-course.course.text',
2631
defaultMessage: '% Imported',

0 commit comments

Comments
 (0)