feat: add Russian localization and independent STT languages
CI / Typecheck, tests, lint (push) Canceled after 0s
CI / Standalone (mac-arm64) (push) Canceled after 0s
CI / Standalone (linux-x64) (push) Canceled after 0s
CI / Standalone (windows-x64) (push) Canceled after 0s

This commit is contained in:
2026-10-25 17:18:44 +03:00
parent b277ee3e0f
commit a50ca4b867
93 changed files with 3261 additions and 904 deletions
+5 -3
View File
@@ -1,4 +1,6 @@
"use client";
import { useI18n } from "@/components/i18n";
import { useCallback } from "react";
import { joinDictation, useDictationTarget } from "@/components/dictation";
@@ -37,6 +39,7 @@ export function ReadingThinkingField({
/** Primary dictation claim — true while the check is behind its reveal. */
claim: boolean;
}) {
const { t } = useI18n();
useDictationTarget(
useCallback(
(t: string) => {
@@ -52,8 +55,7 @@ export function ReadingThinkingField({
className="pointer-events-auto mb-2 rounded-2xl border bg-card/60 px-3 py-2 transition-colors focus-within:border-primary/50"
>
<div className="pb-1 text-xs font-medium uppercase tracking-wide text-muted-foreground">
Thinking while reading
</div>
{t("Thinking while reading")}</div>
<textarea
value={value}
onChange={(e) => onChange(e.target.value)}
@@ -94,7 +96,7 @@ export function ReadingThinkingField({
e.currentTarget.blur();
}
}}
placeholder="Whatever comes to mind as you read."
placeholder={t("Whatever comes to mind as you read.")}
rows={1}
className="field-sizing-content lh-input max-h-40 w-full resize-none bg-transparent py-0.5 outline-none placeholder:text-muted-foreground/70"
/>