fix(UI): Resolved discrepancies in solution dropdown text (#56043)

pull/56092/head
Lalith Kanakamedala 2024-09-13 14:48:36 +05:30 committed by GitHub
parent f24bc2aa47
commit 6596d8f7bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 8 deletions

View File

@ -7,8 +7,6 @@
"first-lesson": "Go to the first lesson",
"close": "Close",
"edit": "Edit",
"frontend": "Front End",
"backend": "Back End",
"view": "View",
"view-code": "View Code",
"view-project": "View Project",
@ -904,9 +902,9 @@
"heading-legacy-full-stack": "As part of this Legacy Full Stack certification, {{user}} completed the following certifications:",
"heading-exam": "As part of this certification, {{user}} passed the following exam: ",
"heading": "As part of this certification, {{user}} built the following projects and got all automated test suites to pass:",
"solution": "solution",
"solution": "Solution",
"no-solution": "error displaying solution, email support@freeCodeCamp.org to get help.",
"source": "source",
"source": "Source",
"footnote": "If you suspect that any of these projects violate the <2>academic honesty policy</2>, please <5>report this to our team</5>.",
"title": {
"Build a Personal Portfolio Webpage": "Build a Personal Portfolio Webpage",

View File

@ -58,7 +58,7 @@ export function SolutionDisplayWidget({
rel='noopener noreferrer'
target='_blank'
>
{t('certification.project.solution')}
{t('certification.project.solution')}{' '}
<span className='sr-only'>({t('aria.opens-new-window')})</span>
<FontAwesomeIcon icon={faExternalLinkAlt} />
</MenuItem>
@ -68,7 +68,7 @@ export function SolutionDisplayWidget({
rel='noopener noreferrer'
target='_blank'
>
{t('certification.project.source')}
{t('certification.project.source')}{' '}
<span className='sr-only'>({t('aria.opens-new-window')})</span>
<FontAwesomeIcon icon={faExternalLinkAlt} />
</MenuItem>
@ -144,7 +144,7 @@ export function SolutionDisplayWidget({
rel='noopener noreferrer'
target='_blank'
>
{t('buttons.frontend')}{' '}
{t('certification.project.solution')}{' '}
<span className='sr-only'>({t('aria.opens-new-window')})</span>
<FontAwesomeIcon icon={faExternalLinkAlt} />
</MenuItem>
@ -154,7 +154,7 @@ export function SolutionDisplayWidget({
rel='noopener noreferrer'
target='_blank'
>
{t('buttons.backend')}{' '}
{t('certification.project.source')}{' '}
<span className='sr-only'>({t('aria.opens-new-window')})</span>
<FontAwesomeIcon icon={faExternalLinkAlt} />
</MenuItem>