Esc: make the panel key when shown (closeWithEscape, default on) without activating the app; the source app stays frontmost and Replace still targets it. Handle Esc with SwiftUI's exit command, which also works from the popover and after clicking controls. Add TranslationPanel.canBecomeKey and amend ADR-009.\n\nMarkdown: add MarkdownPresentation in SprachmittlerText (Foundation inline parser plus a conservative block parser for headings, lists, quotes, fenced code and rules), a SwiftUI MarkdownTranslationView, and a renderMarkdown setting (default on). JSON, HTML and code sources are never rendered; only http/https links open; images become alt text; Copy and Replace keep the raw Markdown (ADR-021).\n\nVerified: make verify green; synthetic Esc closes the panel and closes an open language popover first; a live Markdown translation rendered heading, bold/italic, inline code, list, quote, code block and link; Copy returned the raw Markdown; Replace still changed the TextEdit selection with the panel key.
107 lines
4.8 KiB
Plaintext
107 lines
4.8 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.";
|