Skip to content

Commit 7a22f2b

Browse files
committed
fix: career portal translation
1 parent 7972229 commit 7a22f2b

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

apps/web/public/locales/en.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@
439439
"add": "Add",
440440
"allowReceivingEmails": "I agree to receive emails from Plan ₿ Network about potential job opportunities",
441441
"applicationSaved": "Your application is saved!",
442-
"applicationStatus": "Your application is",
442+
"applicationComplete": "Your application is <highlight>Complete</highlight>",
443+
"applicationIncomplete": "Your application is <highlight>Incomplete</highlight>",
443444
"availability": "Your availability",
444445
"availabilityStart": "When can you start?",
445446
"availabilityStartPlaceholder": "Date",

apps/web/src/routes/$lang/dashboard/_dashboard/career-portal.tsx

+10-6
Original file line numberDiff line numberDiff line change
@@ -419,12 +419,16 @@ function CareerPortal() {
419419
{existingCareerProfile ? (
420420
<>
421421
<p className="bg-newGray-6 text-center text-lg font-medium text-newBlack-1 px-4 py-2 md:px-8 md:py-4 rounded-[16px] border-b border-b-newGray-4 uppercase w-fit mx-auto mb-2">
422-
{t('dashboard.careerPortal.applicationStatus')}{' '}
423-
<span className="text-darkOrange-5">
424-
{validatedSteps === 4
425-
? t('words.complete')
426-
: t('words.incomplete')}
427-
</span>
422+
<Trans
423+
i18nKey={
424+
validatedSteps === 4
425+
? 'dashboard.careerPortal.applicationComplete'
426+
: 'dashboard.careerPortal.applicationIncomplete'
427+
}
428+
components={{
429+
highlight: <span className="text-darkOrange-5" />,
430+
}}
431+
/>
428432
</p>
429433
<p className="w-full text-center text-newBlack-5 body-16px md:label-medium-16px mb-[25px] md:mb-[60px] whitespace-pre-line">
430434
{validatedSteps === 4

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@
5353
"biome check --no-errors-on-unmatched --files-ignore-unknown=true --diagnostic-level=warn"
5454
]
5555
},
56-
"packageManager": "pnpm@10.6.2"
56+
"packageManager": "pnpm@10.6.3"
5757
}

0 commit comments

Comments
 (0)