diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx
index 7b35c77..742d136 100644
--- a/client/src/pages/VideoPage.tsx
+++ b/client/src/pages/VideoPage.tsx
@@ -24,7 +24,7 @@ const formatDuration = (seconds: number): string => {
const formatDate = (date: Date | string): string => {
const d = typeof date === 'string' ? new Date(date) : date;
- return d.toLocaleDateString('en-US', {
+ return d.toLocaleDateString('de-DE', {
year: 'numeric',
month: 'long',
day: 'numeric'
@@ -171,7 +171,7 @@ export default function VideoPage() {
try {
await navigator.clipboard.writeText(getShareUrl());
const notification = document.createElement('div');
- notification.textContent = 'Link copied!';
+ notification.textContent = 'Link kopiert!';
notification.className = 'fixed top-4 right-4 bg-green-500 text-white px-4 py-2 rounded-lg z-50 transition-opacity duration-300';
document.body.appendChild(notification);
setTimeout(() => {
@@ -187,7 +187,7 @@ export default function VideoPage() {
if (videoLoading) {
return (
-
Nalagam video...
+
Video wird geladen...
);
}
@@ -195,7 +195,7 @@ export default function VideoPage() {
if (!currentVideo) {
return (
-
Video not found
+
Video nicht gefunden
);
}
@@ -222,7 +222,7 @@ export default function VideoPage() {
) : (
-
Video description not available.
+
Videobeschreibung nicht verfügbar.
)}
@@ -531,7 +531,7 @@ export default function VideoPage() {
{video.title}
-
{formatViews(video.views)} views • {formatDate(video.createdAt)}
+
{formatViews(video.views)} Aufrufe • {formatDate(video.createdAt)}