From dfdbf6cac1fe3719dc71e130129d28e04ba4e225 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 1 Dec 2023 13:26:44 +0100 Subject: refactor(pages): refine Thematic pages * add a table of contents (however posts heading are not included) * rename posts list section title * add a useThematic hook to refresh thematic contents * add a useThematicLists hook to refresh thematics list * add a `notIn` filter in thematics list fetcher to directly remove unwanted thematics * add Cypress tests --- src/i18n/en.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/i18n/en.json') diff --git a/src/i18n/en.json b/src/i18n/en.json index 671e2b1..c449756 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -299,10 +299,6 @@ "defaultMessage": "Page not found", "description": "Error404Page: page title" }, - "LszkU6": { - "defaultMessage": "All posts in {thematicName}", - "description": "ThematicPage: posts list heading" - }, "MJLr6U": { "defaultMessage": "CV", "description": "SiteNavbar: main nav - cv link" @@ -555,6 +551,10 @@ "defaultMessage": "Reading time:", "description": "PageHeader: reading time label" }, + "jrRBeb": { + "defaultMessage": "Browse posts in {thematicName} thematic", + "description": "ThematicPage: posts list heading" + }, "kq+fzI": { "defaultMessage": "Cover of {pageTitle}", "description": "RecentPosts: card cover accessible name" @@ -627,6 +627,10 @@ "defaultMessage": "Discover search results for {query} on {websiteName}.", "description": "SearchPage: SEO - Meta description" }, + "rVoW4G": { + "defaultMessage": "Thematics are loading...", + "description": "ThematicPage: loading thematics message" + }, "s57FTB": { "defaultMessage": "Share", "description": "Article: sharing widget title" -- cgit v1.2.3