8000 Correction de CPYTHON_CURRENT_COMMIT by jeanas · Pull Request #1732 · python/python-docs-fr · GitHub
[go: up one dir, main page]

Skip to content

Correction de CPYTHON_CURRENT_COMMIT #1732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ fuzzy: ensure_prerequisites
.PHONY: verifs
verifs: wrap spell

# Attention à ne pas utiliser $(shell ...) pour git rev-parse
# car cela exécute la commande à la lecture du Makefile, avant
# les commandes git du début de la règle.
.PHONY: merge
merge: ensure_prerequisites
@echo "Merge from $(UPSTREAM)"
Expand All @@ -141,7 +144,7 @@ merge: ensure_prerequisites
rm -fr venv/cpython/pot/
sed -i 's|^#: .*Doc/|#: |' *.po */*.po
powrap -m
@printf "\n%s %s\n" "Replace CPYTHON_CURRENT_COMMIT in Makefile by: " $(shell git -C venv/cpython/ rev-parse HEAD)
@printf "\n%s %s\n" "Replace CPYTHON_CURRENT_COMMIT in Makefile by: " `git -C venv/cpython/ rev-parse HEAD`
@printf 'To add, you can use:\n git status -s | grep "^ M .*\.po" | cut -d" " -f3 | while read -r file; do if [ $$(git diff "$$file" | wc -l) -gt 13 ]; then git add "$$file"; fi ; done\n'

.PHONY: clean
Expand Down
4 changes: 2 additions & 2 deletions c-api/call.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-01 16:00+0200\n"
"POT-Creation-Date: 2021-10-20 22:08+0200\n"
"PO-Revision-Date: 2020-07-20 15:07+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
Expand Down Expand Up @@ -250,7 +250,7 @@ msgstr ""
msgid ""
"Various functions are available for calling a Python object. Each converts "
"its arguments to a convention supported by the called object – either "
"*tp_call* or vectorcall. In order to do as litle conversion as possible, "
"*tp_call* or vectorcall. In order to do as little conversion as possible, "
"pick one that best fits the format of data you have available."
msgstr ""

Expand Down
6 changes: 3 additions & 3 deletions c-api/init_config.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-23 16:16+0200\n"
"POT-Creation-Date: 2021-10-20 22:08+0200\n"
"PO-Revision-Date: 2019-09-04 11:42+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
Expand Down Expand Up @@ -42,7 +42,7 @@ msgid ""
"The :ref:`Isolated Configuration <init-isolated-conf>` can be used to embed "
"Python into an application. It isolates Python from the system. For example, "
"environments variables are ignored, the LC_CTYPE locale is left unchanged "
"and no signal handler is registred."
"and no signal handler is registered."
msgstr ""

#: c-api/init_config.rst:27
Expand Down Expand Up @@ -870,7 +870,7 @@ msgstr ""

#: c-api/init_config.rst:699
msgid ""
"At Python statup, the encoding name is normalized to the Python codec name. "
"At Python startup, the encoding name is normalized to the Python codec name. "
"For example, ``\"ANSI_X3.4-1968\"`` is replaced with ``\"ascii\"``."
msgstr ""

Expand Down
11 changes: 7 additions & 4 deletions distributing/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-23 16:16+0200\n"
"POT-Creation-Date: 2021-10-20 22:08+0200\n"
"PO-Revision-Date: 2021-10-17 19:02+0200\n"
"Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
Expand Down Expand Up @@ -77,8 +77,9 @@ msgid "Key terms"
msgstr "Vocabulaire"

#: distributing/index.rst:34
#, fuzzy
msgid ""
"the `Python Packaging Index <https://pypi.org>`__ is a public repository of "
"the `Python Package Index <https://pypi.org>`__ is a public repository of "
"open source licensed packages made available for use by other Python users"
msgstr ""
"le `Python Packaging Index <https://pypi.org/pypi>`__ est un dépôt public de "
Expand Down Expand Up @@ -274,7 +275,8 @@ msgstr ""
"project_>`_ ;"

#: distributing/index.rst:130
msgid "`Uploading the project to the Python Packaging Index`_"
#, fuzzy
msgid "`Uploading the project to the Python Package Index`_"
msgstr ""
"`(en) Téléverser le projet sur le Python Packaging Index <Uploading the "
"project to the Python Packaging Index_>`_ ;"
Expand All @@ -301,7 +303,8 @@ msgid "This isn't an easy topic, but here are a few tips:"
msgstr "Ce n'est pas un sujet facile, mais voici quelques conseils :"

#: distributing/index.rst:153
msgid "check the Python Packaging Index to see if the name is already in use"
#, fuzzy
msgid "check the Python Package Index to see if the name is already in use"
msgstr "vérifiez dans le *Python Packaging Index* si le nom est déjà utilisé"

#: distributing/index.rst:154
Expand Down
5 changes: 3 additions & 2 deletions faq/design.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-23 16:16+0200\n"
"POT-Creation-Date: 2021-10-20 22:08+0200\n"
"PO-Revision-Date: 2021-10-17 18:30+0200\n"
"Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
Expand Down Expand Up @@ -1378,11 +1378,12 @@ msgstr ""
"Pourquoi l'instruction ``with`` ne prend-elle pas en charge les générateurs ?"

#: faq/design.rst:714
#, fuzzy
msgid ""
"For technical reasons, a generator used directly as a context manager would "
"not work correctly. When, as is most common, a generator is used as an "
"iterator run to completion, no closing is needed. When it is, wrap it as "
"\"contextlib.closing(generator)\" in the 'with' statment."
"\"contextlib.closing(generator)\" in the 'with' statement."
msgstr ""
"Pour des raisons d'ordre technique, un générateur utilisé directement comme "
"gestionnaire de contexte ne pourrait pas fonctionner. Dans le cas le plus "
Expand Down
Loading
0