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,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { PlayletApi } from "lib/Api/PlayletApi";
|
||||
import { playletStateStore, tr } from "lib/Stores";
|
||||
import { playletStateStore, translate } from "lib/Stores";
|
||||
import ChannelThumbnail from "./ChannelThumbnail.svelte";
|
||||
|
||||
export let author: string | undefined = undefined;
|
||||
@@ -47,16 +47,18 @@
|
||||
<div class="flex flex-col">
|
||||
<div class="join join-vertical m-2">
|
||||
<button class="btn join-item hover:btn-accent" on:click={openOnTv}>
|
||||
{$tr("Open on %1").replace("%1", tvName)}
|
||||
{$translate("Open on %1").replace("%1", tvName)}
|
||||
</button>
|
||||
<button class="btn join-item hover:btn-accent" on:click={openInvidious}>
|
||||
{$tr("Open in Invidious")}
|
||||
{$translate("Open in Invidious")}
|
||||
</button>
|
||||
<button class="btn join-item hover:btn-accent">{$tr("Cancel")}</button>
|
||||
<button class="btn join-item hover:btn-accent"
|
||||
>{$translate("Cancel")}</button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<form method="dialog" class="modal-backdrop">
|
||||
<button>{$tr("Close")}</button>
|
||||
<button>{$translate("Close")}</button>
|
||||
</form>
|
||||
</dialog>
|
||||
Reference in new issue
Block a user