From 41d0ed9518a600eec2bfc0d129402a0a2844cd5f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 17 Feb 2023 11:59:54 +0100 Subject: [PATCH 1/4] =?UTF-8?q?D=C3=A9but=20de=20traduction=20de=20c-api/u?= =?UTF-8?q?nicode.po?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ajoute "code points" au dictionnaire EN-FR. --- CONTRIBUTING.rst | 1 + c-api/unicode.po | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index b2b0121d..fc1b1172 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -552,6 +552,7 @@ bytecode code intermédiaire callback fonction de rappel call stack pile d'appels caught (exception) interceptée +code points points de code daemon *daemon* debugging débogage deep copy copie récursive (préféré), ou copie profonde diff --git a/c-api/unicode.po b/c-api/unicode.po index aebcb7bd..3e86605b 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -16,11 +16,11 @@ msgstr "" #: c-api/unicode.rst:6 msgid "Unicode Objects and Codecs" -msgstr "" +msgstr "Objets Unicode et Codecs" #: c-api/unicode.rst:12 msgid "Unicode Objects" -msgstr "" +msgstr "Objets Unicode" #: c-api/unicode.rst:14 msgid "" @@ -31,6 +31,12 @@ msgid "" "65536; otherwise, code points must be below 1114112 (which is the full " "Unicode range)." msgstr "" +"Depuis l'implémentation de :pep:`393` dans Python 3.3, les objets Unicode " +"utilisent une variété de représentations internes, pour permettre de gérer " +"l'intervalle complet des caractères Unicode en restant efficace en terme de " +"mémoire. Il y a des cas spéciaux pour les chaînes où tous les points de code " +"sont inférieurs à 128, 256, ou 65536; sinon, les points de code doivent être " +"inférieurs à 1114112 (qui est l'intervalle Unicode complet)." #: c-api/unicode.rst:20 msgid "" @@ -38,12 +44,18 @@ msgid "" "cached in the Unicode object. The :c:expr:`Py_UNICODE*` representation is " "deprecated and inefficient." msgstr "" +"Des représentations :c:expr:`Py_UNICODE*` et UTF-8 sont créés à la demande " +"et mises en cache dans l'objet Unicode. La représentation :c:expr:" +"`Py_UNICODE*` est dépréciée et inefficace." #: c-api/unicode.rst:24 msgid "" "Due to the transition between the old APIs and the new APIs, Unicode objects " "can internally be in two states depending on how they were created:" msgstr "" +"En raison de la transition des anciennes APIs vers les nouvelles APIs, les " +"objets Unicode peuvent être dans deux états internes selon comment ils ont " +"été créés :" #: c-api/unicode.rst:27 msgid "" @@ -51,6 +63,9 @@ msgid "" "Unicode API. They use the most efficient representation allowed by the " "implementation." msgstr "" +"Les objets Unicode \"canoniques\" sont tous les objets créés par une API " +"Unicode non-dépréciée. Ils utilisent la représentation la plus efficace " +"permise par l'implémentation." #: c-api/unicode.rst:31 msgid "" -- 2.30.2 From e6f87f2d0e6bbb4b6d0027a9d96886e42ef2e5e4 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 17 Feb 2023 15:33:08 +0100 Subject: [PATCH 2/4] Continue la traduction --- c-api/unicode.po | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/c-api/unicode.po b/c-api/unicode.po index 3e86605b..4f8c9023 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -74,6 +74,10 @@ msgid "" "`Py_UNICODE*` representation; you will have to call :c:func:" "`PyUnicode_READY` on them before calling any other API." msgstr "" +"Les objets Unicode \"legacy\" ont été créés via une des APIs dépréciées " +"(typiquement :c:func:`PyUnicode_FromUnicode`) et supportent uniquement la " +"représentation :c:expr:`Py_UNICODE*`; vous devrez appeler :c:func:" +"`PyUnicode_READY` sur eux avant d'appeler n'importe quelle autre API." #: c-api/unicode.rst:37 msgid "" @@ -81,16 +85,21 @@ msgid "" "APIs. All Unicode objects will be \"canonical\" since then. See :pep:`623` " "for more information." msgstr "" +"Les objets Unicode \"legacy\" vont être supprimés de Python 3.12 avec les " +"APIs dépréciées. Tous les objets Unicode vont être \"canoniques\" à partir " +"de là. Voir :pep:`623` pour plus d'information." #: c-api/unicode.rst:43 msgid "Unicode Type" -msgstr "" +msgstr "Type Unicode" #: c-api/unicode.rst:45 msgid "" "These are the basic Unicode object types used for the Unicode implementation " "in Python:" msgstr "" +"Ceux-ci sont les types d'objets Unicode utilisés pour l'implémentation " +"Unicode en Python:" #: c-api/unicode.rst:52 msgid "" @@ -98,12 +107,18 @@ msgid "" "characters of 32 bits, 16 bits and 8 bits, respectively. When dealing with " "single Unicode characters, use :c:type:`Py_UCS4`." msgstr "" +"Ceux-ci sont les typedefs pour les types entiers non signés suffisamment " +"large pour contenir des caractères de 32 bits, 16 bits et 8 bits, " +"respectivement. Pour traiter des caractères uniques, utilisez :c:type:" +"`Py_UCS4`." #: c-api/unicode.rst:61 msgid "" "This is a typedef of :c:expr:`wchar_t`, which is a 16-bit type or 32-bit " "type depending on the platform." msgstr "" +"Ceci est un typedef de :c:expr:`wchar_t`, qui est un type 16-bit ou un type " +"32-bit selon la plateforme." #: c-api/unicode.rst:64 msgid "" @@ -111,6 +126,9 @@ msgid "" "whether you selected a \"narrow\" or \"wide\" Unicode version of Python at " "build time." msgstr "" +"Dans les versions précédentes, ceci était un type 16-bit ou un type 32-bit " +"selon que vous choisissiez une version Unicode \"narrow\" ou \"wide\" de " +"Python à la compilation." #: c-api/unicode.rst:74 msgid "" -- 2.30.2 From 16ba8a0c176ac63cdce6c2e315a68071b215d3f6 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Mon, 20 Feb 2023 12:45:59 +0100 Subject: [PATCH 3/4] review --- c-api/unicode.po | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/c-api/unicode.po b/c-api/unicode.po index 4f8c9023..3ba87a5a 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -6,8 +6,8 @@ msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-01-15 22:33+0100\n" -"PO-Revision-Date: 2018-10-04 12:27+0200\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2023-02-20 12:45+0100\n" +"Last-Translator: Victor Stinner \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" @@ -33,10 +33,10 @@ msgid "" msgstr "" "Depuis l'implémentation de :pep:`393` dans Python 3.3, les objets Unicode " "utilisent une variété de représentations internes, pour permettre de gérer " -"l'intervalle complet des caractères Unicode en restant efficace en terme de " +"l'intervalle complet des caractères Unicode en restant efficace en termes de " "mémoire. Il y a des cas spéciaux pour les chaînes où tous les points de code " -"sont inférieurs à 128, 256, ou 65536; sinon, les points de code doivent être " -"inférieurs à 1114112 (qui est l'intervalle Unicode complet)." +"sont inférieurs à 128, 256, ou 65536 ; sinon, les points de code doivent " +"être inférieurs à 1114112 (qui est l'intervalle Unicode complet)." #: c-api/unicode.rst:20 msgid "" @@ -44,7 +44,7 @@ msgid "" "cached in the Unicode object. The :c:expr:`Py_UNICODE*` representation is " "deprecated and inefficient." msgstr "" -"Des représentations :c:expr:`Py_UNICODE*` et UTF-8 sont créés à la demande " +"Des représentations :c:expr:`Py_UNICODE*` et UTF-8 sont créées à la demande " "et mises en cache dans l'objet Unicode. La représentation :c:expr:" "`Py_UNICODE*` est dépréciée et inefficace." @@ -63,7 +63,7 @@ msgid "" "Unicode API. They use the most efficient representation allowed by the " "implementation." msgstr "" -"Les objets Unicode \"canoniques\" sont tous les objets créés par une API " +"Les objets Unicode « canoniques » sont tous les objets créés par une API " "Unicode non-dépréciée. Ils utilisent la représentation la plus efficace " "permise par l'implémentation." @@ -74,7 +74,7 @@ msgid "" "`Py_UNICODE*` representation; you will have to call :c:func:" "`PyUnicode_READY` on them before calling any other API." msgstr "" -"Les objets Unicode \"legacy\" ont été créés via une des APIs dépréciées " +"Les objets Unicode « historiques » ont été créés via une des APIs dépréciées " "(typiquement :c:func:`PyUnicode_FromUnicode`) et supportent uniquement la " "représentation :c:expr:`Py_UNICODE*`; vous devrez appeler :c:func:" "`PyUnicode_READY` sur eux avant d'appeler n'importe quelle autre API." @@ -85,9 +85,9 @@ msgid "" "APIs. All Unicode objects will be \"canonical\" since then. See :pep:`623` " "for more information." msgstr "" -"Les objets Unicode \"legacy\" vont être supprimés de Python 3.12 avec les " -"APIs dépréciées. Tous les objets Unicode vont être \"canoniques\" à partir " -"de là. Voir :pep:`623` pour plus d'information." +"Les objets Unicode « historiques » vont être supprimés de Python 3.12 avec " +"les APIs dépréciées. Tous les objets Unicode vont être « canoniques » à " +"partir de là. Voir :pep:`623` pour plus d'information." #: c-api/unicode.rst:43 msgid "Unicode Type" @@ -98,8 +98,8 @@ msgid "" "These are the basic Unicode object types used for the Unicode implementation " "in Python:" msgstr "" -"Ceux-ci sont les types d'objets Unicode utilisés pour l'implémentation " -"Unicode en Python:" +"Voici les types d'objets Unicode utilisés pour l'implémentation Unicode en " +"Python :" #: c-api/unicode.rst:52 msgid "" @@ -107,10 +107,9 @@ msgid "" "characters of 32 bits, 16 bits and 8 bits, respectively. When dealing with " "single Unicode characters, use :c:type:`Py_UCS4`." msgstr "" -"Ceux-ci sont les typedefs pour les types entiers non signés suffisamment " -"large pour contenir des caractères de 32 bits, 16 bits et 8 bits, " -"respectivement. Pour traiter des caractères uniques, utilisez :c:type:" -"`Py_UCS4`." +"Voici les *typedefs* pour les types entiers non signés suffisamment large " +"pour contenir des caractères de 32 bits, 16 bits et 8 bits, respectivement. " +"Pour traiter des caractères uniques, utilisez :c:type:`Py_UCS4`." #: c-api/unicode.rst:61 msgid "" -- 2.30.2 From ae25ee366c56d77569d84e96ebafb1591708d74c Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Mon, 20 Feb 2023 12:48:11 +0100 Subject: [PATCH 4/4] review --- c-api/unicode.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/c-api/unicode.po b/c-api/unicode.po index 3ba87a5a..7738b71d 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-01-15 22:33+0100\n" -"PO-Revision-Date: 2023-02-20 12:45+0100\n" +"PO-Revision-Date: 2023-02-20 12:47+0100\n" "Last-Translator: Victor Stinner \n" "Language-Team: FRENCH \n" "Language: fr\n" @@ -116,8 +116,8 @@ msgid "" "This is a typedef of :c:expr:`wchar_t`, which is a 16-bit type or 32-bit " "type depending on the platform." msgstr "" -"Ceci est un typedef de :c:expr:`wchar_t`, qui est un type 16-bit ou un type " -"32-bit selon la plateforme." +"Ceci est un *typedef* de :c:expr:`wchar_t`, qui est un type 16-bit ou un " +"type 32-bit selon la plateforme." #: c-api/unicode.rst:64 msgid "" @@ -126,8 +126,8 @@ msgid "" "build time." msgstr "" "Dans les versions précédentes, ceci était un type 16-bit ou un type 32-bit " -"selon que vous choisissiez une version Unicode \"narrow\" ou \"wide\" de " -"Python à la compilation." +"selon que vous choisissiez une version Unicode *narrow* ou *wide* de Python " +"à la compilation." #: c-api/unicode.rst:74 msgid "" -- 2.30.2