diff --git a/materialious/src/lib/components/player/Player.svelte b/materialious/src/lib/components/player/Player.svelte index e1a316f2..b41070c2 100644 --- a/materialious/src/lib/components/player/Player.svelte +++ b/materialious/src/lib/components/player/Player.svelte @@ -27,7 +27,7 @@ playerProxyVideosStore, playerSavePlaybackPositionStore, playerState, - playertheatreModeIsActive, + playerTheatreModeIsActive, playerYouTubeJsFallback, rawMasterKeyStore, sponsorBlockCategoriesStore, @@ -113,7 +113,7 @@ step: 0.01 }); - playertheatreModeIsActive.subscribe(async () => { + playerTheatreModeIsActive.subscribe(async () => { await tick(); updateVideoPlayerHeight(); }); diff --git a/materialious/src/lib/i18n/locales/en.json b/materialious/src/lib/i18n/locales/en.json index 7136e653..00663fe0 100644 --- a/materialious/src/lib/i18n/locales/en.json +++ b/materialious/src/lib/i18n/locales/en.json @@ -77,11 +77,6 @@ "newest": "Newest", "oldest": "Oldest", "popular": "Popular", - "syncParty": { - "userJoined": "User joined your watch party.", - "userLeft": "User left your watch party.", - "userOnPrivatePage": "User currently viewing a private page, syncing will resume shorty." - }, "videoTabs": { "all": "All", "videos": "Videos", @@ -90,6 +85,9 @@ "shorts": "Shorts", "streams": "Streams" }, + "watchParty": { + "start": "Start a watch party" + }, "subscriptions": { "manageSubscriptions": "Manage subscriptions" }, @@ -167,13 +165,8 @@ "interface": "Interface", "star": "Star us on Github!", "engine": "Backend engine", - "syncParty": "Sync party", "about": "About", "materialiousAccount": "Account", - "syncPartyWarning": "Please note your IP will be visible to users you invite.", - "startSyncParty": "Start sync party", - "endSyncParty": "End sync party", - "joinSyncParty": "Enter sync party URL", "shareURL": "Share URL", "notifications": "Notifications", "noNewNotifications": "No new notifications here", diff --git a/materialious/src/lib/store.ts b/materialious/src/lib/store.ts index 0000eed1..eed39c50 100644 --- a/materialious/src/lib/store.ts +++ b/materialious/src/lib/store.ts @@ -187,7 +187,7 @@ export interface PlayerState { } export const playerState: Writable = writable(undefined); -export const playertheatreModeIsActive = writable(false); +export const playerTheatreModeIsActive = writable(false); export const returnYtDislikesStore = persist(writable(false), createStorage(), 'returnYtDislikes'); export const returnYTDislikesInstanceStore: Writable = persist( diff --git a/materialious/src/routes/(app)/+layout.svelte b/materialious/src/routes/(app)/+layout.svelte index 06c29d38..5fba828d 100644 --- a/materialious/src/routes/(app)/+layout.svelte +++ b/materialious/src/routes/(app)/+layout.svelte @@ -18,7 +18,7 @@ interfaceDefaultPage, isAndroidTvStore, playerState, - playertheatreModeIsActive, + playerTheatreModeIsActive, rawMasterKeyStore, themeColorStore, backendInUseStore, @@ -160,7 +160,7 @@ id="left-nav" class="left m l surface-container" class:tv-nav={$isAndroidTvStore} - class:hide={$playertheatreModeIsActive} + class:hide={$playerTheatreModeIsActive} >
@@ -202,7 +202,7 @@ {#if !$isAndroidTvStore}