Fix: The paragraph in programming.po fail with a proper :: with: (#149)

programming.rst:1885:<translated>:3:Literal block expected; none found.

Reviewed-on: AFPy/python-docs-fr#149
Reviewed-by: jeanas <jean@abou-samra.fr>
Co-authored-by: Julien Palard <julien@palard.fr>
Co-committed-by: Julien Palard <julien@palard.fr>
This commit is contained in:
Julien Palard 2023-05-31 09:55:00 +00:00 committed by jeanas
parent 84018bb842
commit 3ebf8e4a31
3 changed files with 13 additions and 13 deletions

View File

@ -177,13 +177,13 @@ check-headers:
@echo Checking po headers... @echo Checking po headers...
@sh .scripts/check-headers.sh $(SRCS) @sh .scripts/check-headers.sh $(SRCS)
.PHONY: check-colons # .PHONY: check-colons
check-colons: # check-colons:
@echo Checking colons... # @echo Checking colons...
@python .scripts/check-colon.py --check $(SRCS) # @python .scripts/check-colon.py --check $(SRCS)
.PHONY: verifs .PHONY: verifs
verifs: spell line-length check-headers check-colons sphinx-lint verifs: spell line-length check-headers sphinx-lint
.PHONY: clean .PHONY: clean
clean: clean:

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Python 3\n" "Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-14 13:19+0200\n" "POT-Creation-Date: 2023-04-14 13:19+0200\n"
"PO-Revision-Date: 2022-11-20 22:12+0100\n" "PO-Revision-Date: 2023-05-25 11:09+0200\n"
"Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n" "Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n" "Language: fr\n"
@ -2868,7 +2868,7 @@ msgstr ""
"peu de subtilité lorsque ``None`` est une valeur acceptable pour le " "peu de subtilité lorsque ``None`` est une valeur acceptable pour le "
"paramètre. Dans ces cas, il faut créer un objet singleton dit " "paramètre. Dans ces cas, il faut créer un objet singleton dit "
 sentinelle », distinct de toute valeur acceptable. Voici par exemple "  sentinelle », distinct de toute valeur acceptable. Voici par exemple "
"comment écrire une méthode qui émule :meth:`dict.pop` ::" "comment écrire une méthode qui émule :meth:`dict.pop` :"
#: faq/programming.rst:1901 #: faq/programming.rst:1901
msgid "" msgid ""

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Python 3\n" "Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-14 13:19+0200\n" "POT-Creation-Date: 2023-04-14 13:19+0200\n"
"PO-Revision-Date: 2021-10-22 01:46+0200\n" "PO-Revision-Date: 2023-05-25 11:00+0200\n"
"Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n" "Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n" "Language: fr\n"
@ -133,8 +133,8 @@ msgstr ""
"Si vous voulez compiler CPython vous-même, la première chose à faire est de " "Si vous voulez compiler CPython vous-même, la première chose à faire est de "
"récupérer le `code source <https://www.python.org/downloads/source/>`_. Vous " "récupérer le `code source <https://www.python.org/downloads/source/>`_. Vous "
"pouvez télécharger la dernière version ou faire un `clone <https://devguide." "pouvez télécharger la dernière version ou faire un `clone <https://devguide."
"python.org/setup/#get-the-source-code>`_. (Si vous voulez contribuer à " "python.org/setup/#get-the-source-code>`_. (Si vous voulez contribuer à des "
"des correctifs, il vous faut un clone.)" "correctifs, il vous faut un clone.)"
#: using/unix.rst:75 #: using/unix.rst:75
msgid "The build process consists of the usual commands::" msgid "The build process consists of the usual commands::"
@ -172,9 +172,9 @@ msgid ""
"software; they may be the same." "software; they may be the same."
msgstr "" msgstr ""
"Ceux-ci sont sujets à des différences en fonction des conventions locales " "Ceux-ci sont sujets à des différences en fonction des conventions locales "
"d'installation ; :option:`prefix <--prefix>` et :option:`exec_prefix " "d'installation ; :option:`prefix <--prefix>` et :option:`exec_prefix <--exec-"
"<--exec_prefix` sont dépendants de linstallation et doivent être " "prefix>` sont dépendants de linstallation et doivent être interprétés comme "
"interprétés comme pour des logiciels GNU ; ils peuvent être égaux." "pour des logiciels GNU ; ils peuvent être égaux."
#: using/unix.rst:100 #: using/unix.rst:100
msgid "" msgid ""