strings
This commit is contained in:
1 parent
550d5cc555
commit
c4ab56095e
3 files changed
+35
-22
No files matched your search
@@ -27,19 +27,22 @@ const EditUserPage = () => {
|
||||
rightContent={
|
||||
<Stack gap={theme.spacing(8)}>
|
||||
<TextField
|
||||
fieldLabel={t("editUserPage.form.firstName")}
|
||||
fieldLabel={t("common.form.name.option.firstName.label")}
|
||||
placeholder={t("common.form.name.option.firstName.placeholder")}
|
||||
value={firstName}
|
||||
onChange={(e) => setFirstName(e.target.value)}
|
||||
autoComplete="given-name"
|
||||
/>
|
||||
<TextField
|
||||
fieldLabel={t("editUserPage.form.lastName")}
|
||||
fieldLabel={t("common.form.name.option.lastName.label")}
|
||||
placeholder={t("common.form.name.option.lastName.placeholder")}
|
||||
value={lastName}
|
||||
onChange={(e) => setLastName(e.target.value)}
|
||||
autoComplete="family-name"
|
||||
/>
|
||||
<TextField
|
||||
fieldLabel={t("editUserPage.form.email")}
|
||||
fieldLabel={t("common.form.email.option.email.label")}
|
||||
placeholder={t("common.form.email.option.email.placeholder")}
|
||||
value={email}
|
||||
disabled
|
||||
/>
|
||||
|
||||
@@ -86,8 +86,8 @@ const RegisterPage = () => {
|
||||
render={({ field, fieldState }) => (
|
||||
<TextField
|
||||
{...field}
|
||||
fieldLabel={t("pages.auth.register.form.option.name.label")}
|
||||
placeholder={t("pages.auth.register.form.option.name.placeholder")}
|
||||
fieldLabel={t("common.form.name.option.firstName.label")}
|
||||
placeholder={t("common.form.name.option.firstName.placeholder")}
|
||||
error={!!fieldState.error}
|
||||
helperText={fieldState.error?.message ?? ""}
|
||||
/>
|
||||
@@ -99,8 +99,8 @@ const RegisterPage = () => {
|
||||
render={({ field, fieldState }) => (
|
||||
<TextField
|
||||
{...field}
|
||||
fieldLabel={t("pages.auth.register.form.option.surname.label")}
|
||||
placeholder={t("pages.auth.register.form.option.surname.placeholder")}
|
||||
fieldLabel={t("common.form.name.option.lastName.label")}
|
||||
placeholder={t("common.form.name.option.lastName.placeholder")}
|
||||
error={!!fieldState.error}
|
||||
helperText={fieldState.error?.message ?? ""}
|
||||
/>
|
||||
@@ -113,8 +113,8 @@ const RegisterPage = () => {
|
||||
<TextField
|
||||
{...field}
|
||||
disabled={!!token}
|
||||
fieldLabel={t("pages.auth.common.form.option.email.label")}
|
||||
placeholder={t("pages.auth.common.form.option.email.placeholder")}
|
||||
fieldLabel={t("common.form.email.option.email.label")}
|
||||
placeholder={t("common.form.email.option.email.placeholder")}
|
||||
error={!!fieldState.error}
|
||||
helperText={fieldState.error?.message ?? ""}
|
||||
/>
|
||||
|
||||
+23
-13
@@ -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?",
|
||||
|
||||
Reference in new issue
Block a user