fix(i18n,client): translate view certificate button (#48949)
fix(i18n): translate view certificate buttonpull/48890/merge
parent
f2fcfe593d
commit
95aba7810b
|
@ -11,6 +11,7 @@
|
|||
"view": "View",
|
||||
"view-code": "View Code",
|
||||
"view-project": "View Project",
|
||||
"view-cert-title": "View {{certTitle}}",
|
||||
"show-cert": "Show Certification",
|
||||
"claim-cert": "Claim Certification",
|
||||
"save-progress": "Save Progress",
|
||||
|
|
|
@ -55,7 +55,9 @@ function CertButton({ username, cert }: CertButtonProps): JSX.Element {
|
|||
to={`/certification/${username}/${cert.certSlug}`}
|
||||
data-cy='claimed-certification'
|
||||
>
|
||||
View {t(`certification.title.${cert.certSlug}`)}
|
||||
{t('buttons.view-cert-title', {
|
||||
certTitle: t(`certification.title.${cert.certSlug}`)
|
||||
})}
|
||||
</Link>
|
||||
</Col>
|
||||
</Row>
|
||||
|
|
Loading…
Reference in New Issue