diff --git a/frontend/src/components/features/live-blog/LiveBlogViewer.tsx b/frontend/src/components/features/live-blog/LiveBlogViewer.tsx index bc3b24c..67d8efe 100644 --- a/frontend/src/components/features/live-blog/LiveBlogViewer.tsx +++ b/frontend/src/components/features/live-blog/LiveBlogViewer.tsx @@ -165,12 +165,12 @@ export function LiveBlogViewer({ slug, className }: LiveBlogViewerProps) { isConnected ? 'bg-green-500' : 'bg-red-500' )} /> - {isConnected ? 'Connected' : `Reconnecting... (${reconnectAttempts})`} + {isConnected ? 'Поврзано' : `Се поврзува... (${reconnectAttempts})`} )} - {liveBlog.viewCount} views - {updates.length} updates + {liveBlog.viewCount || 0} прегледи + {updates.length} ажурирања
@@ -179,7 +179,7 @@ export function LiveBlogViewer({ slug, className }: LiveBlogViewerProps) { size="sm" onClick={handleAutoScrollToggle} > - {autoScroll ? 'Auto-scroll ON' : 'Auto-scroll OFF'} + {autoScroll ? 'Авто-скрол ВКЛУЧЕН' : 'Авто-скрол ИСКЛУЧЕН'} {!isConnected && (
diff --git a/frontend/src/components/home/HeroArticle.tsx b/frontend/src/components/home/HeroArticle.tsx index 91b6ac0..2fefb55 100644 --- a/frontend/src/components/home/HeroArticle.tsx +++ b/frontend/src/components/home/HeroArticle.tsx @@ -83,7 +83,7 @@ export function HeroArticle() { {new Date(article.createdAt).toLocaleDateString('mk-MK', { day: 'numeric', - month: 'short', + month: 'long', year: 'numeric', })} @@ -98,7 +98,7 @@ export function HeroArticle() {
- {article.views} views + {article.views || 0} прегледи
@@ -132,7 +132,7 @@ export function HeroArticle() {
{(article.facebookShares || 0) + (article.twitterShares || 0) + (article.whatsappShares || 0) + (article.telegramShares || 0)} - shares + споделувања
diff --git a/frontend/src/components/routes/ArchiveComponent.tsx b/frontend/src/components/routes/ArchiveComponent.tsx index d40fc40..2085cd9 100644 --- a/frontend/src/components/routes/ArchiveComponent.tsx +++ b/frontend/src/components/routes/ArchiveComponent.tsx @@ -28,8 +28,8 @@ export function ArchiveComponent() { return (
-

Articles

-

Latest news and articles

+

Архива

+

Најнови вести и статии

@@ -53,18 +53,18 @@ export function ArchiveComponent() { )} -
-
- - {new Date(article.createdAt).toLocaleDateString('mk-MK', { - day: 'numeric', - month: 'short', - year: 'numeric', - })} - - - {article.views} views -
+
+
+ + {new Date(article.createdAt).toLocaleDateString('mk-MK', { + day: 'numeric', + month: 'long', + year: 'numeric', + })} + + + {article.views || 0} прегледи +
- Back to articles + Назад кон вести

{data.title}

@@ -63,11 +63,11 @@ export function ArticleDetailComponent({ id }: { id: string }) { })} - {data.views} views + {data.views || 0} прегледи {data.author && ( <> - By {data.author.name} + Од {data.author.name} )}
diff --git a/frontend/src/components/routes/LiveBlogsComponent.tsx b/frontend/src/components/routes/LiveBlogsComponent.tsx index c32dc17..8c6c137 100644 --- a/frontend/src/components/routes/LiveBlogsComponent.tsx +++ b/frontend/src/components/routes/LiveBlogsComponent.tsx @@ -63,13 +63,13 @@ export function LiveBlogsComponent() {
- {liveBlog.viewCount} views - {liveBlog.updates?.length || 0} updates + {liveBlog.viewCount || 0} прегледи + {liveBlog.updates?.length || 0} ажурирања
{new Date(liveBlog.createdAt).toLocaleDateString('mk-MK', { day: 'numeric', - month: 'short', + month: 'long', year: 'numeric', })}