More translations
This commit is contained in:
parent
65848f094b
commit
95555a30a5
File diff suppressed because one or more lines are too long
2
exam/dist/index.html
vendored
2
exam/dist/index.html
vendored
@ -5,7 +5,7 @@
|
|||||||
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
|
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Vite + React + TS</title>
|
<title>Vite + React + TS</title>
|
||||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-CCiAEYtb.js"></script>
|
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-BU5osPLH.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
6
exam/dist/locales/de/translation.json
vendored
6
exam/dist/locales/de/translation.json
vendored
@ -1,10 +1,16 @@
|
|||||||
{
|
{
|
||||||
|
"": "",
|
||||||
"NotFound_user:login": "Benutzer existiert nicht",
|
"NotFound_user:login": "Benutzer existiert nicht",
|
||||||
"Unauthorized:login": "Ungültige E-mail oder Passwort",
|
"Unauthorized:login": "Ungültige E-mail oder Passwort",
|
||||||
|
|
||||||
"GuestBook": "Gästebuch",
|
"GuestBook": "Gästebuch",
|
||||||
|
|
||||||
"E-Mail": "E-Mail",
|
"E-Mail": "E-Mail",
|
||||||
"Password": "Passwort",
|
"Password": "Passwort",
|
||||||
|
|
||||||
|
"E-Mail required": "E-mail darf nicht leer sein",
|
||||||
|
"Password required": "Passwort darf nicht leer sein",
|
||||||
|
|
||||||
"Log in": "Anmelden",
|
"Log in": "Anmelden",
|
||||||
"Log out": "Abmelden",
|
"Log out": "Abmelden",
|
||||||
"Profile": "Profil"
|
"Profile": "Profil"
|
||||||
|
|||||||
7
exam/dist/locales/en/translation.json
vendored
7
exam/dist/locales/en/translation.json
vendored
@ -1,10 +1,17 @@
|
|||||||
{
|
{
|
||||||
|
"": "",
|
||||||
|
|
||||||
"NotFound_user:login": "User does not exist",
|
"NotFound_user:login": "User does not exist",
|
||||||
"Unauthorized:login": "Invalid e-mail or password",
|
"Unauthorized:login": "Invalid e-mail or password",
|
||||||
|
|
||||||
"GuestBook": "GuestBook",
|
"GuestBook": "GuestBook",
|
||||||
|
|
||||||
"E-Mail": "E-Mail",
|
"E-Mail": "E-Mail",
|
||||||
"Password": "Password",
|
"Password": "Password",
|
||||||
|
|
||||||
|
"E-Mail required": "E-mail required",
|
||||||
|
"Password required": "Password required",
|
||||||
|
|
||||||
"Log in": "Log in",
|
"Log in": "Log in",
|
||||||
"Log out": "Log out",
|
"Log out": "Log out",
|
||||||
"Profile": "Profile"
|
"Profile": "Profile"
|
||||||
|
|||||||
@ -1,10 +1,16 @@
|
|||||||
{
|
{
|
||||||
|
"": "",
|
||||||
"NotFound_user:login": "Benutzer existiert nicht",
|
"NotFound_user:login": "Benutzer existiert nicht",
|
||||||
"Unauthorized:login": "Ungültige E-mail oder Passwort",
|
"Unauthorized:login": "Ungültige E-mail oder Passwort",
|
||||||
|
|
||||||
"GuestBook": "Gästebuch",
|
"GuestBook": "Gästebuch",
|
||||||
|
|
||||||
"E-Mail": "E-Mail",
|
"E-Mail": "E-Mail",
|
||||||
"Password": "Passwort",
|
"Password": "Passwort",
|
||||||
|
|
||||||
|
"E-Mail required": "E-mail darf nicht leer sein",
|
||||||
|
"Password required": "Passwort darf nicht leer sein",
|
||||||
|
|
||||||
"Log in": "Anmelden",
|
"Log in": "Anmelden",
|
||||||
"Log out": "Abmelden",
|
"Log out": "Abmelden",
|
||||||
"Profile": "Profil"
|
"Profile": "Profil"
|
||||||
|
|||||||
@ -1,10 +1,17 @@
|
|||||||
{
|
{
|
||||||
|
"": "",
|
||||||
|
|
||||||
"NotFound_user:login": "User does not exist",
|
"NotFound_user:login": "User does not exist",
|
||||||
"Unauthorized:login": "Invalid e-mail or password",
|
"Unauthorized:login": "Invalid e-mail or password",
|
||||||
|
|
||||||
"GuestBook": "GuestBook",
|
"GuestBook": "GuestBook",
|
||||||
|
|
||||||
"E-Mail": "E-Mail",
|
"E-Mail": "E-Mail",
|
||||||
"Password": "Password",
|
"Password": "Password",
|
||||||
|
|
||||||
|
"E-Mail required": "E-mail required",
|
||||||
|
"Password required": "Password required",
|
||||||
|
|
||||||
"Log in": "Log in",
|
"Log in": "Log in",
|
||||||
"Log out": "Log out",
|
"Log out": "Log out",
|
||||||
"Profile": "Profile"
|
"Profile": "Profile"
|
||||||
|
|||||||
@ -41,7 +41,7 @@ const Login: FC = () => {
|
|||||||
<form.Field
|
<form.Field
|
||||||
name="email"
|
name="email"
|
||||||
validators={{
|
validators={{
|
||||||
onChange: ({ value }) => (!value ? 'Email required' : undefined),
|
onChange: ({ value }) => (!value ? t('Email required') : undefined),
|
||||||
onChangeAsyncDebounceMs: 500,
|
onChangeAsyncDebounceMs: 500,
|
||||||
onChangeAsync: async ({ value }) => {
|
onChangeAsync: async ({ value }) => {
|
||||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||||
@ -70,7 +70,7 @@ const Login: FC = () => {
|
|||||||
<form.Field
|
<form.Field
|
||||||
name="password"
|
name="password"
|
||||||
validators={{
|
validators={{
|
||||||
onChange: ({ value }) => (!value ? 'Password required' : undefined),
|
onChange: ({ value }) => (!value ? t('Password required') : undefined),
|
||||||
onChangeAsyncDebounceMs: 500,
|
onChangeAsyncDebounceMs: 500,
|
||||||
onChangeAsync: async ({ value }) => {
|
onChangeAsync: async ({ value }) => {
|
||||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user