Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat: add ContextHint to empty state in conversion section

Tonho73c2ad89bd04
diff --git a/src/routes/convert/+page.svelte b/src/routes/convert/+page.svelte
index 1c834db4..981154cb 100644
--- a/src/routes/convert/+page.svelte
+++ b/src/routes/convert/+page.svelte
@@ -3,6 +3,7 @@
import { open } from "@tauri-apps/plugin-dialog";
import { t } from "$lib/i18n";
import { showToast } from "$lib/stores/toast-store.svelte";
+ import ContextHint from "$components/hints/ContextHint.svelte";
import {
getFiles,
getOptions,
@@ -205,7 +206,7 @@
{#if files.length === 0}
<div class="empty">
- <span class="empty-text">{$t('convert.empty')}</span>
+ <span class="empty-text">{$t('convert.empty')} <ContextHint text={$t('hints.convert')} dismissKey="convert" /></span>
</div>
{:else}
<section class="section">