From eee78998401483271b22a20775ade2acae4da641 Mon Sep 17 00:00:00 2001 From: Norbert Maciaszek Date: Fri, 15 Aug 2025 15:01:26 +0200 Subject: [PATCH] Translate UI text to Polish: update headings and messages in MovieList, Navbar, and Search components for improved localization. --- src/app/(withGlobalData)/page.tsx | 12 ++++++++---- src/components/molecules/MovieList/index.tsx | 8 ++++---- .../organisms/Navbar/components/Search/index.tsx | 2 +- src/components/organisms/Navbar/index.tsx | 10 ++-------- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/src/app/(withGlobalData)/page.tsx b/src/app/(withGlobalData)/page.tsx index dbe2572..78e99fd 100644 --- a/src/app/(withGlobalData)/page.tsx +++ b/src/app/(withGlobalData)/page.tsx @@ -3,15 +3,19 @@ import { MovieList } from "@/components/molecules/MovieList"; export default async function Home() { return ( <> - + - - + + ); } diff --git a/src/components/molecules/MovieList/index.tsx b/src/components/molecules/MovieList/index.tsx index 022ba99..bc104bb 100644 --- a/src/components/molecules/MovieList/index.tsx +++ b/src/components/molecules/MovieList/index.tsx @@ -86,9 +86,9 @@ export const MovieList: FC = ({ {showFilters && ( setFilter(value as "title")} @@ -99,7 +99,7 @@ export const MovieList: FC = ({ )} {filteredMovies.length === 0 && ( -

No movies found

+

Brak filmów

)} {filteredMovies.length > 0 && (
{ {total_results > 5 && (
)} diff --git a/src/components/organisms/Navbar/index.tsx b/src/components/organisms/Navbar/index.tsx index f1c6801..89054f1 100644 --- a/src/components/organisms/Navbar/index.tsx +++ b/src/components/organisms/Navbar/index.tsx @@ -3,11 +3,11 @@ import { Search } from "./components/Search"; const links = [ { - label: "My wall", + label: "O mnie", href: "/", }, { - label: "Discover", + label: "Odkryj", href: "/discover", }, ]; @@ -41,12 +41,6 @@ export const Navbar = () => {