10000 Début de traduction de c-api/unicode.po (#69) · python/python-docs-fr@70a38f9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 70a38f9

Browse files
Début de traduction de c-api/unicode.po (#69)
Ajoute "code points" au dictionnaire EN-FR. Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Julien Palard <julien@palard.fr> Reviewed-on: https://git.afpy.org/AFPy/python-docs-fr/pulls/69 Reviewed-by: Julien Palard <julien@palard.fr> Co-authored-by: vstinner <victor.stinner@gmail.com> Co-committed-by: vstinner <victor.stinner@gmail.com>
1 parent e386f19 commit 70a38f9

File tree

2 files changed

+38
-5
lines changed

2 files changed

+38
-5
lines changed

CONTRIBUTING.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ bytecode code intermédiaire
556556
callback fonction de rappel
557557
call stack pile d'appels
558558
caught (exception) interceptée
559+
code points points de code
559560
daemon *daemon*
560561
debugging débogage
561562
deep copy copie récursive (préféré), ou copie profonde

c-api/unicode.po

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ msgstr ""
66
"Project-Id-Version: Python 3\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2023-01-15 22:33+0100\n"
9-
"PO-Revision-Date: 2018-10-04 12:27+0200\n"
10-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9+
"PO-Revision-Date: 2023-02-20 12:47+0100\n"
10+
"Last-Translator: Victor Stinner <vstinner@python.org>\n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
1212
"Language: fr\n"
1313
"MIME-Version: 1.0\n"
@@ -16,11 +16,11 @@ msgstr ""
1616

1717
#: c-api/unicode.rst:6
1818
msgid "Unicode Objects and Codecs"
19-
msgstr ""
19+
msgstr "Objets Unicode et Codecs"
2020

2121
#: c-api/unicode.rst:12
2222
msgid "Unicode Objects"
23-
msgstr ""
23+
msgstr "Objets Unicode"
2424

2525
#: c-api/unicode.rst:14
2626
msgid ""
@@ -31,26 +31,41 @@ msgid ""
3131
"65536; otherwise, code points must be below 1114112 (which is the full "
3232
"Unicode range)."
3333
msgstr ""
34+
"Depuis l'implémentation de :pep:`393` dans Python 3.3, les objets Unicode "
35+
"utilisent une variété de représentations internes, pour permettre de gérer "
36+
"l'intervalle complet des caractères Unicode en restant efficace en termes de "
37+
"mémoire. Il y a des cas spéciaux pour les chaînes où tous les points de code "
38+
"sont inférieurs à 128, 256, ou 65536 ; sinon, les points de code doivent "
39+
"être inférieurs à 1114112 (qui est l'intervalle Unicode complet)."
3440

3541
#: c-api/unicode.rst:20
3642
msgid ""
3743
":c:expr:`Py_UNICODE*` and UTF-8 representations are created on demand and "
3844
"cached in the Unicode object. The :c:expr:`Py_UNICODE*` representation is "
3945
"deprecated and inefficient."
4046
msgstr ""
47+
"Des représentations :c:expr:`Py_UNICODE*` et UTF-8 sont créées à la demande "
48+
"et mises en cache dans l'objet Unicode. La représentation :c:expr:"
49+
"`Py_UNICODE*` est dépréciée et inefficace."
4150

4251
#: c-api/unicode.rst:24
4352
msgid ""
4453
"Due to the transition between the old APIs and the new APIs, Unicode objects "
4554
"can internally be in two states depending on how they were created:"
4655
msgstr ""
56+
"En raison de la transition des anciennes APIs vers les nouvelles APIs, les "
57+
"objets Unicode peuvent être dans deux états internes selon comment ils ont "
58+
"été créés :"
4759

4860
#: c-api/unicode.rst:27
4961
msgid ""
5062
"\"canonical\" Unicode objects are all objects created by a non-deprecated "
5163
"Unicode API. They use the most efficient representation allowed by the "
5264
"implementation."
5365
msgstr ""
66+
"Les objets Unicode « canoniques » sont tous les objets créés par une API "
67+
"Unicode non-dépréciée. Ils utilisent la représentation la plus efficace "
68+
"permise par l'implémentation."
5469

5570
#: c-api/unicode.rst:31
5671
msgid ""
@@ -59,43 +74,60 @@ msgid ""
5974
"`Py_UNICODE*` representation; you will have to call :c:func:"
6075
"`PyUnicode_READY` on them before calling any other API."
6176
msgstr ""
77+
"Les objets Unicode « historiques » ont été créés via une des APIs dépréciées "
78+
"(typiquement :c:func:`PyUnicode_FromUnicode`) et supportent uniquement la "
79+
"représentation :c:expr:`Py_UNICODE*`; vous devrez appeler :c:func:"
80+
"`PyUnicode_READY` sur eux avant d'appeler n'importe quelle autre API."
6281

6382
#: c-api/unicode.rst:37
6483
msgid ""
6584
"The \"legacy\" Unicode object will be removed in Python 3.12 with deprecated "
6685
"APIs. All Unicode objects will be \"canonical\" since then. See :pep:`623` "
6786
"for more information."
6887
msgstr ""
88+
"Les objets Unicode « historiques » vont être supprimés de Python 3.12 avec "
89+
"les APIs dépréciées. Tous les objets Unicode vont être « canoniques » à "
90+
"partir de là. Voir :pep:`623` pour plus d'information."
6991

7092
#: c-api/unicode.rst:43
7193
msgid "Unicode Type"
72-
msgstr ""
94+
msgstr "Type Unicode"
7395

7496
#: c-api/unicode.rst:45
7597
msgid ""
7698
"These are the basic Unicode object types used for the Unicode implementation "
7799
"in Python:"
78100
msgstr ""
101+
"Voici les types d'objets Unicode utilisés pour l'implémentation Unicode en "
102+
"Python :"
79103

80104
#: c-api/unicode.rst:52
81105
msgid ""
82106
"These types are typedefs for unsigned integer types wide enough to contain "
83107
"characters of 32 bits, 16 bits and 8 bits, respectively. When dealing with "
84108
"single Unicode characters, use :c:type:`Py_UCS4`."
85109
msgstr ""
110+
"Voici les *typedefs* pour les types entiers non signés suffisamment large "
111+
"pour contenir des caractères de 32 bits, 16 bits et 8 bits, respectivement. "
112+
"Pour traiter des caractères uniques, utilisez :c:type:`Py_UCS4`."
86113

87114
#: c-api/unicode.rst:61
88115
msgid ""
89116
"This is a typedef of :c:expr:`wchar_t`, which is a 16-bit type or 32-bit "
90117
"type depending on the platform."
91118
msgstr ""
119+
"Ceci est un *typedef* de :c:expr:`wchar_t`, qui est un type 16-bit ou un "
120+
"type 32-bit selon la plateforme."
92121

93122
#: c-api/unicode.rst:64
94123
msgid ""
95124
"In previous versions, this was a 16-bit type or a 32-bit type depending on "
96125
"whether you selected a \"narrow\" or \"wide\" Unicode version of Python at "
97126
"build time."
98127
msgstr ""
128+
"Dans les versions précédentes, ceci était un type 16-bit ou un type 32-bit "
129+
"selon que vous choisissiez une version Unicode *narrow* ou *wide* de Python "
130+
"à la compilation."
99131

100132
#: c-api/unicode.rst:74
101133
msgid ""

0 commit comments

Comments
 (0)
0