From 3f3a0587fa88e63e97fdbd417826837c45249976 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Mon, 1 Sep 2025 13:14:10 +0000 Subject: [PATCH] Update video categories to Slovenian language Translate "Meist Angesehen" to "Najbolj gledano" and "Trending Now" to "Priljubljeno zdaj" in the NetflixGrid component and update the conditional rendering for the top 10 number overlay. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8e9f2b36-ec9c-4acc-b19b-5304fa9790c5 Replit-Commit-Checkpoint-Type: full_checkpoint --- client/src/components/netflix-grid.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index e5c08eb..abf5cfa 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -54,7 +54,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) { return [ { - title: "Meist Angesehen", + title: "Najbolj gledano", videos: sortedByViews.slice(0, 10) }, ...(folxStadlVideos.length > 0 ? [{ @@ -105,7 +105,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) { })() }, { - title: "Trending Now", + title: "Priljubljeno zdaj", videos: videos.slice(0, 12) } ]; @@ -282,7 +282,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate onMouseEnter={() => setClickedVideoId(video.id)} > {/* Top 10 Number overlay for first category */} - {category.title.includes("Meist Angesehen") && index < 10 && clickedVideoId !== video.id && ( + {category.title.includes("Najbolj gledano") && index < 10 && clickedVideoId !== video.id && (