feat: localize UI and improve playback
Continuous Integration / build_web (push) Failing after 1s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

- translate the interface into Russian
- add picture-in-picture and video fit modes
- derive skip segments from Jellyfin chapter markers
- align player navigation and add a window drag region
- keep audio playback alive across routes
This commit is contained in:
1xDed committed 2026-11-30 19:19:51 +03:00
1 parent 5784036eb1
commit d9bce4de04
100 files changed
+1364 -706

No files matched your search

+20 -20
View File
@@ -41,13 +41,13 @@ export const Route = createFileRoute("/_api/search/")({
});
const CATEGORIES = [
{ label: "Movies", value: "Movie", kind: BaseItemKind.Movie },
{ label: "TV Shows", value: "Series", kind: BaseItemKind.Series },
{ label: "Episodes", value: "Episode", kind: "Episode" },
{ label: "Music", value: "MusicAlbum", kind: BaseItemKind.MusicAlbum },
{ label: "Artists", value: "MusicArtist", kind: BaseItemKind.MusicArtist },
{ label: "People", value: "Person", kind: "Person" },
{ label: "Books", value: "Book", kind: BaseItemKind.Book },
{ label: "Фильмы", value: "Movie", kind: BaseItemKind.Movie },
{ label: "Сериалы", value: "Series", kind: BaseItemKind.Series },
{ label: "Серии", value: "Episode", kind: "Episode" },
{ label: "Музыка", value: "MusicAlbum", kind: BaseItemKind.MusicAlbum },
{ label: "Исполнители", value: "MusicArtist", kind: BaseItemKind.MusicArtist },
{ label: "Люди", value: "Person", kind: "Person" },
{ label: "Книги", value: "Book", kind: BaseItemKind.Book },
];
function SearchPage() {
@@ -137,10 +137,10 @@ function SearchPage() {
fontWeight: 600,
}}
>
Explore your library
Исследуйте библиотеку
</Typography>
<Typography variant="body1" sx={{ opacity: 0.6, maxWidth: 400 }}>
Search for movies, tv shows, music, people and more.
Ищите фильмы, сериалы, музыку, людей и многое другое.
</Typography>
</Box>
</Fade>
@@ -199,16 +199,16 @@ function SearchAppBar({
<div className="flex flex-row" style={{ gap: "0.6em" }}>
<IconButton
onClick={() => setShowDrawer(true)}
aria-label="Open navigation"
title="Open navigation"
aria-label="Открыть меню"
title="Открыть меню"
>
<div className="material-symbols-rounded">menu</div>
</IconButton>
<BackButton />
<IconButton
onClick={handleNavigateToHome}
aria-label="Home"
title="Home"
aria-label="Главная"
title="Главная"
>
<div
className={
@@ -229,7 +229,7 @@ function SearchAppBar({
<span className="material-symbols-rounded search-icon">search</span>
<InputBase
className="search-input"
placeholder="Search library..."
placeholder="Поиск в библиотеке..."
fullWidth
autoFocus
value={searchTerm}
@@ -301,7 +301,7 @@ function SearchAppBar({
color="textSecondary"
sx={{ opacity: 0.7 }}
>
Types
Типы
</Typography>
);
return (
@@ -340,7 +340,7 @@ function SearchAppBar({
>
<MenuItem disabled value="">
<Typography variant="overline" color="textSecondary">
Filter by Type
Фильтр по типу
</Typography>
</MenuItem>
{CATEGORIES.map((cat) => (
@@ -355,8 +355,8 @@ function SearchAppBar({
<div className="flex flex-row" style={{ gap: "0.6em" }}>
<IconButton
onClick={handleNavigateToFavorite}
aria-label="Favorites"
title="Favorites"
aria-label="Избранное"
title="Избранное"
>
<div className="material-symbols-rounded">favorite</div>
</IconButton>
@@ -436,9 +436,9 @@ function NoResultsDetector({ categories, resultsStatus }: any) {
return (
<Fade in>
<Box className="search-no-results">
<Typography variant="h6">No results found</Typography>
<Typography variant="h6">Ничего не найдено</Typography>
<Typography variant="body2" sx={{ opacity: 0.6 }}>
Try adjusting your search or filters.
Попробуйте изменить запрос или фильтры.
</Typography>
</Box>
</Fade>