From a0ad1564a84c4f02f6eeebc7beb05ec546c07df8 Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Sun, 12 Jul 2026 12:35:42 -0500 Subject: [PATCH] feat(i18n): convert Settings AI section to t() (Batch E) --- src/lib/views/Settings.svelte | 107 ++++++++++++++++++---------------- 1 file changed, 58 insertions(+), 49 deletions(-) diff --git a/src/lib/views/Settings.svelte b/src/lib/views/Settings.svelte index b20e0b5..8665e23 100644 --- a/src/lib/views/Settings.svelte +++ b/src/lib/views/Settings.svelte @@ -1442,52 +1442,59 @@ {:else if section === "ai"}
-

AI summary provider

+

{t("settings.ai.title")}

- Summaries run on a local LLM by default. Point this at Ollama on this PC or another - machine on your LAN (e.g. 192.168.0.x) — both count as local, so nothing - leaves your network. Hosted providers (Anthropic) are optional, off by default, and send - the transcript to a third party once you turn one on. + {t("settings.ai.intro_1")} 192.168.0.x) {t("settings.ai.intro_2")}

{#if llmProvider !== "off"}
{#if llmProvider !== "anthropic"} - + {:else} {t("settings.ai.model")}
@@ -1594,8 +1606,8 @@ {t("settings.ai.reset_all")} {/if} -

- Added before WhispAssist's required output format, so your instructions can't - break summary/action-item parsing. -

+

{t("settings.ai.system_prompt_hint")}

{#each OPTION_GROUPS as g (g)}
@@ -1637,21 +1647,19 @@ {#if g === "context"}
- Think - Reasoning effort (reasoning models only). + {t("settings.ai.think")} + {t("settings.ai.think_help")}
- Keep alive - How long the model stays in RAM. e.g. 5m, 1h, 0 (unload), -1 (forever). + {t("settings.ai.keep_alive")} + {t("settings.ai.keep_alive_help")}
@@ -1667,8 +1675,8 @@
{#each OLLAMA_OPTIONS.filter((o) => o.group === "hardware") as opt (opt.key)} @@ -1679,10 +1687,10 @@
{#if advSaved}
@@ -1690,7 +1698,8 @@ {/if} {:else}
- {t("settings.ai.turn_off")}
{/if}