Skip to content

Commit c3d0150

Browse files
HanaPoulpeChristophe Nanteuil
authored andcommitted
Add traducions to c-api/arg.po (#305)
Adding translation to `c-api/arg.po` Reviewed-on: https://git.afpy.org/AFPy/python-docs-fr/pulls/305 Reviewed-by: Christophe Nanteuil <christophenan@noreply.localhost> Co-authored-by: HanaPoulpe <hana@hanapoulpe.org> Co-committed-by: HanaPoulpe <hana@hanapoulpe.org>
1 parent 1b2e729 commit c3d0150

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

c-api/arg.po

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ msgid ""
7979
"formats (``s#``, ``y#``, etc.) explained below. This is not necessary on "
8080
"Python 3.13 and later."
8181
msgstr ""
82+
"Dans Python 3.12 et précédents, la macro :c:macro:`!PY_SSIZE_T_CLEAN` doit "
83+
"être définie avant d'inclure :file:`Python.h` pour utiliser toutes les "
84+
"variantes ``#`` de format (``s#``, ``y#``, etc.) détaillées ci-dessous. Ce "
85+
"n'est plus nécessaire pour Python 3.13 et les versions ultérieures."
8286

8387
#: c-api/arg.rst:42
8488
msgid ""
@@ -96,6 +100,8 @@ msgstr "Sauf indication contraire, les tampons ne se terminent pas par NUL."
96100
#: c-api/arg.rst:48
97101
msgid "There are three ways strings and buffers can be converted to C:"
98102
msgstr ""
103+
"Les chaînes de caractères et tampons peuvent être convertis de trois manières "
104+
"vers C:"
99105

100106
#: c-api/arg.rst:50
101107
#, fuzzy
@@ -121,6 +127,9 @@ msgid ""
121127
"**You have to call** :c:func:`PyMem_Free` after you have finished processing "
122128
"the data (or in any early abort case)."
123129
msgstr ""
130+
"Les formats ``es``, ``es#``, ``et`` et ``et#`` allouent le tampon de "
131+
"résultats. **Vous devez appeler** :c:func:`PyMem_Free` après avoir fini de "
132+
"traiter les données (ou en cas d'abandon prématuré)."
124133

125134
#: c-api/arg.rst:63
126135
#, fuzzy

0 commit comments

Comments
 (0)