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
+7
View File
@@ -205,7 +205,14 @@ function saveTree(id: string, tree: PlanTree): void {
writeChat(record);
}
function saveLanguage(id: string, language: "en" | "ru"): void {
const record = getChat(id);
if (!record || record.language === language) return;
writeChat({ ...record, language });
}
export const chatStore: ChatStore = {
saveLanguage,
createChat,
getChat,
listChats,