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 type { ReactNode } from "react";
import { DumbbellIcon } from "lucide-react";
@@ -25,6 +27,7 @@ export function NodePickerControl({ count, onOpen, onClear }: {
onOpen?: () => void;
onClear?: () => void;
}) {
const { t } = useI18n();
return (
<div className="flex items-center gap-1.5">
<button
@@ -39,7 +42,7 @@ export function NodePickerControl({ count, onOpen, onClear }: {
}
>
<DumbbellIcon aria-hidden="true" className="size-3.5 text-muted-foreground" />
{count > 0 ? `${count} ${count === 1 ? "node" : "nodes"} selected` : "Pick nodes"}
{count > 0 ? t("{v0} {v1} selected", { v0: count, v1: count === 1 ? "node" : "nodes" }) : t("Pick nodes")}
</button>
{count > 0 && (
<button
@@ -48,8 +51,7 @@ export function NodePickerControl({ count, onOpen, onClear }: {
onClick={onClear}
className="cursor-pointer rounded-full px-2 py-1 font-ui text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"
>
Clear
</button>
{t("Clear")}</button>
)}
</div>
);