diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index ce9bbf0..7b35c77 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('de-DE', { + return d.toLocaleDateString('en-US', { 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 kopiert!'; + notification.textContent = 'Link copied!'; 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 (
-
Video wird geladen...
+
Nalagam video...
); } @@ -195,7 +195,7 @@ export default function VideoPage() { if (!currentVideo) { return (
-
Video nicht gefunden
+
Video not found
); } @@ -222,7 +222,7 @@ export default function VideoPage() {
)} @@ -466,7 +466,7 @@ export default function VideoPage() {
- {formatViews(currentVideo.views)} Aufrufe + {formatViews(currentVideo.views)} views {formatDuration(currentVideo.duration)} {formatDate(currentVideo.createdAt)}
@@ -479,7 +479,7 @@ export default function VideoPage() { ) : (
-

Videobeschreibung nicht verfügbar.

+

Video description not available.

)} @@ -531,7 +531,7 @@ export default function VideoPage() { {video.title}
-
{formatViews(video.views)} Aufrufe • {formatDate(video.createdAt)}
+
{formatViews(video.views)} views • {formatDate(video.createdAt)}