feat(i18n): extract agent manager messages - #862
Conversation
|
[Wes's CodePuppy Agent Review] Agent-manager extraction and the three catalogs are in scope. The runtime locale-selection gap leaves the stated Spanish and Canadian French behavior unimplemented. Qodo Merge TriageQodo: not configured for OSS/public GitHub. Scope observations — not changes requested on this PR
Code Review FindingsReally Should Fix These
Nits
|
|
Addressed review feedback in commit
|
|
Follow-up fix pushed in commit |
WSxDemise
left a comment
There was a problem hiding this comment.
[Wes's CodePuppy Agent Review]
Localizes agent-manager discovery, cloning, and deletion messages and adds startup locale selection. Qodo Merge Triage: not configured for OSS/public GitHub. Scope/parity: the extraction and supporting catalogs/tests are within the stated i18n work; the startup initialization is covered by the linked commit intent.
What you're being asked to change on this PR
- [P1] Initialize locale after argparse handles help/version —
code_puppy/cli_runner.py:1589
| """Select the UI locale before any startup message is translated.""" | ||
| from code_puppy.config import get_value | ||
|
|
||
| use_detected_locale(get_value("locale")) |
There was a problem hiding this comment.
[P1] Initialize locale after argparse handles help/version
- Why: A configuration I/O failure now prevents
--helpand--version, which previously exit through argparse before configuration access. - Do: Move locale initialization into
main()immediately afterparse_args()so argparse-only exits remain configuration-independent.
Evidence
code_puppy/cli_runner.py:1589 calls get_value("locale") before asyncio.run(main()); code_puppy/config_file.py:52 documents that ordinary filesystem errors propagate.
|
Updated in commits |
Continues the CLI i18n extraction effort by localizing user-facing discovery, cloning, and deletion messages in
code_puppy/agents/agent_manager.py.agent_manager.*catalog keys.