Skip to contentSkip to conversation

doc:it_IT: align doc-guide translation

PATCH Applied Federico Vaga 2 participants 2 messages Jul 25 – Aug 3

Subsystems (2)
lore
Share & tools
lore

Federico Vaga

author maintainer
#0 lore raw

PATCH 1/1 doc:it_IT: align doc-guide translation

Update the Italian translation of Documentation/doc-guide to catch up with the following upstream commits:

doc-guide/index.rst:
commit a592a36e4937 ("Documentation: use a source-read extension for the index link boilerplate") commit d40981350844 ("doc-guide: add help documentation checktransupdate.rst")

doc-guide/sphinx.rst:
commit f1c2db1f145b ("docs: move test_doc_build.py to tools/docs")
commit abd61d1ff8f0 ("scripts: sphinx-pre-install: move it to tools/docs")
commit 9322af5e6557 ("docs: sphinx: add a file with the requirements for lowest version") commit d6d886005d32 ("Docs: doc-guide: update sphinx.rst Sphinx version number") commit 5ccab49c104c ("docs: doc-guide: clarify latest theme usage")
commit b31274d58d21 ("docs: drop the version constraints for sphinx and dependencies") commit 40be2369dc0e ("Documentation: multiple .rst files: Fix grammar and more consistent formatting") commit 3e893e16af55 ("docs: Raise the minimum Sphinx requirement to 2.4.4")
commit 86b17aaf2e88 ("docs: automarkup: linkify git revs")
commit 35d4a3c67eb5 ("docs/doc-guide: Clarify how to write tables")
commit 26d797ffc1c0 ("docs: update sphinx.rst to reflect the default theme change") commit 679b4bc25fc7 ("docs/doc-guide: Add documentation on SPHINX_IMGMATH")
commit 4d627ef12b40 ("docs/doc-guide: Mention make variable SPHINXDIRS")
commit 7c43214dddfd ("docs/doc-guide: Add footnote on Inkscape for better images in PDF documents")

doc-guide/kernel-doc.rst:
commit 827b9458c933 ("docs: kernel-doc.rst: document private: scope propagation") commit eba6ffd126cd ("docs: kdoc: move kernel-doc to tools/docs")
commit 90f1d896d59f ("doc-guide: kernel-doc: specify that W=n does not check header files") commit b580fa304c85 ("docs: kernel-doc.rst: document the new "var" kernel-doc markup") commit 8deb5d725b48 ("docs: kernel-doc.rst: don't let automarkup mangle with consts") commit dd3e817e879c ("doc-guide: kernel-doc: add %CONST examples")
commit 7e8a8143ecc3 ("docs: add support to build manpages from kerneldoc output") commit 9e6c5870bb44 ("Documentation: kernel-doc: enumerate identifier *type*s") commit 23a0bc285159 ("doc-guide: kernel-doc: document Returns: spelling")

doc-guide/parse-headers.rst:
commit 6ae0f2072768 ("docs: parse-headers.rst: Fix a typo")
commit 68f3d40ea0ce ("docs: parse-headers.rst: remove uneeded parenthesis") commit d69a03a97a2d ("docs: doc-guide: parse-headers.rst update its documentation")

Also add the translations for the following pages, which had none:

