diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-11-04 19:26:16 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-11 18:15:27 +0100 |
| commit | 2771de88f40a5f4ed7480bd8614532dda72deeda (patch) | |
| tree | ed4d1b9ee3f6322817efa2d1b1113c247367a12a /src/i18n | |
| parent | c4a561c333f6f82678efcffef5ce3ed0f8e322f4 (diff) | |
refactor(components): rewrite CommentForm component
* remove `Notice` prop to handle it directly in the form
* replace `saveComment` prop with `onSubmit`
* use `useForm` hook to handle the form
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 f5e9024..ebeed8b 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -507,10 +507,6 @@ "defaultMessage": "Main navigation", "description": "Layout: main nav accessible name" }, - "dz2kDV": { - "defaultMessage": "Comment form", - "description": "CommentForm: aria label" - }, "f0Z/Po": { "defaultMessage": "Updated on:", "description": "Summary: update date label" @@ -583,6 +579,10 @@ "defaultMessage": "Leave a comment", "description": "PageLayout: comment form title" }, + "l+Jcf6": { + "defaultMessage": "Comment form", + "description": "PageLayout: comment form accessible name" + }, "lHkta9": { "defaultMessage": "Total:", "description": "ThematicPage: total label" diff --git a/src/i18n/fr.json b/src/i18n/fr.json index 9474129..fa2a65f 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -507,10 +507,6 @@ "defaultMessage": "Navigation principale", "description": "Layout: main nav accessible name" }, - "dz2kDV": { - "defaultMessage": "Formulaire des commentaires", - "description": "CommentForm: aria label" - }, "f0Z/Po": { "defaultMessage": "Mis à jour le :", "description": "Summary: update date label" @@ -583,6 +579,10 @@ "defaultMessage": "Laisser un commentaire", "description": "PageLayout: comment form title" }, + "l+Jcf6": { + "defaultMessage": "Formulaire des commentaires", + "description": "PageLayout: comment form accessible name" + }, "lHkta9": { "defaultMessage": "Total :", "description": "ThematicPage: total label" |
