Web app to Svelte5 (#540)
This commit is contained in:
1 parent
9eeb9fcffe
commit
c534c27ae3
35 files changed
+1724
-2331
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { tr } from "lib/Stores";
|
||||
import { translate } from "lib/Stores";
|
||||
|
||||
export let videoId: string | undefined = undefined;
|
||||
export let title: string | undefined = undefined;
|
||||
@@ -77,13 +77,13 @@
|
||||
<div
|
||||
class="absolute bottom-2 right-0 bg-black/70 text-white text-sm rounded-sm font-bold pt-1 pb-1 pr-2 pl-2"
|
||||
>
|
||||
{$tr("UPCOMING")}
|
||||
{$translate("UPCOMING")}
|
||||
</div>
|
||||
{:else if isVideoLive()}
|
||||
<div
|
||||
class="absolute bottom-2 right-0 bg-red-500 text-white text-sm rounded-sm font-bold pt-1 pb-1 pr-2 pl-2"
|
||||
>
|
||||
{$tr("LIVE")}
|
||||
{$translate("LIVE")}
|
||||
</div>
|
||||
{:else if lengthSeconds || lengthText}
|
||||
<div
|
||||
|
||||
Reference in new issue
Block a user