feat: 配置备份恢复
CL
4d ago+1137+1137+0123456789012345678901234567890123456789-27-27-01234567890123456789
Sourcery 摘要
为模组配置编辑器添加 AquaMai 配置历史比较和恢复控件。
新功能:
- 为 AquaMai 配置添加备份与恢复视图,显示历史备份和差异,并提供恢复单个设置、整个分区或所有差异以及撤销更改的选项。
- 添加 API 端点,用于列出配置备份文件,并提供解析后的覆盖数据和解析错误。
改进:
- 在备份比较中使用本地化标签格式化配置值,包括布尔值、按键代码、I/O 映射和音频通道。
- 确保配置加载与备份列表中的签名验证行为一致;对于未安装的 AquaMai DLL 路径,自动跳过签名验证。
杂项:
- 添加英文、简体中文和繁体中文的备份与恢复翻译。
Original summary in English
Summary by Sourcery
Add historical AquaMai configuration comparison and restore controls to the mod configuration editor.
New Features:
- Add a backup-and-restore view for AquaMai configuration, showing historical backups and differences with options to restore individual settings, sections, or all differences and undo changes.
- Add an API endpoint that lists configuration backup files with parsed override data and parse errors.
Enhancements:
- Format configuration values in backup comparisons using localized labels for booleans, key codes, I/O mappings, and sound channels.
- Keep signature verification behavior consistent between configuration loading and backup listing, with automatic bypass for non-installed AquaMai DLL paths.
Chores:
- Add backup-and-restore translations in English, Simplified Chinese, and Traditional Chinese.