@@ -6,8 +6,8 @@ msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
8
"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 "
11
11
"Language-Team : FRENCH <traductions@lists.afpy.org>\n "
12
12
"Language : fr\n "
13
13
"MIME-Version : 1.0\n "
@@ -16,11 +16,11 @@ msgstr ""
16
16
17
17
#: c-api/unicode.rst:6
18
18
msgid "Unicode Objects and Codecs"
19
- msgstr ""
19
+ msgstr "Objets Unicode et Codecs "
20
20
21
21
#: c-api/unicode.rst:12
22
22
msgid "Unicode Objects"
23
- msgstr ""
23
+ msgstr "Objets Unicode "
24
24
25
25
#: c-api/unicode.rst:14
26
26
msgid ""
@@ -31,26 +31,41 @@ msgid ""
31
31
"65536; otherwise, code points must be below 1114112 (which is the full "
32
32
"Unicode range)."
33
33
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)."
34
40
35
41
#: c-api/unicode.rst:20
36
42
msgid ""
37
43
":c:expr:`Py_UNICODE*` and UTF-8 representations are created on demand and "
38
44
"cached in the Unicode object. The :c:expr:`Py_UNICODE*` representation is "
39
45
"deprecated and inefficient."
40
46
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."
41
50
42
51
#: c-api/unicode.rst:24
43
52
msgid ""
44
53
"Due to the transition between the old APIs and the new APIs, Unicode objects "
45
54
"can internally be in two states depending on how they were created:"
46
55
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 :"
47
59
48
60
#: c-api/unicode.rst:27
49
61
msgid ""
50
62
"\" canonical\" Unicode objects are all objects created by a non-deprecated "
51
63
"Unicode API. They use the most efficient representation allowed by the "
52
64
"implementation."
53
65
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."
54
69
55
70
#: c-api/unicode.rst:31
56
71
msgid ""
@@ -59,43 +74,60 @@ msgid ""
59
74
"`Py_UNICODE*` representation; you will have to call :c:func:"
60
75
"`PyUnicode_READY` on them before calling any other API."
61
76
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."
62
81
63
82
#: c-api/unicode.rst:37
64
83
msgid ""
65
84
"The \" legacy\" Unicode object will be removed in Python 3.12 with deprecated "
66
85
"APIs. All Unicode objects will be \" canonical\" since then. See :pep:`623` "
67
86
"for more information."
68
87
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."
69
91
70
92
#: c-api/unicode.rst:43
71
93
msgid "Unicode Type"
72
- msgstr ""
94
+ msgstr "Type Unicode "
73
95
74
96
#: c-api/unicode.rst:45
75
97
msgid ""
76
98
"These are the basic Unicode object types used for the Unicode implementation "
77
99
"in Python:"
78
100
msgstr ""
101
+ "Voici les types d'objets Unicode utilisés pour l'implémentation Unicode en "
102
+ "Python :"
79
103
80
104
#: c-api/unicode.rst:52
81
105
msgid ""
82
106
"These types are typedefs for unsigned integer types wide enough to contain "
83
107
"characters of 32 bits, 16 bits and 8 bits, respectively. When dealing with "
84
108
"single Unicode characters, use :c:type:`Py_UCS4`."
85
109
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`."
86
113
87
114
#: c-api/unicode.rst:61
88
115
msgid ""
89
116
"This is a typedef of :c:expr:`wchar_t`, which is a 16-bit type or 32-bit "
90
117
"type depending on the platform."
91
118
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."
92
121
93
122
#: c-api/unicode.rst:64
94
123
msgid ""
95
124
"In previous versions, this was a 16-bit type or a 32-bit type depending on "
96
125
"whether you selected a \" narrow\" or \" wide\" Unicode version of Python at "
97
126
"build time."
98
127
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."
99
131
100
132
#: c-api/unicode.rst:74
101
133
msgid ""
0 commit comments