The next-generation file converter. Open source, fully local* and free forever.
fix: move vertd instance info
JovannMC7bccdefd9373
diff --git a/messages/en.json b/messages/en.jsonindex 3633ee7..1f90346 100644--- a/messages/en.json+++ b/messages/en.json@@ -312,8 +312,9 @@"title": "Video conversion server","status": "status:","loading": "loading...",- "available": "available, size limit {sizeLimit}, commit id {commitId}",+ "available": "available","unavailable": "unavailable (is the url right?)",+ "info": "size limit: {sizeLimit}, commit id: {commitId}","description": {"main": "VERT converts videos securely by doing it locally in your browser; however some specific conversions may require connecting to, and using a <code>vertd</code> server. <code>vertd</code> allows you to convert videos using the server's GPU, and without the conversion limits of your browser, whilst still allowing you the convenience of VERT's web interface.","info": "We host a public server for vertd for your convenience, but it is quite easy to host your own on your PC or server if you know what you are doing.",diff --git a/src/lib/sections/settings/Vertd.svelte b/src/lib/sections/settings/Vertd.svelteindex 8167314..a7c29af 100644--- a/src/lib/sections/settings/Vertd.svelte+++ b/src/lib/sections/settings/Vertd.svelte@@ -81,10 +81,7 @@{vertdCommit? vertdCommit === "loading"? m["settings.vertd.loading"]()- : m["settings.vertd.available"]({- commitId: vertdCommit,- sizeLimit: formatBytes($vertdSizeLimit),- })+ : m["settings.vertd.available"](): m["settings.vertd.unavailable"]()}</p>@@ -92,7 +89,13 @@{@html sanitize(m["settings.vertd.description.main"]())}</p><p class="text-sm text-muted font-normal">- {@html sanitize(m["settings.vertd.description.info"]())}+ {@html sanitize(+ link(+ "vertd_link",+ m["settings.vertd.description.info"](),+ GITHUB_URL_VERTD,+ ),+ )}</p><p class="text-sm text-muted font-normal">{@html sanitize(@@ -165,6 +168,17 @@bind:value={settings.vertdURL}/>{/if}+ <p class="text-sm text-muted font-normal">+ {m["settings.vertd.info"]({+ sizeLimit:+ vertdCommit === null+ ? "N/A"+ : formatBytes($vertdSizeLimit) === "0 B"+ ? "unlimited"+ : formatBytes($vertdSizeLimit),+ commitId: vertdCommit ?? "N/A",+ })}+ </p></div></div><div class="flex flex-col gap-4">