doc-guide/contributing.rst:
commit d96574b0b49d ("Add a document on how to contri

doc-guide/maintainer-profile.rst:
commit 53b7f3aa411b ("Add a maintainer entry profile for documentation")

doc-guide/checktransupdate.rst:
commit d40981350844 ("doc-guide: add help documentation checktransupdate.rst")

---
 .../it_IT/doc-guide/checktransupdate.rst      |  59 ++++
 .../it_IT/doc-guide/contributing.rst          | 319 ++++++++++++++++++
 .../translations/it_IT/doc-guide/index.rst    |  13 +-
 .../it_IT/doc-guide/kernel-doc.rst            |  88 +++--
 .../it_IT/doc-guide/maintainer-profile.rst    |  60 ++++
 .../it_IT/doc-guide/parse-headers.rst         | 220 ++++++------
 .../translations/it_IT/doc-guide/sphinx.rst   | 178 +++++++---
 7 files changed, 757 insertions(+), 180 deletions(-)
 create mode 100644 Documentation/translations/it_IT/doc-guide/checktransupdate.rst
 create mode 100644 Documentation/translations/it_IT/doc-guide/contributing.rst
 create mode 100644 Documentation/translations/it_IT/doc-guide/maintainer-profile.rst
Documentation/translations/it_IT/doc-guide/checktransupdate.rst new file +59 -0
new file mode 100644
index 000000000000..5171c24e8b52
@@ -0,0 +1,59 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+.. include:: ../disclaimer-ita.rst
+
+Verificare la necessità di aggiornare le traduzioni
+===================================================
+
+Questo script aiuta a tracciare lo stato delle traduzioni della
+documentazione nelle diverse lingue, ovvero se la documentazione è
+allineata con la controparte inglese.
+
+Come funziona
+-------------
+
+Lo script usa il comando ``git log`` per individuare l'ultimo commit in inglese
+a partire dal commit della traduzione (in ordine di data dell'autore) e gli
+ultimi commit in inglese a partire da HEAD. Se emergono delle differenze, il
+file viene considerato non aggiornato, e vengono quindi raccolti e segnalati i
+commit che necessitano di un aggiornamento.
+
+Funzionalità implementate
+
+-  verifica di tutti i file in una determinata lingua
+-  verifica di un singolo file o di un insieme di file
+-  opzioni per modificare il formato dell'output
+-  tracciamento dello stato di traduzione dei file che non hanno alcuna
+   traduzione
+
+Utilizzo
+--------
+
+::
+
+   tools/docs/checktransupdate.py --help
+
+Fate riferimento all'output del messaggio d'aiuto per i dettagli sull'utilizzo.
+
+Esempi
+
+-  ``tools/docs/checktransupdate.py -l zh_CN``
+   Questo stamperà tutti i file che necessitano di un aggiornamento nella
+   lingua zh_CN.
+-  ``tools/docs/checktransupdate.py Documentation/translations/zh_CN/dev-tools/testing-overview.rst``
+   Questo stamperà solamente lo stato del file specificato.
+
+L'output sarà quindi qualcosa del genere:
+
+::
+
+    Documentation/dev-tools/kfence.rst
+    No translation in the locale of zh_CN
+
+    Documentation/translations/zh_CN/dev-tools/testing-overview.rst
+    commit 42fb9cfd5b18 ("Documentation: dev-tools: Add link to RV docs")
+    1 commits needs resolving in total
+
+Funzionalità ancora da implementare
+
+- specificare cartelle in aggiunta ai singoli file
Documentation/translations/it_IT/doc-guide/contributing.rst new file +319 -0

319 lines not on this page · raw message

Documentation/translations/it_IT/doc-guide/index.rst +3 -10
index 9fffff626711..04df7e550f6b 100644
@@ -1,8 +1,5 @@
 .. include:: ../disclaimer-ita.rst
 
-.. note:: Per leggere la documentazione originale in inglese:
-	  :ref:`Documentation/doc-guide/index.rst <doc_guide>`
-
 .. _it_doc_guide:
 
 ==========================================
@@ -15,10 +12,6 @@ Come scrivere la documentazione del kernel
    sphinx
    kernel-doc
    parse-headers
-
-.. only::  subproject and html
-
-   Indices
-   =======
-
-   * :ref:`genindex`
+   contributing
+   maintainer-profile
+   checktransupdate
Documentation/translations/it_IT/doc-guide/kernel-doc.rst +69 -19

169 lines not on this page · raw message

Documentation/translations/it_IT/doc-guide/maintainer-profile.rst new file +60 -0

60 lines not on this page · raw message

Documentation/translations/it_IT/doc-guide/parse-headers.rst +110 -110

305 lines not on this page · raw message

Documentation/translations/it_IT/doc-guide/sphinx.rst +137 -41

241 lines not on this page · raw message

Signature · 1 line
2.47.3
maintainer Applied
#1 lore raw
Quoted 51 lines · Federico Vaga

Update the Italian translation of Documentation/doc-guide to catch up with the following upstream commits:

doc-guide/index.rst:
commit a592a36e4937 ("Documentation: use a source-read extension for the index link boilerplate") commit d40981350844 ("doc-guide: add help documentation checktransupdate.rst")

doc-guide/sphinx.rst:
commit f1c2db1f145b ("docs: move test_doc_build.py to tools/docs")
commit abd61d1ff8f0 ("scripts: sphinx-pre-install: move it to tools/docs")
commit 9322af5e6557 ("docs: sphinx: add a file with the requirements for lowest version") commit d6d886005d32 ("Docs: doc-guide: update sphinx.rst Sphinx version number") commit 5ccab49c104c ("docs: doc-guide: clarify latest theme usage")
commit b31274d58d21 ("docs: drop the version constraints for sphinx and dependencies") commit 40be2369dc0e ("Documentation: multiple .rst files: Fix grammar and more consistent formatting") commit 3e893e16af55 ("docs: Raise the minimum Sphinx requirement to 2.4.4")
commit 86b17aaf2e88 ("docs: automarkup: linkify git revs")
commit 35d4a3c67eb5 ("docs/doc-guide: Clarify how to write tables")
commit 26d797ffc1c0 ("docs: update sphinx.rst to reflect the default theme change") commit 679b4bc25fc7 ("docs/doc-guide: Add documentation on SPHINX_IMGMATH")
commit 4d627ef12b40 ("docs/doc-guide: Mention make variable SPHINXDIRS")
commit 7c43214dddfd ("docs/doc-guide: Add footnote on Inkscape for better images in PDF documents")

doc-guide/kernel-doc.rst:
commit 827b9458c933 ("docs: kernel-doc.rst: document private: scope propagation") commit eba6ffd126cd ("docs: kdoc: move kernel-doc to tools/docs")
commit 90f1d896d59f ("doc-guide: kernel-doc: specify that W=n does not check header files") commit b580fa304c85 ("docs: kernel-doc.rst: document the new "var" kernel-doc markup") commit 8deb5d725b48 ("docs: kernel-doc.rst: don't let automarkup mangle with consts") commit dd3e817e879c ("doc-guide: kernel-doc: add %CONST examples")
commit 7e8a8143ecc3 ("docs: add support to build manpages from kerneldoc output") commit 9e6c5870bb44 ("Documentation: kernel-doc: enumerate identifier *type*s") commit 23a0bc285159 ("doc-guide: kernel-doc: document Returns: spelling")

doc-guide/parse-headers.rst:
commit 6ae0f2072768 ("docs: parse-headers.rst: Fix a typo")
commit 68f3d40ea0ce ("docs: parse-headers.rst: remove uneeded parenthesis") commit d69a03a97a2d ("docs: doc-guide: parse-headers.rst update its documentation")

Also add the translations for the following pages, which had none:

doc-guide/contributing.rst:
commit d96574b0b49d ("Add a document on how to contri

doc-guide/maintainer-profile.rst:
commit 53b7f3aa411b ("Add a maintainer entry profile for documentation")

doc-guide/checktransupdate.rst:
commit d40981350844 ("doc-guide: add help documentation checktransupdate.rst")

Quoted 12 lines
---
 .../it_IT/doc-guide/checktransupdate.rst      |  59 ++++
 .../it_IT/doc-guide/contributing.rst          | 319 ++++++++++++++++++
 .../translations/it_IT/doc-guide/index.rst    |  13 +-
 .../it_IT/doc-guide/kernel-doc.rst            |  88 +++--
 .../it_IT/doc-guide/maintainer-profile.rst    |  60 ++++
 .../it_IT/doc-guide/parse-headers.rst         | 220 ++++++------
 .../translations/it_IT/doc-guide/sphinx.rst   | 178 +++++++---
 7 files changed, 757 insertions(+), 180 deletions(-)
 create mode 100644 Documentation/translations/it_IT/doc-guide/checktransupdate.rst
 create mode 100644 Documentation/translations/it_IT/doc-guide/contributing.rst
 create mode 100644 Documentation/translations/it_IT/doc-guide/maintainer-profile.rst

Applied, thanks.

jon