diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-03-24 15:02:39 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-03-24 15:02:39 +0100 |
| commit | ef15022857409312e2b26585ba194f9838bf1262 (patch) | |
| tree | 4db2b9cb28eb823a1aacb10eaecc41c4964e5869 /src/pages/recherche/index.tsx | |
| parent | 8bb3431fc1c545643511e586e6fa7218521b716f (diff) | |
| parent | 9226671f49b507ce6f71e6e2c3621014f05f74e9 (diff) | |
refactor: replace babel with swc
The build time will be faster with SWC.
Diffstat (limited to 'src/pages/recherche/index.tsx')
| -rw-r--r-- | src/pages/recherche/index.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pages/recherche/index.tsx b/src/pages/recherche/index.tsx index 42e45cd..b843f8d 100644 --- a/src/pages/recherche/index.tsx +++ b/src/pages/recherche/index.tsx @@ -81,12 +81,14 @@ const Search: NextPageWithLayout = () => { { defaultMessage: 'Search results for {query}', description: 'SearchPage: search results text', + id: 'VSGuGE', }, { query } ) : intl.formatMessage({ defaultMessage: 'Search', description: 'SearchPage: page title', + id: 'U+35YD', }); const description = query @@ -94,6 +96,7 @@ const Search: NextPageWithLayout = () => { { defaultMessage: 'Discover search results for {query}', description: 'SearchPage: meta description with query', + id: 'A4LTGq', }, { query } ) @@ -101,6 +104,7 @@ const Search: NextPageWithLayout = () => { { defaultMessage: 'Search for a post on {websiteName}', description: 'SearchPage: meta description without query', + id: 'PrIz5o', }, { websiteName: settings.name } ); @@ -122,6 +126,7 @@ const Search: NextPageWithLayout = () => { return intl.formatMessage({ defaultMessage: 'Failed to load.', description: 'SearchPage: failed to load text', + id: 'fOe8rH', }); if (!data) return <Spinner />; @@ -155,6 +160,7 @@ const Search: NextPageWithLayout = () => { {intl.formatMessage({ defaultMessage: 'Load more?', description: 'SearchPage: load more text', + id: 'pEtJik', })} </Button> </> @@ -165,12 +171,14 @@ const Search: NextPageWithLayout = () => { title={intl.formatMessage({ defaultMessage: 'Thematics', description: 'SearchPage: thematics list widget title', + id: 'Dq6+WH', })} /> <TopicsList title={intl.formatMessage({ defaultMessage: 'Topics', description: 'SearchPage: topics list widget title', + id: 'N804XO', })} /> </Sidebar> @@ -188,6 +196,7 @@ export const getStaticProps: GetStaticProps = async ( const breadcrumbTitle = intl.formatMessage({ defaultMessage: 'Search', description: 'SearchPage: breadcrumb item', + id: 'TfU6Qm', }); const { locale } = context; const translation = await loadTranslation(locale); |
