diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-03-23 12:29:43 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-03-23 12:29:43 +0100 |
| commit | 4e7a96c5a831882463802cdd4f84fe1464969cb0 (patch) | |
| tree | 528e2766120465bd74e94a8f5d37db7c3cd5a3cc /src/pages/cv.tsx | |
| parent | 3a20d3ef2d6fcb6c77ca5ad6aeaf6179d23ecb3e (diff) | |
refactor: use formatjs swc plugin
I'm not able to configure SWC plugins in Next.js so to make it works,
all translation must have an id.
Diffstat (limited to 'src/pages/cv.tsx')
| -rw-r--r-- | src/pages/cv.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pages/cv.tsx b/src/pages/cv.tsx index 39dfeed..71eb449 100644 --- a/src/pages/cv.tsx +++ b/src/pages/cv.tsx @@ -31,6 +31,7 @@ const CV: NextPageWithLayout = () => { { defaultMessage: 'CV Front-end developer - {websiteName}', description: 'CVPage: SEO - Page title', + id: 'Y1ZdJ6', }, { websiteName: settings.name } ); @@ -39,6 +40,7 @@ const CV: NextPageWithLayout = () => { defaultMessage: 'Discover the curriculum of {websiteName}, front-end developer located in France: skills, experiences and training.', description: 'CVPage: SEO - Meta description', + id: 'bBdMGm', }, { websiteName: settings.name } ); @@ -86,6 +88,7 @@ const CV: NextPageWithLayout = () => { { defaultMessage: "{name}'s CV", description: 'CVPage: page title', + id: 'Mj2BQf', }, { name: settings.name } ); @@ -117,6 +120,7 @@ const CV: NextPageWithLayout = () => { ariaLabel={intl.formatMessage({ defaultMessage: 'Table of Contents', description: 'CVPage: ToC sidebar aria-label', + id: 'g4DckL', })} > <ToC /> @@ -129,12 +133,14 @@ const CV: NextPageWithLayout = () => { ariaLabel={intl.formatMessage({ defaultMessage: 'Sidebar', description: 'CVPage: right sidebar aria-label', + id: 'QHOm5t', })} > <CVPreview title={intl.formatMessage({ defaultMessage: 'Others formats', description: 'CVPage: cv preview widget title', + id: 'B9OCyV', })} imgSrc={image} pdf={pdf} @@ -143,6 +149,7 @@ const CV: NextPageWithLayout = () => { title={intl.formatMessage({ defaultMessage: 'Open-source projects', description: 'CVPage: social media widget title', + id: '+Dre5J', })} github={true} gitlab={true} |
