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
This commit is contained in:
parent
d08188e48f
commit
3f3a0587fa
@ -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 && (
|
||||
<div className="absolute top-0 left-2 z-20 text-white font-black text-4xl sm:text-5xl md:text-7xl drop-shadow-2xl transition-opacity duration-300"
|
||||
style={{
|
||||
textShadow: '4px 4px 8px rgba(0,0,0,0.8), -2px -2px 4px rgba(0,0,0,0.6)',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user