CI (.github/workflows/ci.yml): - Three parallel jobs on push & PR: cargo test (jarvis-core), cargo clippy (lint, warnings-as-errors), cargo check (workspace). Windows runner, stable toolchain, rust-cache for fast incremental builds. - Deliberately skips release build of jarvis-gui — that needs Node+npm +Tauri bundler and would balloon CI to ~10min per push. Drop Ukrainian: - Delete ua.ftl, remove UA from SUPPORTED_LANGUAGES. - config.rs: prune UA arms from get_wake_phrases / get_wake_grammar / get_phrases_to_remove / get_llm_trigger_phrases / get_llm_system_prompt. - stt/vosk.rs: drop UA → uk language mapping. - tray menu: drop "Українська" entry. - frontend: drop UA from Header.svelte language list, settings page language map, i18n.ts fallback. - 82 command.toml files stripped of every `ua = [...]` block (205 blocks total). Handled via subagent — TOML still parses, all 6 command tests pass. .gitignore: stop tracking dev.env / dll_probe*.py / imports_full.txt which were sitting in working tree. Tests: 128 pass (no regression). Workspace still compiles end-to-end.
51 lines
1.3 KiB
TOML
51 lines
1.3 KiB
TOML
[[commands]]
|
|
id = "translate"
|
|
type = "lua"
|
|
script = "translate.lua"
|
|
sandbox = "full"
|
|
timeout = 20000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"переведи на английский",
|
|
"переведи на русский",
|
|
"переведи на украинский",
|
|
"переведи на немецкий",
|
|
"переведи на французский",
|
|
"переведи на испанский",
|
|
"переведи на китайский",
|
|
"переведи на японский",
|
|
"переведи",
|
|
"как по английски",
|
|
"как по русски",
|
|
"как по немецки",
|
|
]
|
|
en = [
|
|
"translate to english",
|
|
"translate to russian",
|
|
"translate to ukrainian",
|
|
"translate",
|
|
"how to say in",
|
|
]
|
|
|
|
|
|
# Translate clipboard contents — no need to dictate the source text out loud.
|
|
[[commands]]
|
|
id = "translate_clipboard"
|
|
type = "lua"
|
|
script = "clipboard.lua"
|
|
sandbox = "full"
|
|
timeout = 20000
|
|
|
|
[commands.phrases]
|
|
ru = [
|
|
"переведи буфер",
|
|
"переведи из буфера",
|
|
"переведи буфер обмена",
|
|
"переведи скопированное",
|
|
"переведи то что я скопировал",
|
|
]
|
|
en = [
|
|
"translate clipboard",
|
|
"translate from clipboard",
|
|
]
|