diff --git a/client/i18n/locales/english/intro.json b/client/i18n/locales/english/intro.json index 40cba07769..b7d7d28834 100644 --- a/client/i18n/locales/english/intro.json +++ b/client/i18n/locales/english/intro.json @@ -560,7 +560,7 @@ "browse-other": "Browse our other free certifications\n(we recommend doing these in order)", "courses": "Courses", "steps": "Steps", - "expand": "Expand", - "collapse": "Collapse" + "expand": "Expand courses", + "collapse": "Collapse courses" } } diff --git a/client/src/templates/Introduction/components/block.tsx b/client/src/templates/Introduction/components/block.tsx index 62392e1692..20b52cb67e 100644 --- a/client/src/templates/Introduction/components/block.tsx +++ b/client/src/templates/Introduction/components/block.tsx @@ -136,12 +136,10 @@ export class Block extends Component { const blockIntroArr = blockIntroObj ? blockIntroObj.intro : []; const { expand: expandText, - collapse: collapseText, - courses: coursesText + collapse: collapseText }: { expand: string; collapse: string; - courses: string; } = t('intro:misc-text'); return isProjectBlock ? ( @@ -203,9 +201,7 @@ export class Block extends Component { >

- {`${ - isExpanded ? collapseText : expandText - } ${coursesText.toLowerCase()}`} + {`${isExpanded ? collapseText : expandText}`}

{this.renderCheckMark( diff --git a/client/src/templates/Introduction/components/certification-card.tsx b/client/src/templates/Introduction/components/certification-card.tsx index 56a78da61f..807d1d3c03 100644 --- a/client/src/templates/Introduction/components/certification-card.tsx +++ b/client/src/templates/Introduction/components/certification-card.tsx @@ -37,12 +37,10 @@ const CertificationCard = ({ const { expand: expandText, - collapse: collapseText, - courses: coursesText + collapse: collapseText }: { expand: string; collapse: string; - courses: string; } = t('intro:misc-text'); return ( @@ -65,9 +63,7 @@ const CertificationCard = ({ >

- {`${ - isExpanded ? collapseText : expandText - } ${coursesText.toLowerCase()}`} + {`${isExpanded ? collapseText : expandText}`}

{completedCount === numberOfSteps ? (