Translate UI text to Polish: update headings and messages in MovieList, Navbar, and Search components for improved localization.

This commit is contained in:
Norbert Maciaszek
2025-08-15 15:01:26 +02:00
parent 52d032d518
commit eee7899840
4 changed files with 15 additions and 17 deletions

View File

@@ -86,9 +86,9 @@ export const MovieList: FC<Props> = ({
{showFilters && (
<Dropdown
items={[
{ label: "Title", value: "title" },
{ label: "Release Date", value: "releaseDate" },
{ label: "Popularity", value: "popularity" },
{ label: "Tytuł", value: "title" },
{ label: "Data premiery", value: "releaseDate" },
{ label: "Popularność", value: "popularity" },
]}
defaultValue={filter}
callback={(value) => setFilter(value as "title")}
@@ -99,7 +99,7 @@ export const MovieList: FC<Props> = ({
</div>
)}
{filteredMovies.length === 0 && (
<p className="text-text/60 text-sm">No movies found</p>
<p className="text-text/60 text-sm">Brak filmów</p>
)}
{filteredMovies.length > 0 && (
<div