diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-12-01 13:26:44 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-12-01 17:23:19 +0100 |
| commit | dfdbf6cac1fe3719dc71e130129d28e04ba4e225 (patch) | |
| tree | f865bdad53cef95bdfb10fc04174a0173ab36f15 /src/i18n | |
| parent | 5b762b1b669454a89899c4bdf6008027d9615acf (diff) | |
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
Diffstat (limited to 'src/i18n')
| -rw-r--r-- | src/i18n/en.json | 12 | ||||
| -rw-r--r-- | src/i18n/fr.json | 14 |
2 files changed, 17 insertions, 9 deletions
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" diff --git a/src/i18n/fr.json b/src/i18n/fr.json index c8b4058..9e5754a 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -16,7 +16,7 @@ "description": "BlogPage: SEO - Page title" }, "/42Z0z": { - "defaultMessage": "Sujets liés", + "defaultMessage": "Sujets connexes", "description": "ThematicPage: related topics list widget title" }, "/EfcyW": { @@ -299,10 +299,6 @@ "defaultMessage": "Page non trouvée", "description": "Error404Page: page title" }, - "LszkU6": { - "defaultMessage": "Tous les articles dans {thematicName}", - "description": "ThematicPage: posts list heading" - }, "MJLr6U": { "defaultMessage": "CV", "description": "SiteNavbar: main nav - cv link" @@ -555,6 +551,10 @@ "defaultMessage": "Temps de lecture :", "description": "PageHeader: reading time label" }, + "jrRBeb": { + "defaultMessage": "Parcourir les articles de la thématique {thematicName}", + "description": "ThematicPage: posts list heading" + }, "kq+fzI": { "defaultMessage": "Illustration de {pageTitle}", "description": "RecentPosts: card cover accessible name" @@ -627,6 +627,10 @@ "defaultMessage": "Découvrez les résultats de recherche pour {query} sur {websiteName}.", "description": "SearchPage: SEO - Meta description" }, + "rVoW4G": { + "defaultMessage": "Les thématiques sont en cours de chargement…", + "description": "ThematicPage: loading thematics message" + }, "s57FTB": { "defaultMessage": "Partager", "description": "Article: sharing widget title" |
