Melhorar mensagem enviada para Telegram com erro encontrado em arquivo .po pelo linter
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- documentation, localization
Research direction
Locate the code that formats Telegram notifications for linter errors in .po files, then inspect how the reported file and line are available. The work is done when the message links to the relevant repository line, preferably the msgstr, and provides a Transifex search URL for the target string.
Written by the indexing model from the issue text.
Description
Atualmente, quando o linter encontra um erro no .po, é enviada uma mensagem para o Telegram semelhante a essa
O problema disso é que a linha 1280, deste exemplo, do arquivo não é encontrável pelo Transifex.
Então, seria útil que nessa mensagem viesse a URL para a linha no repositório. No caso, seria
https://github.com/python/python-docs-pt-br/blob/3.14/library/string.po#L1280
Ou com o link permanente:
Adicionalmente, talvez ficasse mais claro se a mensagem/link fosse para a linha com a msgstr e não a msgid. E talvez com mais algum texto explicativo.
Adicionalmente 2, enviar um URL para pesquisar no TX por uma strings com o texto da string alvo. Para o exemplo seria:
Note que foi necessário remover o \n da URL.
- Dominant language
- Python
- Stars
- 164
- Forks
- 42
- Avg merge
- 12h 39m
- Merged PRs (30d)
- 4
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from python/python-docs-pt-br
-
Difficulty 1/5 1-3 hours Newbie friendliness 75/100
python/python-docs-pt-br#312 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
python/python-docs-pt-br#291 · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 50/100
python/python-docs-pt-br#290 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
python/python-docs-pt-br#271 · 2 comments ·
-
Form feedOpen
Difficulty 3/5 1-2 days Newbie friendliness 25/100
python/python-docs-pt-br#265 · 1 comment ·
All issues in python/python-docs-pt-br
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
spec-kitty/spec-kitty#5319 ·
Maintainers usually reply within 1 day
-
backend::vllm diffusion multimodal
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
openai/openai-agents-python#5229 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day