diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-10-04 18:17:35 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-11 18:14:41 +0100 |
| commit | be61ffb6fe500cdbfa83b9cd131b8e72779f23c2 (patch) | |
| tree | 9ac57f4fac173e13c0a461d75a206819be4f3c6f /src/i18n | |
| parent | a724b4b38bacc631410627395b0d1190a0e8de0d (diff) | |
refactor(components): rewrite BackToTop component
* replace `link` prop with `anchor` prop
* add a `label` prop to let consumer handle the accessible name
Diffstat (limited to 'src/i18n')
| -rw-r--r-- | src/i18n/en.json | 8 | ||||
| -rw-r--r-- | src/i18n/fr.json | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/i18n/en.json b/src/i18n/en.json index e50be99..cf1526b 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -299,6 +299,10 @@ "defaultMessage": "{postsCount, plural, =0 {No articles} one {# article} other {# articles}}", "description": "BlogPage: posts count meta" }, + "OHvb01": { + "defaultMessage": "Back to top", + "description": "SiteFooter: an accessible name for the back to top button" + }, "OI0N37": { "defaultMessage": "Written by:", "description": "Meta: author label" @@ -543,10 +547,6 @@ "defaultMessage": "Use Ctrl+c to copy", "description": "usePrism: copy button error text" }, - "m+SUSR": { - "defaultMessage": "Back to top", - "description": "BackToTop: link text" - }, "nGss/j": { "defaultMessage": "Ackee tracking (analytics)", "description": "AckeeToggle: tooltip title" diff --git a/src/i18n/fr.json b/src/i18n/fr.json index 4e10be0..a3b21b8 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -299,6 +299,10 @@ "defaultMessage": "{postsCount, plural, =0 {0 article} one {# article} other {# articles}}", "description": "BlogPage: posts count meta" }, + "OHvb01": { + "defaultMessage": "Retour en haut de page", + "description": "SiteFooter: an accessible name for the back to top button" + }, "OI0N37": { "defaultMessage": "Écrit par :", "description": "Meta: author label" @@ -543,10 +547,6 @@ "defaultMessage": "Utilisez Ctrl+c pour copier", "description": "usePrism: copy button error text" }, - "m+SUSR": { - "defaultMessage": "Retour en haut de page", - "description": "BackToTop: link text" - }, "nGss/j": { "defaultMessage": "Suivi Ackee (analytique)", "description": "AckeeToggle: tooltip title" |
