docs: translations: pt_BR: translate programming-language.rst
Subsystems (2)
PATCH v3 1/1 docs: translations: pt_BR: translate programming-language.rst
Translate programming-language.rst into Brazilian Portuguese and add it to the pt_BR process documentation index.
---
Changes in v3:
- Remove Assisted-by trailer.
Changes in v2:
- Add document to Documentation/translations/pt_BR/process/index.rst instead of the top-level index.
- Remove top-of-file Sphinx label to prevent cross-reference and build conflict.
v2: https://lore.kernel.org/r/[email protected]
v1: https://lore.kernel.org/r/[email protected]
.../translations/pt_BR/process/index.rst | 1 + .../pt_BR/process/programming-language.rst | 60 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 Documentation/translations/pt_BR/process/programming-language.rst
Documentation/translations/pt_BR/process/index.rst +1 -0
@@ -38,6 +38,7 @@ devem estar familiarizados. :maxdepth: 1 Requisitos mínimos <changes> + Linguagem de programação <programming-language> Informações sobre clientes de email para Linux <email-clients> Como aplicar patches <applying-patches> Backporting e resolução de conflitos <backporting>
Documentation/translations/pt_BR/process/programming-language.rst new file +60 -0
60 lines not on this page · raw message
Signature · 1 line
2.43.0
Daniel Pereira
maintainerEm qui., 10 de set. de 2026 às 16:51, Fabio Pereira da Silva <[email protected]> escreveu:
Quoted 1 line
Hi Fabio,
Quoted 1 line
+O kernel Linux é escrito na linguagem de programação C [c-language]_. Mais
The citation names here are the same ones used in Documentation/process/programming-language.rst, and Sphinx citations are global across the whole documentation tree, so all eleven end up reported as duplicates. Building the English file together with this translation gives:
ptbr/programming-language.rst:50: WARNING: duplicate citation c-language, other instance in en/programming-language.rst [ref.citation]
and the same for gcc, clang, gcc-c-dialect-options, gnu-extensions, gcc-attribute-syntax, n2049, rust-language, rustc, rust-editions and rust-unstable-features, on lines 50 to 60.
Prefixing them fixes it, the way it_IT does with [it-c-language] and sp_SP with [sp-c-language]. I tried [pt-c-language] and the build came out with no warnings. The eleven uses in the text need the same change.
It would also help to run a full "make htmldocs" before resending and compare the warnings against a
make cleandocs && make htmldocs 2>&1 | tee /tmp/base.log # apply the patch make cleandocs && make htmldog diff <(grep WARNING /tmp/baseched.log)
It has to be the full build: SPot catch
this one, because the English document would not be part of it. Sending a patch that is already known the
maintainer a round.