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
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:
1 parent
5784036eb1
commit
d9bce4de04
100 files changed
+1364
-706
No files matched your search
@@ -24,7 +24,7 @@ const UpcomingEpisodes = ({ episode }: { episode: BaseItemDto }) => {
|
||||
if (!upcomingEpisodes.data?.Items?.length) return null;
|
||||
|
||||
return (
|
||||
<CardScroller title="Upcoming Episodes" displayCards={4} disableDecoration>
|
||||
<CardScroller title="Будущие серии" displayCards={4} disableDecoration>
|
||||
{upcomingEpisodes.data.Items.map((upcoming) => (
|
||||
<Card
|
||||
key={upcoming.Id}
|
||||
|
||||
@@ -53,19 +53,19 @@ const PersonView = ({ item }: { item: BaseItemDto }) => {
|
||||
<>
|
||||
{item.PremiereDate && (
|
||||
<div>
|
||||
<Typography variant="h6">Birth</Typography>
|
||||
<Typography variant="h6">Дата рождения</Typography>
|
||||
<Typography variant="subtitle1" sx={{ opacity: 0.8 }}>
|
||||
{new Date(item.PremiereDate).toDateString()}
|
||||
{new Date(item.PremiereDate).toLocaleDateString("ru-RU")}
|
||||
</Typography>
|
||||
</div>
|
||||
)}
|
||||
{item.EndDate && (
|
||||
<div>
|
||||
<Typography variant="h6" sx={{ mt: 2 }}>
|
||||
Death
|
||||
Дата смерти
|
||||
</Typography>
|
||||
<Typography variant="subtitle2" sx={{ opacity: 0.8 }}>
|
||||
{new Date(item.EndDate).toDateString()}
|
||||
{new Date(item.EndDate).toLocaleDateString("ru-RU")}
|
||||
</Typography>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -36,7 +36,7 @@ import ItemDetailLayout, { ExternalLinks } from "../itemDetailLayout";
|
||||
import SimilarItems from "../similarItems";
|
||||
|
||||
const getEpisodeDateString = (date: Date) =>
|
||||
new Intl.DateTimeFormat(navigator.language ?? "en-US", {
|
||||
new Intl.DateTimeFormat("ru-RU", {
|
||||
dateStyle: "full",
|
||||
}).format(date);
|
||||
|
||||
@@ -339,7 +339,7 @@ const SeriesView = ({ item }: { item: BaseItemDto }) => {
|
||||
<CastAndCrew people={item.People} api={api} />
|
||||
{(specialFeatures.data?.length ?? 0) > 0 && (
|
||||
<CardScroller
|
||||
title="Special Features"
|
||||
title="Дополнительные материалы"
|
||||
displayCards={7}
|
||||
disableDecoration
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user