Skip to content

Conversation

rffontenelle
Copy link
Collaborator

Uma correção de erro de tradução aplicada na versão de pré-lançamento (3.9) do Python Docs atualmente não é refletida na versão estável (3.8). Por ser uma versão estável (portanto, atualmente em uso), me parece interessante que correções feitas na documentação da versão de pré-lançamento se reflitam também na documentação da estável.

Isso não afeta versões antigas, atualmente 3.7 e anteriores. Mensagens traduzidas à época continuam não sendo substituídas.

Esta PR resolve um problema encontrado por Adorilson no tutorial/controlflow na versão estável.

When current translation target branch ('python-newest' resource in Transifex) is a pre-release, allow to overwrite translated strings from a stable branch when pomerging from pre-release -> stable, in the 'merge' target. This commit replaces MERGEBRANCHES (which listed all older branches which should be merged into) with STABLEBRANCH and OLDSTABLEBRANCHES STABLEBRANCH should contain the branch of Python's current stable version and translated strings will be overwritten when already translated, while OLDSTABLEBRANCHES should contain only branches of old versions with pomerge's "--no-overwrite" flag in order to preserve translated strings from that time.
BRANCH is required for seom operations, and is set by running git. Make sure that variable is not empty before moving ahead.
@rougeth rougeth merged commit 84f05cb into python:3.9 Jul 20, 2020
@rffontenelle rffontenelle deleted the improve-makefile branch July 20, 2020 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants