部分修复 #16024
继o和a有概率识别为西里尔字母后,c也有概率识别为西里尔字母
BattleQuickFormationCollapseRole.png 对应内容似乎更改了文字大小
## 由 Sourcery 提供的总结
更新日文 OCR 配置和相关任务资源,以提升字符识别效果,并反映更新后的 UI 资源。
错误修复:
- 调整 OCR 字符映射,减少在日文客户端中将拉丁字符误识别为西里尔字符的情况。
功能改进:
- 更新任务配置,以匹配 `BattleQuickFormationCollapseRole` UI 资源的变更,包括重新调整的文字尺寸。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Update Japanese OCR configuration and related task resources to improve
character recognition and reflect updated UI assets.
Bug Fixes:
- Adjust OCR character mappings to reduce misrecognition of Latin
characters as Cyrillic in the Japanese client.
Enhancements:
- Update task configuration to match changes in the
BattleQuickFormationCollapseRole UI asset, including revised text
sizing.
</details>
Added environment variables for initial comment and action link in the GitHub Actions workflow. Updated the comment body to use these variables and improved the AI analysis process with streaming updates.
## Summary by Sourcery
收紧瓦片键匹配语义,调整可选关卡元数据的处理方式,优化 Rogue-like 投资行为,同时增加重新启动新手引导的 UI 选项,并更新辅助文档和
CI 配置。
New Features:
- 在设置界面中新增操作,用于重新启动应用内引导并重新启动应用程序。
- 引入新的 WPF `CheckBox` 样式资源,以及针对设置和引导视图相关的 XAML/UI 更新。
Bug Fixes:
- 在比较或搜索时,要求瓦片关卡键必须精确匹配,不再将空字段视为通配符。
- 确保 Rogue-like 投资选项仅在投资模式激活时才生效,避免在其他模式中出现非预期的限制。
Enhancements:
- 放宽对关卡定义的 JSON 解析,对缺失的 `code` 与 `name` 字段使用中性默认值进行容错。
- 调整瓦片包解析中对缺失关卡代码值的默认处理。
- 微调 README 徽章和样式,以获得更好的排版效果和一致性。
CI:
- 更新 markdown 检查工作流,使用最新版主要版本的 sticky pull request comment action。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Tighten tile key matching semantics, adjust handling of optional level
metadata, and refine roguelike investment behavior while adding a UI
option to restart the onboarding guide and updating auxiliary docs and
CI configuration.
New Features:
- Add a settings UI action to restart the in-app guide and relaunch the
application.
- Introduce a new WPF CheckBox style resource and related XAML/UI
updates for settings and guide views.
Bug Fixes:
- Require exact matches for tile level keys instead of treating empty
fields as wildcards when comparing or searching.
- Ensure roguelike investment options are only applied when the
investment mode is active, avoiding unintended limits in other modes.
Enhancements:
- Relax JSON parsing for level definitions to tolerate missing code and
name fields with neutral defaults.
- Adjust tile pack parsing defaults for missing level code values.
- Tweak README badges and styling for better formatting and consistency.
CI:
- Update the markdown checker workflow to use the latest major version
of the sticky pull request comment action.
</details>