{tab === "Profiles" ? "Profiles" : "Templates"}

{#if tab === "Profiles"} Add custom vocabulary to improve transcription accuracy. Names, places, and specialist terms that Whisper might misspell. {:else} Create structured templates for dictation. Sections become headings you can click and record into — fill reports, meeting notes, or any repeating format. {/if}

{#if showNewDialog}

New {tab === "Profiles" ? "Profile" : "Template"}

e.key === "Enter" && handleCreate()} data-no-transition />

{tab === "Profiles" ? "You can add vocabulary after creating the profile." : "You can edit sections after creating the template."}

{/if}
{#if tab === "Profiles"} {#if profiles.length === 0 && !showNewDialog}

No profiles yet

Create one to improve transcription accuracy

{/if} {#each profiles as profile, i}

{profile.name}

{wordCount(profile.words)} {wordCount(profile.words) === 1 ? 'word' : 'words'}

One word or phrase per line. These will be prioritised during transcription.

{#if profile.saved} Saved {/if}
{/each} {:else} {#if templates.length === 0 && !showNewDialog}

No templates yet

Create one for structured dictation

{/if} {#each templates as template, i}

{template.name}

{template.sections.length} sections

One section per line. These become headings in your transcript.

{#if template._saved} Saved {/if}

Preview

{#each template.sections as section}

# {section}

{/each}
{/each} {/if}