Titles are stored display text (layout templates, session snapshot, broadcast registry), so a pane used to keep the wording of the language it was opened in, and nextTerminalTitle could not even parse the number back out of another language's pattern (numbering restarted, duplicates). New pure module src/shared/terminalTitle.ts: resolution tries all four languages' patterns, rendering uses the active one; i18n gains tFor(lang) for off-language rendering. Workspace retitles auto-numbered local tabs in place on language switch, snapshot restore and template apply; SSH panels (user-typed connection names) are never touched. dockview's title-change event propagates the new title to the broadcast registry and the snapshot save with no extra wiring. New test terminal-title.mjs (16 writer/reader language pairs, non-auto title boundaries, gap filling); offline suite grows 17 -> 18.
67 lines
1.2 KiB
Plaintext
67 lines
1.2 KiB
Plaintext
# dependencies
|
|
node_modules/
|
|
|
|
# build output
|
|
out/
|
|
dist/
|
|
tests/.session-e2e.cjs
|
|
tests/.sftp-svc.*
|
|
tests/.hl-smoke.*
|
|
|
|
# research artifacts (XTerminal reverse-engineering notes, not part of the app)
|
|
research/
|
|
|
|
# logs / misc
|
|
*.log
|
|
.DS_Store
|
|
|
|
# credentials (do not commit)
|
|
.env
|
|
# .env.* too, but never the committed templates
|
|
.env.*
|
|
!.env.example
|
|
!.env.sample
|
|
!.env.template
|
|
|
|
# ts build info
|
|
*.tsbuildinfo
|
|
.sftp-test-*.bin
|
|
.sftp-dl-*
|
|
|
|
tests/.commands-store.cjs
|
|
tests/.connections-store.cjs
|
|
tests/.known-hosts.cjs
|
|
tests/.lock-store.cjs
|
|
tests/.lock-controller.cjs
|
|
tests/.lock-shortcuts.cjs
|
|
tests/.settings-store.cjs
|
|
tests/.local-path-grants.cjs
|
|
tests/.session-e2e.cjs
|
|
tests/.hl-split-smoke.cjs
|
|
tests/.hl-rules.cjs
|
|
tests/.zmodem-e2e.cjs
|
|
tests/.ssh.cjs
|
|
tests/.updater.cjs
|
|
tests/.ipc.cjs
|
|
tests/.ipc-channels.cjs
|
|
tests/.log-sanitizer.cjs
|
|
tests/.reserved-accelerators.cjs
|
|
tests/.terminal-title.cjs
|
|
release/
|
|
|
|
# stray local test artifacts
|
|
.min-test.bin
|
|
.min2-test.bin
|
|
.exact-test.bin
|
|
tests/.zm-src-*/
|
|
tests/.zm-out-*/
|
|
|
|
# release notes drafts (consumed by scripts/release.cjs + sync-changelog.cjs)
|
|
RELEASE_NOTES*.md
|
|
|
|
tmp-test/
|
|
tmp-test*
|
|
|
|
# agent session scratch (SDD plans/reports/smoke artifacts)
|
|
.superpowers/
|