From c4ab56095ec0f67b19bb5a8e81274062432e9d0d Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 9 Feb 2026 19:46:11 +0000 Subject: [PATCH] strings --- client/src/Pages/Account/EditUser/index.tsx | 9 ++++-- client/src/Pages/Auth/Register/index.tsx | 12 +++---- client/src/locales/en.json | 36 +++++++++++++-------- 3 files changed, 35 insertions(+), 22 deletions(-) diff --git a/client/src/Pages/Account/EditUser/index.tsx b/client/src/Pages/Account/EditUser/index.tsx index cd06581ed..b596bcd32 100644 --- a/client/src/Pages/Account/EditUser/index.tsx +++ b/client/src/Pages/Account/EditUser/index.tsx @@ -27,19 +27,22 @@ const EditUserPage = () => { rightContent={ setFirstName(e.target.value)} autoComplete="given-name" /> setLastName(e.target.value)} autoComplete="family-name" /> diff --git a/client/src/Pages/Auth/Register/index.tsx b/client/src/Pages/Auth/Register/index.tsx index 80cee579f..75d27649f 100644 --- a/client/src/Pages/Auth/Register/index.tsx +++ b/client/src/Pages/Auth/Register/index.tsx @@ -86,8 +86,8 @@ const RegisterPage = () => { render={({ field, fieldState }) => ( @@ -99,8 +99,8 @@ const RegisterPage = () => { render={({ field, fieldState }) => ( @@ -113,8 +113,8 @@ const RegisterPage = () => { diff --git a/client/src/locales/en.json b/client/src/locales/en.json index 69684af6a..8704450a2 100644 --- a/client/src/locales/en.json +++ b/client/src/locales/en.json @@ -237,6 +237,28 @@ "resolved": "Resolved", "responseTime": "Response time" }, + "form": { + "name": { + "option": { + "firstName": { + "label": "First name", + "placeholder": "Enter your first name" + }, + "lastName": { + "label": "Last name", + "placeholder": "Enter your last name" + } + } + }, + "email": { + "option": { + "email": { + "label": "Email", + "placeholder": "you@example.com" + } + } + } + }, "table": { "empty": "Nothing here", "headers": { @@ -634,19 +656,7 @@ "register": { "title": "Welcome back to Checkmate!", "subtitle": "Sign up to get started", - "submit": "Register", - "form": { - "option": { - "name": { - "label": "Name", - "placeholder": "Your name" - }, - "surname": { - "label": "Surname", - "placeholder": "Your surname" - } - } - } + "submit": "Register" }, "forgotPassword": { "title": "Forgot your password?",