Repository navigation
chore(emulator): 「魔改 AVD」统一改名为 ModAVD - #1898
Merged
Merged
Conversation
界面词条(中、英、日)、后端提示与报错、日志模块名与消息、注释和文档里的 「魔改 AVD」「Modded AVD」「改造 AVD」都改成 ModAVD;OpenAPI 客户端随后端 说明重新生成。代码标识符、配置键、文件名与协议字段不变。
Contributor
总体结论:可以合并AUTO-MAS-Project/AUTO-MAS #1898 宝宝,这次名字换得挺干净喵:中、英、日界面统一叫 ModAVD,后端提示与生成的 API 说明也跟上了;原来的 dot酱还特意看了容易误伤的地方:CLI 仍按错误码处理失败,MAA 截图回落仍按原有日志标记识别,日志模块名只是显示字段;测试里换掉的也只是错误消息样本,断言没有放宽。本轮静态审查没有发现必须修改项,可以合啦。 已读取当前 PR 的 CI 日志:Windows / Ubuntu 后端测试、前端 299 项测试及类型、格式、翻译审计均通过。dot酱没有另行执行项目代码,也没有启动 Electron 检查文字显示;这里不把自动化通过当成界面实测。 —— dot酱拍拍爪敬上 🐾 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
res/i18n)、后端返回给界面的提示和报错、日志里的模块名与消息、注释和文档都改了,例如「添加 ModAVD(内测)」「ModAVD 实例 3」。英文、日文不再意译,同样写 ModAVD。frontend/src/api由yarn openapi从本分支后端重新生成(只保留了与本次改名有关的 11 个文件)。allow_mod_avd、isModAvd、MOD_AVD_*、mas-avd.json、实例名mas_<i>、模拟器类型键avd、WebSocket 类型emulator2.avd-update.progress等。CHANGELOG.md和res/version.json里已发布的条目不动。master_mode.py里的「魔改 Lawnchair」说的是 MuMu 的桌面,与此无关,也不动。测试与验证
python -m pytest tests -q(全量,Windows)1770 passed、2 skipped;ruff format --check与ruff check(改动的 39 个 Python 文件)通过;frontend下yarn lint、yarn typecheck、yarn format:check、yarn test(56 个文件 299 项)、yarn audit:i18n通过。tests/tools/test_avd_cli.py里模拟 modavd 返回的消息文字跟着改了。uv sync --frozen --group dev),Node v24.13.0,Yarn 4.9.1。