feat(i18n): convert Settings recording section to t() (Batch E)

This commit is contained in:
iamdoubz committed 2026-07-12 12:24:31 -05:00
1 parent 2f925de9a5
commit d5f0d028ac
1 file changed
+13 -16
+13 -16
View File
@@ -714,23 +714,25 @@
{#if section === "recording"}
<section>
<h3>Recording</h3>
<h3>{t("settings.recording.title")}</h3>
<label class="row">
<input
type="checkbox"
checked={settings.settings.default_record}
onchange={onToggleDefaultRecord}
/>
<span>Record meetings by default <em>(save audio as <code>.wav</code>)</em></span>
<span
>{t("settings.recording.record_default")}
<em>({t("settings.recording.save_audio_as")} <code>.wav</code>)</em></span
>
</label>
<p class="muted">{t("settings.recording.default_hint")}</p>
<p class="muted">
Off by default. When off, audio is used only to produce the transcript and is deleted when
the meeting is finalized. You can also toggle recording per meeting.
</p>
<p class="muted">
Consent: {settings.settings.consent_acknowledged
? "acknowledged"
: "not yet acknowledged"}.
{t("settings.recording.consent_label", {
status: settings.settings.consent_acknowledged
? t("settings.recording.consent_ack")
: t("settings.recording.consent_not"),
})}
</p>
<label class="row">
@@ -740,14 +742,9 @@
onchange={(e) =>
settings.patch({ auto_record_calendar: (e.target as HTMLInputElement).checked })}
/>
<span>Auto-start recording when a calendar event begins</span>
<span>{t("settings.recording.auto_label")}</span>
</label>
<p class="muted">
Only while WhispAssist is open. When an imported calendar event's start time arrives, a
recording begins automatically (using your default retention setting above). Nothing runs
in the background — the timer is armed only while the app is running. Import events under
Settings → Calendar.
</p>
<p class="muted">{t("settings.recording.auto_hint")}</p>
{#if showConsent}
<ConsentNotice onAccept={acceptConsent} onCancel={() => (showConsent = false)} />