Skip to content

Cavalry Language Switcher for Cavalry 2.7.2 patch 5

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Aug 16:46
· 12 commits to main since this release
9096eb4

Cavalry Language Switcher

Cavalry Language Switcher 是一个面向 Cavalry 2.7.2 的 macOS 与 Windows 语言切换工具。它可以把本机已安装的 Cavalry 在 English、简体中文、繁體中文、日本語之间切换,并继续从原来的 Cavalry 应用启动。

它会处理两类翻译表面:Cavalry 的 JSON 资源文件,以及内置在 Qt/UI 二进制里的菜单、面板、按钮和控件文字。Windows 版动态发现或由用户选择 Cavalry 安装目录,不依赖固定盘符,并部署 Qt generic translator 与原厂 QPA 委托层,让原桌面、开始菜单、任务栏及直接 EXE 启动保持不变;macOS 版 patch 本地 app bundle、安装 runtime injector、重新签名并清理 Gatekeeper quarantine。

Cavalry Language Switcher 是独立社区工具,不隶属于 Scene Group、Cavalry 或 Canva。

p5 更新内容 / Changes

Added

  • Choice-preserving Windows Uninstall: Interactive uninstall now asks whether to remove only the Switcher and keep the deployed translation, or first restore English and remove the owned runtime; silent, passive, and update uninstalls preserve translation.

Changed

  • Complete English Runtime Cleanup: Explicit English restoration now removes the manifest-owned generic translator and QPA recovery files in the same rollback surface, including runtime files owned by an older Switcher build.
  • Uninstall Choice Ownership: The translation decision now lives on its own four-language page, while Tauri's following confirmation page identifies application-data deletion as Switcher settings only.

Fixed

  • Vendor Reinstall State Reconciliation: A vendor reinstall that restores all managed JSON and the exact stock QPA no longer remains blocked by a stale translated marker. Status projects the proven English reality read-only, while Refresh English commits the en marker and safely cleans owned residuals.
  • Unknown Runtime Preservation: English refresh and uninstall cleanup reject an unrecognized generic plugin before any Program Files mutation and never delete it or overwrite a newer vendor QPA.
  • Reliable Uninstall Options Page: Removed an early NSIS hook reference to Tauri's later-defined ${BUNDLEID} macro that skipped the translation choice and exposed a dead Back button.
  • Missing Cavalry Idempotence: A requested uninstall-time English restore succeeds without error when state still contains a valid installation path but its Cavalry.exe has already been removed, allowing the Switcher to uninstall normally while missing or empty state still fails closed.
  • Live Workspace Isolation: Windows disposable live checks now verify the real %LOCALAPPDATA%\Cavalry\workspace.json byte-for-byte before and after the isolated run so test launches cannot silently persist a blank or focus-only workspace.

下载

macOS

Windows

macOS 首次打开

当前 DMG 使用 ad-hoc 签名,尚未经过 Apple Developer ID notarization。如果从浏览器下载后,macOS 提示 "Apple could not verify Cavalry Language Switcher is free of malware",请先把应用拖入 Applications,然后运行:

xattr -dr com.apple.quarantine "/Applications/Cavalry Language Switcher.app"
open "/Applications/Cavalry Language Switcher.app"

开发者也可以按仓库内的 LOCAL_BUILD_SOP.md 从源码本地构建;本地构建产物不会携带浏览器下载写入的 quarantine 标记。

可把这段话发给你的 AI agent:

请从源码本地构建 Cavalry Language Switcher:

1. 打开仓库 /Users/luo/Desktop/ClaudeCode/web/Cavalry-i18n。
2. 严格按照 LOCAL_BUILD_SOP.md 执行。
3. 运行标准 Tauri build、执行 DMG 卷宗图标盖章,并运行 SOP 里的 packaged checks。
4. 完成后告诉我最终 DMG 路径。

支持语言

  • English
  • 简体中文
  • 繁體中文
  • 日本語

使用前须知

  • 当前 release 尚未经过 Apple Developer ID notarization;浏览器下载后首次打开可能需要手动清除 quarantine。
  • 首次应用语言包时,macOS 可能要求授予 App Management 权限。
  • Windows 版不要求 Cavalry 位于固定盘符;自动检测失败时可在应用内选择安装目录,写入受保护目录时可能请求 UAC 提权。
  • 建议保留一份干净的 Cavalry 安装包或备份;恢复到完全原始状态时,重新安装 Cavalry 是最稳妥的方式。
  • 当前 release 同时发布 Windows x64 安装器与 macOS Apple Silicon/Intel 两个 DMG,请按平台和芯片类型下载。

日本語

Cavalry Language Switcher は、Cavalry 2.7.2 向けの macOS / Windows 用言語切り替えツールです。インストール済みの Cavalry を English、簡体字中国語、繁体字中国語、日本語の間で切り替えられます。

初回適用時に macOS の App Management 権限が求められる場合があります。完全に元の状態へ戻すには、Cavalry を再インストールするのが最も安全です。

English

Cavalry Language Switcher is an independent community tool for switching the UI language of Cavalry 2.7.2 on macOS and Windows. It is not affiliated with Scene Group, Cavalry, or Canva.