Files
schihei 940abcc996 feat(settings): mother-tongue language routing table
Replace the single reverse-direction pair with a general routing table. The saved target is the mother tongue and the default target for every source; languageRoutes is an empty-by-default, source-unique list of source-to-target rules (for example Chinese -> English, Traditional Chinese -> English, German -> English). Rules apply only when the source is confidently detected; otherwise the mother tongue is used. Same-language rules are dropped.\n\nThe panel shows the effective direction and a banner explaining a rule, with a one-capture override back to the mother tongue; the panel picker is now a session-only override. Persistent rules are edited in Settings. The old autoSwitchTarget/fallbackTargetLanguage keys are ignored, so the default after migration is everything -> mother tongue.\n\nAdd LanguageRoute, generalize the direction policy and tests, add the rules UI, and update ADR-022, architecture, translation output, user guide, README and progress. Verified: make verify green; empty rules translate French -> German, a Chinese -> English rule produces Chinese (Simplified) -> English with the banner, and the rules table renders in Settings.
2026-11-26 18:31:45 +01:00

118 lines
5.6 KiB
Plaintext

/* Sprachmittler UI — English base */
"Translate Clipboard Text" = "Translate Clipboard Text";
"Target Language" = "Target Language";
"More languages…" = "More languages…";
"Copy Last Translation" = "Copy Last Translation";
"Replace Last Translation" = "Replace Last Translation";
"Set up Sprachmittler…" = "Set up Sprachmittler…";
"Diagnostics…" = "Diagnostics…";
"About Sprachmittler" = "About Sprachmittler";
"Settings…" = "Settings…";
"Quit Sprachmittler" = "Quit Sprachmittler";
"Translate" = "Translate";
"Move panel" = "Move panel";
"Drag to move panel" = "Drag to move panel";
"Translation text size" = "Translation text size";
"Source" = "Source";
"Show source" = "Show source";
"Hide source" = "Hide source";
"Settings" = "Settings";
"Search languages" = "Search languages";
"Copy" = "Copy";
"Copied" = "Copied";
"Retry" = "Retry";
"Close" = "Close";
"Replace" = "Replace";
"Translation" = "Translation";
"Translating…" = "Translating…";
"No translation." = "No translation.";
"No translation yet." = "No translation yet.";
"Close panel" = "Close panel";
"Copy translation" = "Copy translation";
"Retry translation" = "Retry translation";
"Replace selection" = "Replace selection";
"Open Accessibility Settings" = "Open Accessibility Settings";
"Open Settings" = "Open Settings";
"Download Ollama" = "Download Ollama";
"Copy pull command" = "Copy pull command";
"Copy instead" = "Copy instead";
"Translate anyway" = "Translate anyway";
"Target language" = "Target language";
"Detected language" = "Detected language";
"Replace the selection" = "Replace the selection";
"Replace is not available." = "Replace is not available.";
"General" = "General";
"Model" = "Model";
"Privacy" = "Privacy";
"Diagnostics" = "Diagnostics";
"Reset" = "Reset";
"Save" = "Save";
"Show source preview" = "Show source preview";
"Launch at login" = "Launch at login";
"Warm up the model on launch" = "Warm up the model on launch";
"Ollama" = "Ollama";
"Endpoint" = "Endpoint";
"Allow a remote HTTPS endpoint" = "Allow a remote HTTPS endpoint";
"Refresh installed models" = "Refresh installed models";
"Translation model" = "Translation model";
"Fast model tag (optional)" = "Fast model tag (optional)";
"Keep model loaded" = "Keep model loaded";
"5 minutes" = "5 minutes";
"30 minutes" = "30 minutes";
"1 hour" = "1 hour";
"Unload after each request" = "Unload after each request";
"Digest" = "Digest";
"Context and output" = "Context and output";
"Sampling" = "Sampling";
"Temperature" = "Temperature";
"Top P" = "Top P";
"Repetition penalty" = "Repetition penalty";
"Chunking" = "Chunking";
"Prompt policy" = "Prompt policy";
"Default translation is fixed for v1." = "Default translation is fixed for v1.";
"Content-aware prompt selection is decided in M7." = "Content-aware prompt selection is decided in M7.";
"Local and private" = "Local and private";
"Permissions" = "Permissions";
"Accessibility is optional and used only for Replace." = "Accessibility is optional and used only for Replace.";
"Open Diagnostics…" = "Open Diagnostics…";
"Versions, model digests, timings and error kinds only. No text." = "Versions, model digests, timings and error kinds only. No text.";
"Enter a valid endpoint URL." = "Enter a valid endpoint URL.";
"Settings could not be saved." = "Settings could not be saved.";
"Launch at login could not be changed." = "Launch at login could not be changed.";
"Set up Sprachmittler" = "Set up Sprachmittler";
"Local translation with Ollama. Nothing leaves this Mac." = "Local translation with Ollama. Nothing leaves this Mac.";
"Check again" = "Check again";
"Hy-MT3 model" = "Hy-MT3 model";
"Refresh" = "Refresh";
"Accessibility (optional)" = "Accessibility (optional)";
"Only Replace needs it. Double copy, translation and Copy work without it." = "Only Replace needs it. Double copy, translation and Copy work without it.";
"Granted" = "Granted";
"Enable Accessibility" = "Enable Accessibility";
"Open System Settings" = "Open System Settings";
"Done" = "Done";
"Checking…" = "Checking…";
"Setup could not be saved." = "Setup could not be saved.";
"unknown" = "unknown";
"Last 50 events" = "Last 50 events";
"Sprachmittler Diagnostics" = "Sprachmittler Diagnostics";
"Sprachmittler diagnostics" = "Sprachmittler diagnostics";
"Ollama details are unavailable." = "Ollama details are unavailable.";
"Copy report" = "Copy report";
"Clear" = "Clear";
"Open Diagnostics…" = "Open Diagnostics…";
"Render Markdown formatting" = "Render Markdown formatting";
"Render bold, italic, headings, lists, code and links when the source is Markdown." = "Render bold, italic, headings, lists, code and links when the source is Markdown.";
"Close with Esc without clicking" = "Close with Esc without clicking";
"The panel takes keyboard focus while it is visible. The source app stays frontmost." = "The panel takes keyboard focus while it is visible. The source app stays frontmost.";
"Detected %@. Translating to %@." = "Detected %@. Translating to %@.";
"Translate to %@" = "Translate to %@";
"This text already appears to be in %@ (detected %@)." = "This text already appears to be in %@ (detected %@).";
"Mother tongue" = "Mother tongue";
"The default target for every language unless a rule matches." = "The default target for every language unless a rule matches.";
"Language rules" = "Language rules";
"Add rule" = "Add rule";
"No rules. Every language translates to your mother tongue." = "No rules. Every language translates to your mother tongue.";
"Source language" = "Source language";
"Remove rule" = "Remove rule";
"Rules apply only to confidently detected sources; otherwise the mother tongue is used." = "Rules apply only to confidently detected sources; otherwise the mother tongue is used.";