From 6596d8f7bfc7a195cb90e86c502002b6351ed374 Mon Sep 17 00:00:00 2001
From: Lalith Kanakamedala <105421158+Lalith246@users.noreply.github.com>
Date: Fri, 13 Sep 2024 14:48:36 +0530
Subject: [PATCH] fix(UI): Resolved discrepancies in solution dropdown text
(#56043)
---
client/i18n/locales/english/translations.json | 6 ++----
client/src/components/solution-display-widget/index.tsx | 8 ++++----
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/client/i18n/locales/english/translations.json b/client/i18n/locales/english/translations.json
index 361049204b1..b83ed9ba83a 100644
--- a/client/i18n/locales/english/translations.json
+++ b/client/i18n/locales/english/translations.json
@@ -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 policy2>, please <5>report this to our team5>.",
"title": {
"Build a Personal Portfolio Webpage": "Build a Personal Portfolio Webpage",
diff --git a/client/src/components/solution-display-widget/index.tsx b/client/src/components/solution-display-widget/index.tsx
index ac373fced09..6efad209c5b 100644
--- a/client/src/components/solution-display-widget/index.tsx
+++ b/client/src/components/solution-display-widget/index.tsx
@@ -58,7 +58,7 @@ export function SolutionDisplayWidget({
rel='noopener noreferrer'
target='_blank'
>
- {t('certification.project.solution')}
+ {t('certification.project.solution')}{' '}
({t('aria.opens-new-window')})
@@ -68,7 +68,7 @@ export function SolutionDisplayWidget({
rel='noopener noreferrer'
target='_blank'
>
- {t('certification.project.source')}
+ {t('certification.project.source')}{' '}
({t('aria.opens-new-window')})
@@ -144,7 +144,7 @@ export function SolutionDisplayWidget({
rel='noopener noreferrer'
target='_blank'
>
- {t('buttons.frontend')}{' '}
+ {t('certification.project.solution')}{' '}
({t('aria.opens-new-window')})
@@ -154,7 +154,7 @@ export function SolutionDisplayWidget({
rel='noopener noreferrer'
target='_blank'
>
- {t('buttons.backend')}{' '}
+ {t('certification.project.source')}{' '}
({t('aria.opens-new-window')})