Skip to content

Commit 5087de5

Browse files
committed
Backporting using pomerge --no-overwrite --to-files *.po */*.po
1 parent 1e8d67f commit 5087de5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+5495
-768
lines changed

c-api/arg.po

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ msgid ""
9090
"this object. You won't have to release any memory yourself. The only "
9191
"exceptions are ``es``, ``es#``, ``et`` and ``et#``."
9292
msgstr ""
93+
"En général, lorsqu'un format définit un pointeur vers un tampon, le tampon "
94+
"est géré par l'objet Python correspondant et le tampon partage la durée de "
95+
"vie de cet objet. vous n'avez pas à libérer de mémoire. Les seules "
96+
"exceptions sont ``es``, ``es#``, ``et`` et ``et#``."
9397

9498
#: ../Doc/c-api/arg.rst:42
9599
msgid ""
@@ -152,6 +156,13 @@ msgid ""
152156
"is raised. Unicode objects are converted to C strings using ``'utf-8'`` "
153157
"encoding. If this conversion fails, a :exc:`UnicodeError` is raised."
154158
msgstr ""
159+
"Convertit un objet Unicode en un pointeur vers une chaîne de caractères. "
160+
"S'il s'agit d'un pointeur vers une chaîne de caractères déjà existante, il "
161+
"est stocké dans la variable de type pointeur vers un caractère dont vous "
162+
"avez donné l'adresse. Une chaîne de caractères en C se termine par *NULL*. "
163+
"La chaîne de caractères Python ne doit donc pas contenir de caractère dont "
164+
"le code est *null*. Si elle en contient, une exception :exc:`ValueError` est "
165+
"levée. Si la conversion échoue, une :exc:`UnicodeError` est levée."
155166

156167
#: ../Doc/c-api/arg.rst:77
157168
msgid ""
@@ -160,12 +171,19 @@ msgid ""
160171
"strings, it is preferable to use the ``O&`` format with :c:func:"
161172
"`PyUnicode_FSConverter` as *converter*."
162173
msgstr ""
174+
"Ce format n'accepte pas les :term:`objets compatibles avec une chaîne "
175+
"d'octets <bytes-like object>`. Si vous voulez accepter les chemins du "
176+
"système de fichiers et les convertir vers des chaînes de caractères C, il "
177+
"est préférable d'utiliser le format ``O&`` avec :c:func:"
178+
"`PyUnicode_FSConverter` en tant que *converter*."
163179

164180
#: ../Doc/c-api/arg.rst:83 ../Doc/c-api/arg.rst:150
165181
msgid ""
166182
"Previously, :exc:`TypeError` was raised when embedded null code points were "
167183
"encountered in the Python string."
168184
msgstr ""
185+
"Auparavant, une :exc:`TypeError` était levée quand la chaîne de caractères "
186+
"Python contenait des codes NULL."
169187

170188
#: ../Doc/c-api/arg.rst:91
171189
msgid "``s*`` (:class:`str` or :term:`bytes-like object`) [Py_buffer]"
@@ -178,12 +196,19 @@ msgid ""
178196
"resulting C string may contain embedded NUL bytes. Unicode objects are "
179197
"converted to C strings using ``'utf-8'`` encoding."
180198
msgstr ""
199+
"Ce format accepte les objets Unicode et les *bytes-like object*. Cela "
200+
"remplit une structure :c:type:`Py_buffer` qui est fournie par l'appelant. "
201+
"Dans ce cas, la chaîne de caractères C qui en résulte peut contenir des "
202+
"octets NULL. Les objets Unicode sont convertis en chaînes de caractères C en "
203+
"utilisant l'encodage ``'utf-8'``."
181204

182205
#: ../Doc/c-api/arg.rst:98
183206
msgid ""
184207
"``s#`` (:class:`str`, read-only :term:`bytes-like object`) [const char \\*, "
185208
"int or :c:type:`Py_ssize_t`]"
186209
msgstr ""
210+
"``s#`` (:class:`str`, :term:`bytes-like object` en lecture seule) [``const "
211+
"char \\*``, ``int`` ou :c:type:`Py_ssize_t`]"
187212

188213
#: ../Doc/c-api/arg.rst:94
189214
msgid ""
@@ -192,6 +217,11 @@ msgid ""
192217
"second one its length. The string may contain embedded null bytes. Unicode "
193218
"objects are converted to C strings using ``'utf-8'`` encoding."
194219
msgstr ""
220+
"La même chose que ``s*``, mais n'accepte pas les objets muables. Le résultat "
221+
"est stocké dans deux variables C, la première est un pointeur vers une "
222+
"chaîne de caractères C, la seconde contient sa taille. La chaîne de "
223+
"caractères peut contenir des octets NULL. Les objets Unicode sont convertis "
224+
"vers des chaînes de caractères C utilisant l'encodage ``'utf-8'``."
195225

196226
#: ../Doc/c-api/arg.rst:102
197227
msgid "``z`` (:class:`str` or ``None``) [const char \\*]"
@@ -234,6 +264,8 @@ msgstr ""
234264
#: ../Doc/c-api/arg.rst:120
235265
msgid "``y`` (read-only :term:`bytes-like object`) [const char \\*]"
236266
msgstr ""
267+
"``y`` (lecture seule :term:`objet compatible avec une chaîne d'octets <bytes-"
268+
"like object>`) [constante char \\*]"
237269

238270
#: ../Doc/c-api/arg.rst:113
239271
msgid ""
@@ -242,12 +274,18 @@ msgid ""
242274
"contain embedded null bytes; if it does, a :exc:`ValueError` exception is "
243275
"raised."
244276
msgstr ""
277+
"Ce format convertit un *objet compatible avec une chaîne d'octets* en un "
278+
"pointeur C vers une chaîne de caractères ; il n'accepte pas les objets "
279+
"Unicode. Le tampon d'octets ne doit pas contenir d'octets *null* ; si c'est "
280+
"le cas, une exception :exc:`ValueError` est levée."
245281

246282
#: ../Doc/c-api/arg.rst:118
247283
msgid ""
248284
"Previously, :exc:`TypeError` was raised when embedded null bytes were "
249285
"encountered in the bytes buffer."
250286
msgstr ""
287+
"Auparavant, :exc:`TypeError` était levée lorsque des octets *null* étaient "
288+
"rencontrés dans le tampon d'octets."
251289

252290
#: ../Doc/c-api/arg.rst:125
253291
msgid "``y*`` (:term:`bytes-like object`) [Py_buffer]"
@@ -308,6 +346,13 @@ msgid ""
308346
"Python string must not contain embedded null code points; if it does, a :exc:"
309347
"`ValueError` exception is raised."
310348
msgstr ""
349+
"Convertit un objet Python Unicode en un pointeur C vers un tampon de "
350+
"caractères Unicode terminé par *NULL*. Vous devez passer l'adresse d'un "
351+
"pointeur :c:type:`Py_UNICODE`, qui sera rempli avec le pointeur vers un "
352+
"tampon Unicode existant. Veuillez noter que la taille d'un :c:type:"
353+
"`Py_UNICODE` dépend des options de compilation (soit 16, soit 32 bits). La "
354+
"chaîne de caractères Python ne doit pas contenir de code *NULL*. Si elle en "
355+
"contient, une exception :exc:`ValueError` est levée."
311356

312357
#: ../Doc/c-api/arg.rst:157 ../Doc/c-api/arg.rst:166 ../Doc/c-api/arg.rst:174
313358
#: ../Doc/c-api/arg.rst:182

c-api/bytes.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ msgstr ""
7575

7676
#: ../Doc/c-api/bytes.rst:68
7777
msgid "Format Characters"
78-
msgstr ""
78+
msgstr "Caractères de format"
7979

8080
#: ../Doc/c-api/bytes.rst:68
8181
msgid "Type"

c-api/intro.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ msgstr ""
157157

158158
#: ../Doc/c-api/intro.rst:113
159159
msgid "Reference Counts"
160-
msgstr ""
160+
msgstr "Compteurs de références"
161161

162162
#: ../Doc/c-api/intro.rst:115
163163
msgid ""

c-api/mapping.po

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ msgstr ""
1919

2020
#: ../Doc/c-api/mapping.rst:6
2121
msgid "Mapping Protocol"
22-
msgstr ""
22+
msgstr "Protocole de correspondance"
2323

2424
#: ../Doc/c-api/mapping.rst:8
2525
msgid ""
2626
"See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and :c:func:"
2727
"`PyObject_DelItem`."
2828
msgstr ""
29+
"Voir aussi :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` et :c:func:"
30+
"`PyObject_DelItem`."
2931

3032
#: ../Doc/c-api/mapping.rst:14
3133
msgid ""
@@ -40,6 +42,8 @@ msgid ""
4042
"Returns the number of keys in object *o* on success, and ``-1`` on failure. "
4143
"This is equivalent to the Python expression ``len(o)``."
4244
msgstr ""
45+
"Renvoie le nombre de clefs dans l'objet *o* et ``-1`` en cas d'échec. C'est "
46+
"l'équivalent de l'expression Python ``len(o)``."
4347

4448
#: ../Doc/c-api/mapping.rst:32
4549
msgid ""
@@ -61,19 +65,28 @@ msgid ""
6165
"on failure. This is equivalent to the Python statement ``del o[key]``. This "
6266
"is an alias of :c:func:`PyObject_DelItem`."
6367
msgstr ""
68+
"Supprime la correspondance associée à l'objet *key* dans l'objet *o*. "
69+
"Renvoie ``-1`` en cas d'échec. C'est l'équivalent de la commande Python "
70+
"``del o[key]``. C'est un alias pour :c:func:`PyObject_DelItem`."
6471

6572
#: ../Doc/c-api/mapping.rst:53
6673
msgid ""
6774
"Remove the mapping for the string *key* from the object *o*. Return ``-1`` "
6875
"on failure. This is equivalent to the Python statement ``del o[key]``."
6976
msgstr ""
77+
"Supprime la correspondance associée à la chaîne *key* dans l'objet *o*. "
78+
"Renvoie ``-1`` en cas d'échec. C'est l'équivalent de la commande Python "
79+
"``del o[key]``."
7080

7181
#: ../Doc/c-api/mapping.rst:59 ../Doc/c-api/mapping.rst:66
7282
msgid ""
7383
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
7484
"This is equivalent to the Python expression ``key in o``. This function "
7585
"always succeeds."
7686
msgstr ""
87+
"Renvoie ``1`` si l'objet de correspondance possède une clef *key* et ``0`` "
88+
"sinon. C'est l'équivalent de l'expression Python ``key in o``. Cette "
89+
"fonction ne provoque jamais d'erreur."
7790

7891
#: ../Doc/c-api/mapping.rst:73
7992
msgid ""

c-api/memory.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ msgstr ""
384384

385385
#: ../Doc/c-api/memory.rst:340 ../Doc/c-api/memory.rst:477
386386
msgid "Field"
387-
msgstr ""
387+
msgstr "Champ"
388388

389389
#: ../Doc/c-api/memory.rst:340 ../Doc/c-api/memory.rst:477
390390
msgid "Meaning"

c-api/memoryview.po

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ msgid ""
2727
"<bufferobjects>` as a Python object which can then be passed around like any "
2828
"other object."
2929
msgstr ""
30+
"Un objet Python :class:`memoryview` expose le :ref:`protocole tampon "
31+
"<bufferobjects>` du C. Cet objet peut ensuite être passé comme n'importe "
32+
"quel objet."
3033

3134
#: ../Doc/c-api/memoryview.rst:18
3235
msgid ""
@@ -35,19 +38,27 @@ msgid ""
3538
"will be read/write, otherwise it may be either read-only or read/write at "
3639
"the discretion of the exporter."
3740
msgstr ""
41+
"Crée un objet *memoryview* à partir d'un objet implémentant le protocole "
42+
"tampon. Si *obj* permet d'exporter des tampons modifiables, l'objet "
43+
"*memoryview* crée acceptera la lecture et écriture, sinon l'objet crée est "
44+
"soit en lecture seule ou lecture/écriture, à la discrétion de l'*exporteur*."
3845

3946
#: ../Doc/c-api/memoryview.rst:25
4047
msgid ""
4148
"Create a memoryview object using *mem* as the underlying buffer. *flags* can "
4249
"be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`."
4350
msgstr ""
51+
"Crée un objet *memoryview* utilisant *mem* comme un tampon sous-jacent. "
52+
"*flags* peut être :c:macro:`PyBUF_READ` ou :c:macro:`PyBUF_WRITE`."
4453

4554
#: ../Doc/c-api/memoryview.rst:32
4655
msgid ""
4756
"Create a memoryview object wrapping the given buffer structure *view*. For "
4857
"simple byte buffers, :c:func:`PyMemoryView_FromMemory` is the preferred "
4958
"function."
5059
msgstr ""
60+
"Crée un objet *memoryview* à partir de la structure tampon *view*. Pour de "
61+
"simples tampons d'octets, :c:func:`PyMemoryView_FromMemory` est préférée."
5162

5263
#: ../Doc/c-api/memoryview.rst:38
5364
msgid ""
@@ -57,6 +68,11 @@ msgid ""
5768
"original memory. Otherwise, a copy is made and the memoryview points to a "
5869
"new bytes object."
5970
msgstr ""
71+
"Crée un objet *memoryview* vers un segment de mémoire :term:`contiguous` "
72+
"(organisé comme en ``'C'`` ou comme en ``'F'`` pour Fortran) à partir d'un "
73+
"objet qui expose le protocole tampon. Si la mémoire est contiguë, l'objet "
74+
"*memoryview* pointe vers la mémoire d'origine. Sinon une copie est faite et "
75+
"la *memoryview* pointe vers un nouvel objet *bytes*."
6076

6177
#: ../Doc/c-api/memoryview.rst:47
6278
msgid ""
@@ -70,6 +86,10 @@ msgid ""
7086
"*mview* **must** be a memoryview instance; this macro doesn't check its "
7187
"type, you must do it yourself or you will risk crashes."
7288
msgstr ""
89+
"Retourne un pointeur vers la copie privée du tampon de l'*exporteur* de "
90+
"*memoryview*. *mview* **doit** être une instance de *memoryview*; cette "
91+
"macro ne vérifie pas le type, vous devez le faire vous-même sinon vous "
92+
"pourriez subir un crash."
7393

7494
#: ../Doc/c-api/memoryview.rst:59
7595
msgid ""

c-api/structures.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ msgstr ""
135135
#: ../Doc/c-api/structures.rst:129 ../Doc/c-api/structures.rst:240
136136
#: ../Doc/c-api/structures.rst:305
137137
msgid "Field"
138-
msgstr ""
138+
msgstr "Champ"
139139

140140
#: ../Doc/c-api/structures.rst:129 ../Doc/c-api/structures.rst:240
141141
#: ../Doc/c-api/structures.rst:305

c-api/tuple.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ msgstr ""
153153

154154
#: ../Doc/c-api/tuple.rst:145 ../Doc/c-api/tuple.rst:168
155155
msgid "Field"
156-
msgstr ""
156+
msgstr "Champ"
157157

158158
#: ../Doc/c-api/tuple.rst:145 ../Doc/c-api/tuple.rst:168
159159
msgid "C Type"

c-api/unicode.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ msgstr ""
440440

441441
#: ../Doc/c-api/unicode.rst:447
442442
msgid "Format Characters"
443-
msgstr ""
443+
msgstr "Caractères de format"
444444

445445
#: ../Doc/c-api/unicode.rst:447
446446
msgid "Type"

distutils/apiref.po

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,8 @@ msgid ""
452452
"the full name of the extension, including any packages --- ie. *not* a "
453453
"filename or pathname, but Python dotted name"
454454
msgstr ""
455-
"Le nom complet de l'extension, incluant n'importe quel paquet — c-à-d "
456-
"*pas* un nom de fichier ou de chemin mais un nom Python séparé par des "
457-
"points."
455+
"Le nom complet de l'extension, incluant n'importe quel paquet — c-à-d *pas* "
456+
"un nom de fichier ou de chemin mais un nom Python séparé par des points."
458457

459458
#: ../Doc/distutils/apiref.rst:183
460459
msgid "*sources*"

0 commit comments

Comments
 (0)