More translations
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
{
|
||||
"": "",
|
||||
"NotFound_user:login": "Benutzer existiert nicht",
|
||||
"Unauthorized:login": "Ungültige E-mail oder Passwort",
|
||||
|
||||
"GuestBook": "Gästebuch",
|
||||
|
||||
"E-Mail": "E-Mail",
|
||||
"Password": "Passwort",
|
||||
|
||||
"E-Mail required": "E-mail darf nicht leer sein",
|
||||
"Password required": "Passwort darf nicht leer sein",
|
||||
|
||||
"Log in": "Anmelden",
|
||||
"Log out": "Abmelden",
|
||||
"Profile": "Profil"
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
{
|
||||
"": "",
|
||||
|
||||
"NotFound_user:login": "User does not exist",
|
||||
"Unauthorized:login": "Invalid e-mail or password",
|
||||
|
||||
"GuestBook": "GuestBook",
|
||||
|
||||
"E-Mail": "E-Mail",
|
||||
"Password": "Password",
|
||||
|
||||
"E-Mail required": "E-mail required",
|
||||
"Password required": "Password required",
|
||||
|
||||
"Log in": "Log in",
|
||||
"Log out": "Log out",
|
||||
"Profile": "Profile"
|
||||
|
||||
@@ -41,7 +41,7 @@ const Login: FC = () => {
|
||||
<form.Field
|
||||
name="email"
|
||||
validators={{
|
||||
onChange: ({ value }) => (!value ? 'Email required' : undefined),
|
||||
onChange: ({ value }) => (!value ? t('Email required') : undefined),
|
||||
onChangeAsyncDebounceMs: 500,
|
||||
onChangeAsync: async ({ value }) => {
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||
@@ -70,7 +70,7 @@ const Login: FC = () => {
|
||||
<form.Field
|
||||
name="password"
|
||||
validators={{
|
||||
onChange: ({ value }) => (!value ? 'Password required' : undefined),
|
||||
onChange: ({ value }) => (!value ? t('Password required') : undefined),
|
||||
onChangeAsyncDebounceMs: 500,
|
||||
onChangeAsync: async ({ value }) => {
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||
|
||||
Reference in New Issue
Block a user