chore: CI workflows + drop Ukrainian (UA → just RU/EN)
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.
This commit is contained in:
parent
4e21024509
commit
3f8300dc6f
92 changed files with 82 additions and 581 deletions
|
|
@ -13,7 +13,6 @@
|
|||
const languages = [
|
||||
{ code: "ru", label: "RU", flag: "🇷🇺", name: "Русский" },
|
||||
{ code: "en", label: "EN", flag: "🇬🇧", name: "English" },
|
||||
{ code: "ua", label: "UA", flag: "🇺🇦", name: "Українська" },
|
||||
]
|
||||
|
||||
// Profile chip — shows the active profile icon + name, click to swap.
|
||||
|
|
|
|||
|
|
@ -50,6 +50,6 @@ export async function getSupportedLanguages(): Promise<string[]> {
|
|||
try {
|
||||
return await invoke<string[]>("get_supported_languages")
|
||||
} catch {
|
||||
return ["ru", "en", "ua"]
|
||||
return ["ru", "en"]
|
||||
}
|
||||
}
|
||||
|
|
@ -235,7 +235,6 @@
|
|||
const languageNames: Record<string, string> = {
|
||||
us: 'English',
|
||||
ru: 'Русский',
|
||||
uk: 'Українська',
|
||||
de: 'German',
|
||||
fr: 'French',
|
||||
es: 'Spanish',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue