Post delete, Profile edit

This commit is contained in:
2024-07-27 00:54:23 +02:00
parent a515c447e0
commit 581cacb636
33 changed files with 533 additions and 238 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+125
View File
File diff suppressed because one or more lines are too long
-125
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -5,10 +5,10 @@
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-DRZup-fm.js"></script>
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-CmwTmvyQ.js"></script>
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/react-DXd9vB-a.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/mui-DQviNP-p.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/tanstack-CLt5K1Fy.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/mui-BZej3Yg3.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/tanstack-DeUNQvBN.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/i18n-DJgSTqOl.js">
<link rel="stylesheet" crossorigin href="/phpCourse/exam/dist/assets/mui-CKDNpdid.css">
<link rel="stylesheet" crossorigin href="/phpCourse/exam/dist/assets/index-D83Ey19k.css">
+29 -2
View File
@@ -2,6 +2,19 @@
"NotFound_user:login": "Benutzer existiert nicht",
"Unauthorized_login": "Ungültige E-Mail oder Passwort",
"Unauthorized_delete": "Keine Berechtigung",
"NotFound_post:delete": "Post nicht gefunden",
"Unauthorized_userUpdate": "Keine Berechtigung",
"NotFound_user:userUpdate": "Benutzer nicht gefunden",
"FailedUpdate_userUpdate": "{{name}} konnte nicht aktualisiert werden",
"username": "Benutzername",
"email": "E-Mail",
"password": "Passwort",
"image": "Bild",
"content": "Beitrag",
"GuestBook": "Gästebuch",
"Email": "E-Mail",
@@ -9,14 +22,28 @@
"Email required": "E-Mail darf nicht leer sein",
"Password required": "Passwort darf nicht leer sein",
"Username required": "Benutzername darf nicht leer sein",
"Log in": "Anmelden",
"Log out": "Abmelden",
"Profile": "Profil",
"Updating": "Aktualisiert",
"Updating": "Aktualisiert...",
"Username": "Benutzername",
"Member since": "Mitglied seit",
"Post count": "Anzahl Posts"
"Post count": "Anzahl Posts",
"Edit": "Bearbeiten",
"Delete": "Löschen",
"Save": "Speichern",
"Cancel": "Abbrechen",
"Yes": "Ja",
"No": "Nein",
"Confirm post delete title": "Diesen Post löschen?",
"Confirm post delete body": "Möchtest du diesen Post von {{name}} wirklich Löschen?",
"Deleting": "Löscht...",
"Edit data": "Daten ändern"
}
+30 -2
View File
@@ -2,6 +2,19 @@
"NotFound_user:login": "User does not exist",
"Unauthorized_login": "Invalid email or password",
"Unauthorized_delete": "Unauthorized",
"NotFound_post:delete": "Post not found",
"Unauthorized_userUpdate": "Unauthorized",
"NotFound_user:userUpdate": "User not found",
"FailedUpdate_userUpdate": "Failed to update {{name}}",
"username": "username",
"email": "email",
"password": "password",
"image": "image",
"content": "content",
"GuestBook": "GuestBook",
"Email": "Email",
@@ -9,14 +22,29 @@
"Email required": "Email required",
"Password required": "Password required",
"Username required": "Username required",
"Log in": "Log in",
"Log out": "Log out",
"Profile": "Profile",
"Updating": "Updating",
"Updating": "Updating...",
"Username": "Username",
"Member since": "Member since",
"Post count": "Post count"
"Post count": "Post count",
"Edit": "Edit",
"Delete": "Delete",
"Save": "Save",
"Cancel": "Cancel",
"Yes": "Yes",
"No": "No",
"Confirm post delete title": "Delete this post?",
"Confirm post delete body": "Do you really want to delete this post by {{name}}?",
"Deleting": "Deleting...",
"Edit data": "Edit date"
}
+1 -1
View File
File diff suppressed because one or more lines are too long