Spanish changes from translation team (#1650)

* Add translation of 'email' on About page

- Email to Correo electrónico

* Add en ingles suffix and Spanish oridinals

* Correct variable name in es.json

* Add missing colon

* Replace brackets with parens when using en ingles
This commit is contained in:
Vim 2022-05-18 14:37:36 -04:00 committed by GitHub
commit c398fe8737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 58 additions and 18 deletions

View file

@ -9,7 +9,7 @@ interface AboutCardProps {
imgSrc?: string;
header: string;
size: 'small' | 'large';
linkText?: string;
linkText?: string | JSX.Element;
url?: string;
openUrlNewTab?: boolean;
className?: string;
@ -62,7 +62,7 @@ const AboutCard = (props: React.PropsWithChildren<AboutCardProps>) => {
<LinkTypeWrapper
linkText={props.linkText}
internal={props.internal}
url={props.url}
url={props.url ? props.url : ''}
openUrlNewTab={props.openUrlNewTab}
className={'j40-aboutcard-link'}
/>