Files
OpenTerminal/CHANGELOG.en.md
T
Bill 4c6a29ef28 feat: multi-language interface (zh-CN/zh-TW/en/ja), multilingual offline changelog, settings robustness
i18n
- shared/i18n: dependency-free t() with flat per-namespace dictionaries
  (common/settings/workspace/terminal/ssh/panels/main), zh-CN fallback
- language picker in Settings -> System; antd ConfigProvider locale follows it
- main process tracks the language too: tray menu, close prompt, ssh/sftp/
  zmodem errors and the log TUI marker are translated; tray rebuilds on change

changelog
- CHANGELOG.md (zh-CN canonical) + .zh-TW/.en/.ja, bundled via ?raw and read
  per interface language with per-version fallback to zh-CN (no network)
- sync-changelog.cjs merges RELEASE_NOTES[.<lang>].md per release; release.cjs
  refuses to publish without a zh-CN entry for the version

settings robustness
- closeAction 'ask' survives the sanitizer (was silently coerced to 'tray',
  which made the 'ask every time' option dead)
- highlight rules are repaired instead of dropped: string priority, 0/1
  enabled, missing fg colour; unknown fields preserved
- load-time warnings are written to settings-warnings.log (deduped, capped)

terminal/UI
- configurable terminal toolbar: open working directory (default on), session
  log recording (off), open logs folder (off)
- global shortcut field records key combos (modifier or F-key required)
- input suggestions + command history default to off, with a one-time reset
  migration for existing installs
- settings dialog scrolling fixed (antd v6 renamed the tabs container), theme
  gallery nested scrollbar removed, joined segmented pickers with readable
  selected-state text

tests: settings-store.mjs (15 checks) added; commands-store.mjs updated for
the new off-by-default history setting
2026-09-20 14:22:29 +08:00

3.2 KiB

OpenTerminal Changelog

v1.0.13 - 2026-09-20

  • Simplified Chinese, Traditional Chinese, English and Japanese, switchable in Settings → System → Language; applies instantly and persists

  • The whole app is translated: settings pages, workspace, terminal context menu and search, SSH connections, file panel, system monitor, command panel, tray menu and the close prompt

  • antd's built-in component texts (empty states, pagination, …) follow the interface language

  • The changelog now ships inside the app, so it works offline instead of relying on a network endpoint

  • The changelog is multi-language: shown in the active interface language, falling back to Simplified Chinese for versions without a translation

  • Fixed "Close button → Ask every time" doing nothing (it was silently rewritten to "Minimize to tray")

  • Highlight rules are no longer silently dropped over shape problems: string priorities, 0/1 booleans and a missing foreground colour are repaired, and unknown fields are preserved

  • Settings parse warnings are written to settings-warnings.log so a broken config is traceable

  • The terminal toolbar is configurable (Settings → Rendering & behaviour): open working directory (on by default), session-log recording, open logs folder

  • "Open working directory" opens the terminal's current folder in the file manager, tracked live through cd

  • The global show/hide shortcut is now press-to-record: focus the field and hit the combo; Esc cancels, Backspace clears; a modifier or function key is required so plain typing is never hijacked

  • "Input suggestions" and "Record command history" now default to off (existing installs are reset once; later manual changes are never overwritten)

  • Fixed the settings dialog content column not scrolling (an antd v6 container class rename); the theme page no longer shows a second nested scrollbar

  • UI polish: render-mode and language pickers are joined segments, with corrected text contrast on the selected segment

scripts/sync-changelog.cjs merges RELEASE_NOTES.en.md into this file at release time. The content ships inside the app; the About tab shows the changelog for the active interface language and falls back to Simplified Chinese for versions that have no translation yet.

v1.0.12 - 2026-09-20

Light-theme contrast fixes

  • Tab bar and sidebar colours now derive from the theme background's luminance: on light themes the tab bar stays in the terminal's own colour family (no more muddy grey strip), while dark themes are unchanged
  • Fixed tabs rendering as dark blocks with white text on light themes: tab surfaces and labels now come from theme variables — inactive tabs are light with dark text, and active-tab text is darkened automatically
  • The settings dialog now follows light themes throughout: labels, descriptions, tables and palette text on the font, highlight and theme pages track the theme foreground and stay readable

Stability

  • Session-log writes now use a per-file buffer with a single drain loop: burst output is merged and stays ordered, with no unbounded queue growth
  • Settings writes are serialized: changing the close action from the tray no longer clobbers a concurrent save from the settings UI