From 11e3ee75fcab0ab54b2bc1713a402c5cc3070c2d Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 1 Dec 2023 17:59:30 +0100 Subject: refactor(pages): refine Topic pages * add useTopic and useTopicsList hooks to refresh data * add a table of contents * add Cypress tests --- src/i18n/en.json | 12 ++++++++---- src/i18n/fr.json | 14 +++++++++----- 2 files changed, 17 insertions(+), 9 deletions(-) (limited to 'src/i18n') diff --git a/src/i18n/en.json b/src/i18n/en.json index c449756..f760860 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -499,6 +499,10 @@ "defaultMessage": "Popularity:", "description": "ProjectOverview: popularity label" }, + "d+DOFQ": { + "defaultMessage": "Browse posts in {topicName} topic", + "description": "TopicPage: posts list heading" + }, "dDwm38": { "defaultMessage": "{website} picture", "description": "SiteBranding: photo alternative text" @@ -667,6 +671,10 @@ "defaultMessage": "Settings", "description": "SiteNavbar: settings modal title in navbar" }, + "uUIgCr": { + "defaultMessage": "Topics are loading...", + "description": "TopicPage: loading topics message" + }, "uZj4QI": { "defaultMessage": "Cancel reply", "description": "CommentsList: cancel reply button" @@ -699,10 +707,6 @@ "defaultMessage": "Message:", "description": "ContactForm: message label" }, - "zEN3fd": { - "defaultMessage": "All posts in {topicName}", - "description": "TopicPage: posts list heading" - }, "zbzlb1": { "defaultMessage": "Page {number}", "description": "BlogPage: page number" diff --git a/src/i18n/fr.json b/src/i18n/fr.json index 9e5754a..9a098fc 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -32,7 +32,7 @@ "description": "MotionToggle: reduce motion label" }, "/sRqPT": { - "defaultMessage": "Thématiques liées", + "defaultMessage": "Thématiques connexes", "description": "TopicPage: related thematics list widget title" }, "/unaGZ": { @@ -499,6 +499,10 @@ "defaultMessage": "Popularité :", "description": "ProjectOverview: popularity label" }, + "d+DOFQ": { + "defaultMessage": "Parcourir les articles au sujet de {topicName}", + "description": "TopicPage: posts list heading" + }, "dDwm38": { "defaultMessage": "Photo d’{website}", "description": "SiteBranding: photo alternative text" @@ -667,6 +671,10 @@ "defaultMessage": "Réglages", "description": "SiteNavbar: settings modal title in navbar" }, + "uUIgCr": { + "defaultMessage": "Les sujets sont en cours de chargement…", + "description": "TopicPage: loading topics message" + }, "uZj4QI": { "defaultMessage": "Annuler la réponse", "description": "CommentsList: cancel reply button" @@ -699,10 +707,6 @@ "defaultMessage": "Message :", "description": "ContactForm: message label" }, - "zEN3fd": { - "defaultMessage": "Tous les articles dans {topicName}", - "description": "TopicPage: posts list heading" - }, "zbzlb1": { "defaultMessage": "Page {number}", "description": "BlogPage: page number" -- cgit v1.2.3