Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
550b1de
Start translating library/unittest.po
Krilivye Nov 4, 2018
464c7ac
Poursuite de la traduction + corrections
Krilivye Nov 5, 2018
5b0b4a0
Poursuite de la traduction jusqu'à Réutilisation d'ancien code de test
Krilivye Nov 8, 2018
07a578b
Merge branch '3.7' of https://github.com/python/python-docs-fr into u…
Krilivye Nov 9, 2018
2be850a
Merge branch '3.7' of https://github.com/python/python-docs-fr into u…
Krilivye Nov 12, 2018
6c4036d
corrections des remarques
Krilivye Nov 12, 2018
90917c5
poursuite de la traduction jusqu'à Cas de tests
Krilivye Nov 12, 2018
6043f9f
Ajout de réusinage
Krilivye Nov 15, 2018
b509368
Merge branch '3.7' of https://github.com/python/python-docs-fr into u…
Krilivye Nov 20, 2018
9c40fb5
Merge branch 'unittest' of github.com:Krilivye/python-docs-fr into un…
Krilivye Nov 20, 2018
4a0de94
corrections + poursuite de la traduction jusqu'aux 'assert'
Krilivye Nov 20, 2018
d2489e1
Ajout de réimplémenter.
Krilivye Nov 28, 2018
4ff551d
Merge branch '3.7' of https://github.com/python/python-docs-fr into u…
Krilivye Dec 9, 2018
1e3da69
Poursuite de la traduction jusqu'à assertWarns
Krilivye Dec 9, 2018
fa62054
Merge branch '3.7' of https://github.com/python/python-docs-fr into u…
Krilivye Dec 11, 2018
0f76cbb
Poursuite de la traduction jusqu'à assertMultilineEqual
Krilivye Dec 11, 2018
05efd6b
Merge pull request #1 from python/3.7
Seluj78 Dec 14, 2018
15328db
Merge branch '3.7' of https://github.com/python/python-docs-fr into u…
Krilivye Dec 16, 2018
2868828
poursuite de la traduction jusqu'à Grouping tests
Krilivye Dec 16, 2018
c1fc27f
Merge pull request #2 from python/3.7
Seluj78 Dec 17, 2018
60ab9d3
Merge pull request #3 from python/3.7
Seluj78 Dec 27, 2018
570a16c
Merge branch '3.7' of https://github.com/python/python-docs-fr into u…
Krilivye Dec 30, 2018
e4e6c81
Poursuite de la traduction jusqu'à startTest de TestRestult. Fixture
Krilivye Jan 1, 2019
b1925e4
Traduction des dernières lignes. Reste à refaire une passe de cohérence
Krilivye Jan 2, 2019
1ec2d7c
Correction pour travis
Krilivye Jan 2, 2019
fe74f85
Merge branch '3.7' of https://github.com/python/python-docs-fr into u…
Krilivye Jan 27, 2019
22e9967
update + replace des : :: en nbrsp::
Krilivye Jan 27, 2019
622fa31
relecture logique
Krilivye Jan 28, 2019
820494f
Update library/unittest.po
christopheNan Feb 14, 2019
330bd4b
Update library/unittest.po
christopheNan Feb 14, 2019
ab02c8c
Update library/unittest.po
christopheNan Feb 14, 2019
05a2995
Apply suggestions from code review
christopheNan Feb 14, 2019
212a698
Mise à jour des traductions marquées 'fuzzy' dans library/ (#555)
christopheNan Feb 22, 2019
2f63bab
collections: FIX typo.
JulienPalard Feb 22, 2019
a07ba9f
Apply suggestions from code review
JulienPalard Feb 24, 2019
4039603
Ajout de traduction manquantes sur library/binascii.po (#530)
Feb 25, 2019
3a13220
Rewrap library/binascii.po.
JulienPalard Feb 25, 2019
b161d67
prise en compte des remarques
Krilivye Feb 24, 2019
96398ef
Merge branch 'unittest' into 3.7
JulienPalard Feb 25, 2019
5bce1c9
unittest: Missing msgstr (merge error maybe).
JulienPalard Feb 25, 2019
e7e05b6
sys translation
JulienPalard Feb 25, 2019
6f39456
Proofreading library/sys.po
JulienPalard Feb 25, 2019
c104c08
powrap all the things.
JulienPalard Feb 25, 2019
655e473
Started translating using/windows.po
JulienPalard Feb 25, 2019
f059986
Proofreading windows.po
JulienPalard Feb 26, 2019
b93c298
Bump 38%
JulienPalard Feb 26, 2019
532c8f8
FIX: pospell did not spotted those on my laptop.
JulienPalard Feb 26, 2019
d8f3021
changing the sentence in builtdist.po (#563)
kw-andy Feb 26, 2019
3135c5e
builtdist: Suppression d'une redondance.
JulienPalard Feb 26, 2019
295d837
Correction de typo dans functions (description de repr) (#570)
Lattay Feb 26, 2019
989b471
Premier essai de commit pickle
JulienPalard Feb 26, 2019
c93b0f3
Proofreading pickle.po.
JulienPalard Feb 26, 2019
e37d619
Translated library/__future__.po (#498)
Seluj78 Feb 26, 2019
2d89812
reflection.po
JulienPalard Feb 26, 2019
6b3bad6
Proofreading reflection.po
JulienPalard Feb 26, 2019
0f15368
FIX: thread.
JulienPalard Feb 26, 2019
6433216
Traduction of warnings.po into French is achieved at 100%
JulienPalard Feb 26, 2019
2e2671c
FIX: Missing reference.
JulienPalard Feb 26, 2019
81f886c
Proofreading warnings.po
JulienPalard Feb 26, 2019
90147b4
Partly translated, not reviewed
JulienPalard Feb 26, 2019
25a2f2e
Proofreading library/mailbox.po
JulienPalard Feb 26, 2019
9fb3ca0
stringprep.po (#566)
VivienLambert Feb 26, 2019
815b78a
Proofreading library/stringprep.po
JulienPalard Feb 26, 2019
2aae5a6
Trying to get a more up-to-date hunspell.
JulienPalard Feb 26, 2019
6414369
Merge pull request #4 from python/3.7
Seluj78 Feb 27, 2019
cf4933b
Fixed fuzzys in zipfile
Seluj78 Feb 27, 2019
3a9a20f
Fix erreur genre
Seluj78 Feb 28, 2019
bd6c2ae
Fixed fuzzys in intro (#591)
Seluj78 Mar 1, 2019
f8b518b
Fixed fuzzys in string
JulienPalard Mar 2, 2019
2da51f5
Fixed fuzzys in os
JulienPalard Mar 2, 2019
ea21b02
Merge pull request #601 from Seluj78/library-zipfile
christopheNan Mar 2, 2019
698457a
Adding myself to translators (#604)
VivienLambert Mar 3, 2019
a766491
Finished translating using/windows.po (#573)
Seluj78 Mar 3, 2019
98ee8cd
howto/unicode.po
JulienPalard Mar 4, 2019
65ab8c1
FIX: It's not -255 but 255.
JulienPalard Mar 4, 2019
53ddd44
Propagating known translations.
JulienPalard Mar 9, 2019
579fcbf
Disambiguate between transifex and unpropagated translations.
JulienPalard Mar 9, 2019
f4eae34
Merge pull request #5 from python/3.7
Seluj78 Mar 11, 2019
0b0078e
FIX: IO bound does not means limited by the memory.
JulienPalard Mar 11, 2019
befad1d
travis: Whine about files not correctly wrapped. (#607)
JulienPalard Mar 14, 2019
d8df35a
time.po
JulienPalard Mar 18, 2019
e4ed028
Bump 39%
JulienPalard Mar 18, 2019
d8d5395
FIX: For Hunspell 1.3.3.
JulienPalard Mar 18, 2019
7ad224d
Work about translation on the library/calendar.po file
JulienPalard Mar 20, 2019
703a04d
Merge from upstream/3.7 (#606)
Seluj78 Mar 20, 2019
fa40a17
Merge from upstream/3.7 (#609)
JulienPalard Mar 20, 2019
a023223
Updated README with potodo instruction (#610)
Seluj78 Mar 21, 2019
45d762b
README: Tell about opening issue to lock a file.
JulienPalard Mar 21, 2019
26c604f
Update README.rst (#614)
Seluj78 Mar 21, 2019
8fa5442
Fixed fuzzys in library/re.po (#594)
Seluj78 Mar 21, 2019
86719c9
adding the extra translation for objbuffer.po (#616)
kw-andy Mar 21, 2019
98af3ef
Merge pull request #6 from python/3.7
Seluj78 Mar 21, 2019
7a36c82
fixed fuzzys in c-api/objbuffer.po (#588)
Seluj78 Mar 21, 2019
289b0b1
Updated README - More info on the getting started section (#623)
Seluj78 Mar 22, 2019
cfb63f0
J'ai mis a jour la documentation SQLITE3
JulienPalard Mar 26, 2019
46d241c
Proofreadig sqlite3
JulienPalard Mar 26, 2019
6fc6160
Fin de la traduction de tempfile.po
JulienPalard Mar 26, 2019
0cfaf70
Proofreading tempfile
JulienPalard Mar 26, 2019
fbcf17e
translation of c-api/iterator.po
JulienPalard Mar 26, 2019
4f596ce
Proofreading c-api/iterator.
JulienPalard Mar 26, 2019
f860a3f
howto/clinic translation
JulienPalard Mar 26, 2019
044430e
FIX: Typo.
JulienPalard Mar 26, 2019
3108ec2
Proofreading howto/clinic
JulienPalard Mar 26, 2019
d0e2328
Fixed fuzzys and finished translating faq/design.po (#589)
Seluj78 Mar 26, 2019
8096d98
Finished translating and fixed fuzzy in library/hashlib.po (#590)
Seluj78 Mar 26, 2019
aa637d1
Proofreading hashlib
JulienPalard Mar 26, 2019
fad39b0
Fixed fuzzys in library/queue.po (#593)
Seluj78 Mar 26, 2019
211f724
Fixed fuzzys in library/stdtypes.po (#595)
Seluj78 Mar 26, 2019
a985e8e
Fixed fuzzys in library/subprocess.po (#597)
Seluj78 Mar 26, 2019
929dfe8
Fixed fuzzys in library/sys.po (#598)
Seluj78 Mar 26, 2019
67ca369
Fixed fuzzys in library/termios.po (#599)
Seluj78 Mar 26, 2019
42a37f5
Merge pull request #7 from python/3.7
Seluj78 Mar 27, 2019
0c3015d
Fixed translation
Seluj78 Mar 27, 2019
9b70c95
Apply suggestions from code review
christopheNan Mar 28, 2019
552463e
powrap
Seluj78 Mar 28, 2019
a9ecbc4
library/asyncio-task (#548)
awecx Mar 29, 2019
878499a
Proofreading asyncio-task.
JulienPalard Mar 29, 2019
3642203
Merge from upstream/3.7
JulienPalard Mar 29, 2019
25f7d69
Fixed fuzzys in library/venv.po (#600)
Seluj78 Mar 29, 2019
5238d09
translation of filecmp.po (#618)
Zepmanbc Mar 29, 2019
96741e1
translation of the weakref.po (#624)
kw-andy Mar 29, 2019
9490a56
Fixed translation for library/functions (#650)
Seluj78 Mar 29, 2019
b5211c9
Fixed translations for library/multiprocessing.po (#651)
Seluj78 Mar 29, 2019
72cf379
Fixed translations for library/pdb.po (#652)
Seluj78 Mar 29, 2019
3aa2aa0
Fixed translations for library/sys.po (#653)
Seluj78 Mar 29, 2019
097143e
Fixed translations in library/tempfile.po (#654)
Seluj78 Mar 29, 2019
b6bb04b
Merge branch '3.7' into faq-general
JulienPalard Mar 29, 2019
e6da265
Programmation fonctionelle (#625)
louisparis Mar 30, 2019
596b7d4
Add checks to Makefile (#642)
christopheNan Mar 30, 2019
f78e129
Update faq/general.po
Seluj78 Apr 1, 2019
701846b
Use nice badge for % translated.
JulienPalard Apr 2, 2019
e1fec6d
powrap
Seluj78 Apr 3, 2019
db5efbb
Merge pull request #655 from Seluj78/faq-general
christopheNan Apr 3, 2019
b8ad383
Working on howto/sockets.po (#621)
vtrubesset Apr 3, 2019
33cb2dd
Traduction de namespace par espace de nommage, sauf pour le XML (#626)
christopheNan Apr 3, 2019
1892c17
Suivi des 'fuzzy' (#641)
christopheNan Apr 3, 2019
6787bca
Fixed translation on library/unittest.po (#630)
Seluj78 Apr 7, 2019
81dc584
Updated library/time.po for fuzzys (#648)
Seluj78 Apr 7, 2019
9e2cca2
Documenting smartquotes and compose key.
JulienPalard Apr 7, 2019
3cd2a5e
Add auto make merge (#660)
Seluj78 Apr 8, 2019
005e879
Upstream merge (#659)
Seluj78 Apr 10, 2019
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
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
language: python
dist: xenial
python: 3.6
before_install:
- sudo apt-get update
- sudo apt-get install -y hunspell hunspell-fr-comprehensive
install:
- pip install pospell
- pip install pospell "powrap>=0.3.0"
- pospell --version
- powrap --version
script:
- powrap --check --quiet **/*.po
- pospell -p dict -l fr_FR **/*.po
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=902196d867
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=796698adf
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#
# - make # Automatically build an html local version
# - make todo # To list remaining tasks
# - make verifs # To check for correctness: wrapping, spelling
# - make powrap # To check for wrapping
# - make pospell # To check for spelling
# - make merge # To merge pot from upstream
# - make fuzzy # To find fuzzy strings
# - make progress # To compute current progression
Expand Down Expand Up @@ -42,6 +45,7 @@ $(SPHINX_CONF):
.PHONY: upgrade_venv
upgrade_venv:
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
$(VENV)/bin/pip install -U potodo powrap pospell


$(VENV)/bin/activate: $(SPHINX_CONF)
Expand All @@ -58,10 +62,27 @@ progress:
$(VENV)/bin/potodo: $(VENV)/bin/activate
$(VENV)/bin/pip install potodo

$(VENV)/bin/powrap: $(VENV)/bin/activate
$(VENV)/bin/pip install powrap

$(VENV)/bin/pospell: $(VENV)/bin/activate
$(VENV)/bin/pip install pospell

.PHONY: todo
todo: $(VENV)/bin/potodo
$(VENV)/bin/potodo --github python/python-docs-fr

.PHONY: verifs
verifs: powrap pospell

.PHONY: powrap
powrap: $(VENV)/bin/powrap
$(VENV)/bin/powrap --check --quiet *.po */*.po

.PHONY: pospell
pospell: $(VENV)/bin/pospell
$(VENV)/bin/pospell -p dict -l fr_FR *.po */*.po

.PHONY: merge
merge: upgrade_venv
ifneq "$(shell cd $(CPYTHON_CLONE) 2>/dev/null && git describe --contains --all HEAD)" "$(BRANCH)"
Expand Down
130 changes: 107 additions & 23 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
French Translation of the Python Documentation
==============================================

.. image:: https://travis-ci.org/python/python-docs-fr.svg?branch=3.7
:target: https://travis-ci.org/python/python-docs-fr
|build| |progression|

**Translated: 36%**
.. |build| image:: https://travis-ci.org/python/python-docs-fr.svg?branch=3.7
:target: https://travis-ci.org/python/python-docs-fr
:width: 45%

.. |progression| image:: https://img.shields.io/badge/dynamic/json.svg?label=fr&query=%24.fr&url=http%3A%2F%2Fgce.zhsj.me%2Fpython/newest
:width: 45%

Documentation Contribution Agreement
------------------------------------
Expand Down Expand Up @@ -54,51 +58,70 @@ Prerequisites:
if you don't already have one).


Let's start:
Getting Started:

You'll need to fork the `python-docs-fr
<https://github.com/python/python-docs-fr>`_ clicking its ``Fork``
<https://github.com/python/python-docs-fr>`_ source repository by clicking its ``Fork``
button. This creates a copy of the whole project on your github
account: a place where you have the rights to do modifications.

Step by step:

.. code-block:: bash

# Git clone your github fork using ssh (replace JulienPalard):
git clone git@github.com:JulienPalard/python-docs-fr.git
# Clone your github fork with `git` using ssh or https:
git clone git@github.com:YOUR_GITHUB_USERNAME/python-docs-fr.git
git clone https://github.com:YOUR_GITHUB_USERNAME/python-docs-fr.git

# Go to the cloned directory:
# Go into the cloned directory:
cd python-docs-fr/

# Add the upstream (the public repository) using HTTPS (won't ask for password):
# This is so git knows what/where the upstream is.
git remote add upstream https://github.com/python/python-docs-fr.git

All the translations must be made on the latest release.
We never translate on an oldest version, by example, the latest python release
is python 3.7, we don't want to translate directly on the python 3.5 release.
If needed translations would be backported on the oldest versions by the
`documentation team <https://www.python.org/dev/peps/pep-8015/#documentation-team>`.
Next, you need to find a file to work on.
You can use `potodo <https://github.com/seluj78/potodo>`, a tool made to find ``po`` to do.
Install it using pip (``pip install potodo``) in a ``python3.7`` environement.
Then run the command ``potodo`` in your cloned fork.
From the list returned by the command, you can choose any file that is not reserved.

**We recommend not starting with a file from ``c-api`` as it is very technical.**

Now you're ready to start a work session, each time you'll start a new task, start here:
Once you've choosen a file to work one, please open an `issue on github <https://github.com/python/python-docs-fr>` in the format of `I'm working on FOLDER/FILE.po`. This is done to update ``potodo`` as it checks the github API for reserved ``.po`` files in issues and pull requests.

Now you're ready to start a work session. Each time you'll start a new file, start here:

.. code-block:: bash

# To work, we'll need a branch, based on an up-to-date (freshly fetched)
# upstream/3.7 branch, let's say we'll work on glossary so we name
# the branch "glossary":
# upstream/3.7 branch. We will name our branch "library-sys" but you shall name yours
# whatever you want. Usually you'll name a branch based on the file you're working on.
# For example, If you're working on "library/venv.po" you can name your branch "library-venv"

# Update your local version to the latest
git fetch upstream
git checkout -b glossary upstream/3.7
# Create a new branch named "library-sys" based on "upstream/3.7"
git checkout -b library-sys upstream/3.7

# You can now work on the file, typically using poedit,
poedit directory/file.po
# Of course, replace "library/sys.po" by the file you've chose earlier
poedit library/sys.po

# When you are done translating, you can run pospell (pip install pospell).
# This tool was made to check if you don't have any french mistakes.
# You can run the following command: pospell -p dict -l fr_FR **/*.po to check all files
# or replace **/*.po by your specific file (recommended).

# You can then run powrap (pip install powrap) which will rewrap
# You modified file to the correct line length of `80`.
# Run this command: `powrap **/*.po` or replace `**/*.po` with your modified file.

# When everything is clear (syntax errors from Sphinx, html rendering,
# semantics, typography),
# When everything powrap and pospell passes without errors,
# you can commit your work with a nice explicit message:
git commit -a -m "Working on glossary."
git commit -a -m "Working on library/sys.po."

# Then push your modifications to your github clone,
# Then push your modifications to your github fork,
# as they are ephemeral branches, let's not configure git to track them all,
# "origin HEAD" is a "special" syntax to say "Push on origin,
# on a branch with the same name as the local one",
Expand Down Expand Up @@ -136,6 +159,13 @@ Before commiting, you should use `grammalecte
<https://grammalecte.net/>`_ to check for your translations.


All the translations must be made on the latest release.
We never translate on an oldest version. For example, if the latest python release
is Python 3.7, we don't want to translate directly on the python 3.5 release.
If needed translations would be backported on the oldest versions by the
`documentation team <https://www.python.org/dev/peps/pep-8015/#documentation-team>`.


What to translate
~~~~~~~~~~~~~~~~~

Expand All @@ -156,6 +186,22 @@ translate untranslated ones (find them using ``make todo``)..
title.


The case of "---"
~~~~~~~~~~~~~~~~~

The english version uses a thing named `smartquotes
<http://docutils.sourceforge.net/docs/user/smartquotes.html>`_, that
tries to be smart, works in english, but soon causes issues in other
languages. So we desactivated it.

Smartquotes is also responsible for the transformation of ``--`` to
en-dash (``–``), ``---`` to em-dash (``—``), and `...` to `…`.

As we don't have smartquotes we'll also have to "translate" those
manually, so if you see ``---`` in english, you have to translate it
to ``—`` in french.


The case of "::"
~~~~~~~~~~~~~~~~

Expand All @@ -181,6 +227,32 @@ space, so it's still not really valid french. Yes, better learn how to
type no-break space.


How to input em-dash, ellipsis, french quotes, or no-break spaces?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It really depends on your OS and your keyboard sadly. On Linux you can
use a `Compose Key <https://en.wikipedia.org/wiki/Compose_key>`_, it's
easy to configure either using your graphical keyboard configuration
tool or via ``dpkg-reconfigure keyboard-configuration`. On Windows you
can use `wincompose <https://github.com/SamHocevar/wincompose>`_.

With a compose key (I use ``alt-gr``, you can also use ``caps lock``)
you can use the following compositions:

- Compose ``<`` ``<`` gives ``«``
- Compose ``>`` ``>`` gives ``»``
- Compose space space gives an no-break space
- Compose ``.`` ``.`` ``.`` gives ``…``

As you noted, almost all compositions are easy to remember, so you can
try others and they should just work:

- Compose ``C`` ``=`` gives ``€``
- Compose ``1`` ``2`` gives ``½``
- Compose ``'`` ``E`` gives ``É``
- … …


Where to get help
~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -244,7 +316,8 @@ list comprehension liste en compréhension (liste en intension est
little-endian, big-endian `petit-boutiste, gros-boutiste
<https://fr.wikipedia.org/wiki/Endianness>`_
mutable muable
namespace *namespace*, espace de noms
namespace espace de nommage
(sauf pour le XML où c'est espace de noms)
parameter paramètre
prompt invite
raise lever
Expand Down Expand Up @@ -352,6 +425,17 @@ from Pypi.

You'll need to configure ``tx`` via ``tx init`` if not already done.

First propagate known translations locally:

.. code-block:: bash

pomerge --from-files **/*.po --to-files **/*.po
powrap --modified
git commit -m "Propagating known translations."


Then pull from transifex:

.. code-block:: bash

pomerge --from-files **/*.po
Expand Down
2 changes: 2 additions & 0 deletions TRANSLATORS
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ Mickaël Bergem
Vincent Poulailleau
Jules Lasne
Mathieu Dupuy
Vivien Lambert
Andy Kwok
4 changes: 2 additions & 2 deletions bugs.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
"POT-Creation-Date: 2019-03-11 12:59+0100\n"
"PO-Revision-Date: 2018-07-31 19:26+0200\n"
"Last-Translator: \n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
Expand Down Expand Up @@ -47,7 +47,7 @@ msgstr "Bogues de documentation"
msgid ""
"If you find a bug in this documentation or would like to propose an "
"improvement, please submit a bug report on the :ref:`tracker <using-the-"
"tracker>`. If you have a suggestion how to fix it, include that as well."
"tracker>`. If you have a suggestion on how to fix it, include that as well."
msgstr ""
"Si vous trouvez un bogue dans cette documentation ou si vous désirez "
"proposer une amélioration, si cela concerne aussi la documentation en "
Expand Down
19 changes: 10 additions & 9 deletions c-api/allocation.po
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ msgid ""
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
"length information for a variable-size object."
msgstr ""
"Effectue les mêmes opérations que :c:func:`PyObject_Init` fait, et initialise "
"également l'information de la longueur pour un objet de taille variable."
"Effectue les mêmes opérations que :c:func:`PyObject_Init` fait, et "
"initialise également l'information de la longueur pour un objet de taille "
"variable."

#: ../Doc/c-api/allocation.rst:32
msgid ""
Expand All @@ -50,10 +51,10 @@ msgid ""
"tp_basicsize` field of the type object."
msgstr ""
"Alloue un nouvel objet Python en utilisant le type de structure C *TYPE* et "
"l'objet Python *type*. Les champs non définis par l'en-tête de "
"l'objet Python ne sont pas initialisés; le compteur de la référence objet "
"sera égal à un. La taille de l'allocation mémoire est déterminée par le champ "
":c:member:`~PyTypeObject.tp_basicsize` de l'objet type."
"l'objet Python *type*. Les champs non définis par l'en-tête de l'objet "
"Python ne sont pas initialisés; le compteur de la référence objet sera égal "
"à un. La taille de l'allocation mémoire est déterminée par le champ :c:"
"member:`~PyTypeObject.tp_basicsize` de l'objet type."

#: ../Doc/c-api/allocation.rst:41
msgid ""
Expand Down Expand Up @@ -85,9 +86,9 @@ msgid ""
msgstr ""
"Libère la mémoire allouée à un objet utilisant :c:func:`PyObject_New` ou :c:"
"func:`PyObject_NewVar`. Ceci est normalement appelé par le gestionnaire :c:"
"member:`~PyTypeObject.tp_dealloc` spécifié dans le type d'objet. Les champs de "
"l'objet ne doivent plus être accédés après cet appel puisque cet emplacement "
"mémoire ne correspond plus à un objet Python valide."
"member:`~PyTypeObject.tp_dealloc` spécifié dans le type d'objet. Les champs "
"de l'objet ne doivent plus être accédés après cet appel puisque cet "
"emplacement mémoire ne correspond plus à un objet Python valide."

#: ../Doc/c-api/allocation.rst:62
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/contextvars.po
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ msgstr ""

#: ../Doc/c-api/contextvars.rst:58
msgid "Type-check macros:"
msgstr ""
msgstr "Macros pour vérifier les types :"

#: ../Doc/c-api/contextvars.rst:62
msgid ""
Expand Down
Loading