From ce4a18899f24ba89b63ef743476ec0dbf1999ecf Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 3 Nov 2023 23:03:06 +0100 Subject: refactor(components): rewrite SearchForm component * remove searchPage prop (the consumer should handle the submit) * change onSubmit type * use `useForm` hook to handle the form --- src/i18n/en.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/i18n/en.json') diff --git a/src/i18n/en.json b/src/i18n/en.json index 4b7e756..4af656b 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -195,6 +195,14 @@ "defaultMessage": "Failed to load.", "description": "BlogPage: failed to load text" }, + "C2YcUJ": { + "defaultMessage": "Query must be longer than one character.", + "description": "Layout: invalid query message" + }, + "C6oK7h": { + "defaultMessage": "Query must be longer than one character.", + "description": "404Page: invalid query message" + }, "CvOqoh": { "defaultMessage": "Thematics:", "description": "ArticlePage: thematics meta label" @@ -411,6 +419,10 @@ "defaultMessage": "Send", "description": "ContactForm: send button" }, + "VkfO7t": { + "defaultMessage": "Query must be longer than one character.", + "description": "NoResults: invalid query message" + }, "Vmj5cw": { "defaultMessage": "It is now awaiting moderation.", "description": "PageLayout: comment awaiting moderation" -- cgit v1.2.3