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
@@ -76,9 +76,9 @@ const AppBarContent = () => {
|
||||
|
||||
const fallbackTitle = (() => {
|
||||
const path = location.pathname;
|
||||
if (path === "/favorite") return "Favorites";
|
||||
if (path.startsWith("/music/")) return "Music";
|
||||
if (path.startsWith("/player/audio")) return "Now Playing";
|
||||
if (path === "/favorite") return "Избранное";
|
||||
if (path.startsWith("/music/")) return "Музыка";
|
||||
if (path.startsWith("/player/audio")) return "Сейчас играет";
|
||||
return "";
|
||||
})();
|
||||
const title = pageTitle || fallbackTitle;
|
||||
@@ -100,14 +100,14 @@ const AppBarContent = () => {
|
||||
data-tauri-drag-region
|
||||
style={{ gap: "0.6em" }}
|
||||
>
|
||||
<Tooltip title="Open navigation">
|
||||
<IconButton onClick={handleDrawerOpen} aria-label="Open navigation">
|
||||
<Tooltip title="Открыть меню">
|
||||
<IconButton onClick={handleDrawerOpen} aria-label="Открыть меню">
|
||||
<span className="material-symbols-rounded">menu</span>
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
<MemoizeBackButton />
|
||||
<Tooltip title="Home">
|
||||
<IconButton onClick={handleNavigateToHome} aria-label="Home">
|
||||
<Tooltip title="Главная">
|
||||
<IconButton onClick={handleNavigateToHome} aria-label="Главная">
|
||||
<span
|
||||
className={
|
||||
location.pathname === "/home"
|
||||
@@ -132,24 +132,24 @@ const AppBarContent = () => {
|
||||
data-tauri-drag-region
|
||||
style={{ gap: "0.6em" }}
|
||||
>
|
||||
<Tooltip title="Watch together">
|
||||
<Tooltip title="Смотреть вместе">
|
||||
<IconButton
|
||||
onClick={openSyncPlayDialog}
|
||||
aria-label="Watch together"
|
||||
aria-label="Смотреть вместе"
|
||||
>
|
||||
<span className="material-symbols-rounded">groups</span>
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
<CastButton />
|
||||
<Tooltip title="Search">
|
||||
<IconButton onClick={toggleSearchDialog} aria-label="Search">
|
||||
<Tooltip title="Поиск">
|
||||
<IconButton onClick={toggleSearchDialog} aria-label="Поиск">
|
||||
<span className="material-symbols-rounded">search</span>
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
<Tooltip title="Favorites">
|
||||
<Tooltip title="Избранное">
|
||||
<IconButton
|
||||
onClick={handleNavigateToFavorite}
|
||||
aria-label="Favorites"
|
||||
aria-label="Избранное"
|
||||
>
|
||||
<span className="material-symbols-rounded">favorite</span>
|
||||
</IconButton>
|
||||
|
||||
Reference in new issue
Block a user