From 4e7a96c5a831882463802cdd4f84fe1464969cb0 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 23 Mar 2022 12:29:43 +0100 Subject: 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. --- src/components/PostsList/PostsList.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/PostsList/PostsList.tsx') diff --git a/src/components/PostsList/PostsList.tsx b/src/components/PostsList/PostsList.tsx index b57630e..f998846 100644 --- a/src/components/PostsList/PostsList.tsx +++ b/src/components/PostsList/PostsList.tsx @@ -37,6 +37,7 @@ const PostsList = ( {intl.formatMessage({ defaultMessage: 'Published on', description: 'PostsList: published on year label', + id: 'EvODgw', })}{' '} {year} @@ -77,6 +78,7 @@ const PostsList = ( {intl.formatMessage({ defaultMessage: 'No results found.', description: 'PostsList: no results', + id: 'vK7Sxv', })}

); -- cgit v1.2.3