docs: corrige docstring com rótulos de UI pós-i18n - #471
Merged
Conversation
O docstring de _show_conclude_next_step_guidance ainda citava rótulos em português anteriores à migração de i18n (PR #467). Verificados contra os widgets reais e o catálogo pt_BR: o botão "Enviar Vídeo Selecionado para Análise" não existe mais na UI (código órfão desde o commit 62162e9). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the _show_conclude_next_step_guidance docstring in zone_control_builder.py to reflect the post-i18n UI labels, so developer-facing guidance stays aligned with the current Tkinter widgets and translation catalog.
Changes:
- Replaced legacy Portuguese UI label references in the docstring with current English labels.
- Simplified the pre-recorded guidance to reference the current single-video analysis action.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| """Point the user to the next action after committing zone edits. | ||
|
|
||
| "Concluir" only saves zone/ROI/Arduino-binding data — it never starts | ||
| "Finish" only saves zone/ROI/Arduino-binding data — it never starts |
…-40d5a6 # Conflicts: # src/zebtrack/ui/builders/zone_control_builder.py
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.
Summary
_show_conclude_next_step_guidance(zone_control_builder.py) ainda citava rótulos em português anteriores à migração de i18n concluída no PR feat(i18n): varrer portugues sem acento e ensinar o scanner a ve-lo #467.pt_BR/LC_MESSAGES/zebtrack.po:"Finish","⏳ Pending session","▶️ Start Recording","Main Control","Start Single-Video Analysis"."Enviar Vídeo Selecionado para Análise"citado no docstring não existe mais na UI: seu handler (_on_send_selected_video_to_analysis) só é chamado pelo próprio teste unitário — código órfão deixado pelo commit62162e9a, que removeu o widget duplicado da aba Zones a que o botão pertencia. Uma tarefa de acompanhamento para remover (ou re-conectar) esse método órfão foi criada separadamente.Test plan
pre-commit(ruff, ruff-format, mypy, checks de consistência de docs) passou no push.🤖 Generated with Claude Code