Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc0ad9b

Browse files
authored
Forward porting from 3.8. (#1340)
* Forward porting from 3.8. * Add missing C89.
1 parent c3fedc6 commit bc0ad9b

21 files changed

+204
-57
lines changed

c-api/call.po

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ msgstr ""
176176

177177
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:121
178178
msgid "Recursion Control"
179-
msgstr ""
179+
msgstr "Contrôle de la récursion"
180180

181181
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:123
182182
msgid ""
@@ -268,7 +268,7 @@ msgstr ""
268268

269269
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:195
270270
msgid "Function"
271-
msgstr ""
271+
msgstr "Fonction"
272272

273273
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:195
274274
msgid "callable"
@@ -346,7 +346,7 @@ msgstr ""
346346
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:205
347347
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:207
348348
msgid "format"
349-
msgstr ""
349+
msgstr "format"
350350

351351
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:207
352352
msgid ":c:func:`PyObject_CallMethod`"
@@ -410,6 +410,8 @@ msgid ""
410410
"Call a callable Python object *callable*, with arguments given by the tuple "
411411
"*args*, and named arguments given by the dictionary *kwargs*."
412412
msgstr ""
413+
"Appelle un objet Python appelable *callable*, avec des arguments donnés par "
414+
"le tuple *args*, et des arguments nommés donnés par le dictionnaire *kwargs*."
413415

414416
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:230
415417
msgid ""
@@ -439,6 +441,7 @@ msgid ""
439441
"This is the equivalent of the Python expression: ``callable(*args, "
440442
"**kwargs)``."
441443
msgstr ""
444+
"Ceci est l'équivalent de l'expression Python : ``callable(*args, **kwargs)``."
442445

443446
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:242
444447
msgid ""
@@ -461,7 +464,7 @@ msgstr ""
461464
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:272
462465
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:284
463466
msgid "This is the equivalent of the Python expression: ``callable(*args)``."
464-
msgstr ""
467+
msgstr "Ceci est l'équivalent de l'expression Python : ``callable(*args)``."
465468

466469
#: /home/mdk/clones/python/cpython/Doc/c-api/call.rst:277
467470
msgid ""
@@ -591,3 +594,5 @@ msgid ""
591594
"Determine if the object *o* is callable. Return ``1`` if the object is "
592595
"callable and ``0`` otherwise. This function always succeeds."
593596
msgstr ""
597+
"Détermine si l'objet *o* est appelable. Renvoie ``1`` si c'est le cas, et "
598+
"``0`` sinon. Cette fonction réussit toujours."

c-api/memory.po

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

489489
#: ../Doc/c-api/memory.rst:368 ../Doc/c-api/memory.rst:513
490490
msgid "Field"
491-
msgstr ""
491+
msgstr "Champ"
492492

493493
#: ../Doc/c-api/memory.rst:368 ../Doc/c-api/memory.rst:513
494494
msgid "Meaning"

c-api/structures.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ msgstr ""
143143
#: ../Doc/c-api/structures.rst:139 ../Doc/c-api/structures.rst:279
144144
#: ../Doc/c-api/structures.rst:345
145145
msgid "Field"
146-
msgstr ""
146+
msgstr "Champ"
147147

148148
#: ../Doc/c-api/structures.rst:139 ../Doc/c-api/structures.rst:279
149149
#: ../Doc/c-api/structures.rst:345

c-api/tuple.po

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

166166
#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
167167
msgid "Field"
168-
msgstr ""
168+
msgstr "Champ"
169169

170170
#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
171171
msgid "C Type"

dict

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ boguer
1616
c++
1717
c-
1818
c/c++
19+
C89
1920
c99
2021
chacha20
2122
cadriciel

library/datetime.po

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,6 +2210,13 @@ msgid ""
22102210
"replace(tzinfo=timezone.utc)`` to make it aware, at which point you can use :"
22112211
"meth:`.datetime.timetuple`."
22122212
msgstr ""
2213+
"Comme les objets ``datetime`` naïfs sont traités par de nombreuses méthodes "
2214+
"``datetime`` comme des heures locales, il est préférable d'utiliser les "
2215+
"``datetime`` avisés pour représenter les heures en UTC ; par conséquent, "
2216+
"l'utilisation de ``utcfromtimetuple`` peut donner des résultats trompeurs. "
2217+
"Si vous disposez d'une ``datetime`` naïve représentant l'heure UTC, utilisez "
2218+
"``datetime.replace(tzinfo=timezone.utc)`` pour la rendre avisée, puis vous "
2219+
"pouvez utiliser :meth:`.datetime.timetuple`."
22132220

22142221
#: ../Doc/library/datetime.rst:1345
22152222
#, fuzzy
@@ -3416,12 +3423,17 @@ msgid ""
34163423
"datetime` object from a string representing a date and time and a "
34173424
"corresponding format string."
34183425
msgstr ""
3426+
"Inversement, la méthode de classe :meth:`datetime.strptime` crée un objet :"
3427+
"class:`.datetime` à partir d'une chaîne représentant une date et une heure, "
3428+
"et une chaîne de format correspondante."
34193429

34203430
#: ../Doc/library/datetime.rst:2279
34213431
msgid ""
34223432
"The table below provides a high-level comparison of :meth:`strftime` versus :"
34233433
"meth:`strptime`:"
34243434
msgstr ""
3435+
"Le tableau ci-dessous fournit une comparaison de haut niveau entre :meth:"
3436+
"`strftime` et :meth:`strptime` :"
34253437

34263438
#: ../Doc/library/datetime.rst:2283
34273439
#, fuzzy
@@ -3435,20 +3447,22 @@ msgstr "``str(t)``"
34353447

34363448
#: ../Doc/library/datetime.rst:2285
34373449
msgid "Usage"
3438-
msgstr ""
3450+
msgstr "Utilisation"
34393451

34403452
#: ../Doc/library/datetime.rst:2285
34413453
msgid "Convert object to a string according to a given format"
3442-
msgstr ""
3454+
msgstr "Convertit un objet en une chaîne de caractères selon un format donné"
34433455

34443456
#: ../Doc/library/datetime.rst:2285
34453457
msgid ""
34463458
"Parse a string into a :class:`.datetime` object given a corresponding format"
34473459
msgstr ""
3460+
"Analyse une chaîne de caractères dans un objet :class:`.datetime` en "
3461+
"fonction du format de correspondance donné"
34483462

34493463
#: ../Doc/library/datetime.rst:2287
34503464
msgid "Type of method"
3451-
msgstr ""
3465+
msgstr "Type de méthode"
34523466

34533467
#: ../Doc/library/datetime.rst:2287
34543468
#, fuzzy
@@ -3457,11 +3471,11 @@ msgstr "Méthodes de l'instance :"
34573471

34583472
#: ../Doc/library/datetime.rst:2287
34593473
msgid "Class method"
3460-
msgstr ""
3474+
msgstr "Méthode de classe"
34613475

34623476
#: ../Doc/library/datetime.rst:2289
34633477
msgid "Method of"
3464-
msgstr ""
3478+
msgstr "Méthode de"
34653479

34663480
#: ../Doc/library/datetime.rst:2289
34673481
#, fuzzy
@@ -3475,7 +3489,7 @@ msgstr "Objets :class:`.datetime`"
34753489

34763490
#: ../Doc/library/datetime.rst:2291
34773491
msgid "Signature"
3478-
msgstr ""
3492+
msgstr "Signature"
34793493

34803494
#: ../Doc/library/datetime.rst:2291
34813495
#, fuzzy
@@ -3484,7 +3498,7 @@ msgstr "``str(t)``"
34843498

34853499
#: ../Doc/library/datetime.rst:2291
34863500
msgid "``strptime(date_string, format)``"
3487-
msgstr ""
3501+
msgstr "``strptime(date_string, format)``"
34883502

34893503
#: ../Doc/library/datetime.rst:2296
34903504
#, fuzzy
@@ -3880,6 +3894,9 @@ msgid ""
38803894
"Several additional directives not required by the C89 standard are included "
38813895
"for convenience. These parameters all correspond to ISO 8601 date values."
38823896
msgstr ""
3897+
"Plusieurs directives supplémentaires non requises par la norme C89 sont "
3898+
"incluses pour des raisons de commodité. Ces paramètres correspondent tous "
3899+
"aux valeurs de date de la norme ISO 8601."
38833900

38843901
#: ../Doc/library/datetime.rst:2407
38853902
msgid "``%G``"
@@ -3966,7 +3983,7 @@ msgstr "``%G``, ``%u`` et ``%V`` ont été ajoutés."
39663983

39673984
#: ../Doc/library/datetime.rst:2436
39683985
msgid "Technical Detail"
3969-
msgstr ""
3986+
msgstr "Détail technique"
39703987

39713988
#: ../Doc/library/datetime.rst:2438
39723989
#, fuzzy
@@ -3995,13 +4012,17 @@ msgstr ""
39954012
#: ../Doc/library/datetime.rst:2446
39964013
msgid "Using ``datetime.strptime(date_string, format)`` is equivalent to::"
39974014
msgstr ""
4015+
"L'utilisation de ``datetime.strptime(date_string, format)`` équivaut à ::"
39984016

39994017
#: ../Doc/library/datetime.rst:2450
40004018
msgid ""
40014019
"except when the format includes sub-second components or timezone offset "
40024020
"information, which are supported in ``datetime.strptime`` but are discarded "
40034021
"by ``time.strptime``."
40044022
msgstr ""
4023+
"sauf lorsque le format inclut des composantes de sous-secondes ou des "
4024+
"informations de décalage de fuseau horaire, qui sont prises en charge dans "
4025+
"``datetime.strptime`` mais pas par ``time.strptime``."
40054026

40064027
#: ../Doc/library/datetime.rst:2454
40074028
#, fuzzy

library/devmode.po

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,19 @@ msgstr ""
5353

5454
#: /home/mdk/clones/python/cpython/Doc/library/devmode.rst:29
5555
msgid ":exc:`DeprecationWarning`"
56-
msgstr ""
56+
msgstr ":exc:`DeprecationWarning`"
5757

5858
#: /home/mdk/clones/python/cpython/Doc/library/devmode.rst:30
5959
msgid ":exc:`ImportWarning`"
60-
msgstr ""
60+
msgstr ":exc:`ImportWarning`"
6161

6262
#: /home/mdk/clones/python/cpython/Doc/library/devmode.rst:31
6363
msgid ":exc:`PendingDeprecationWarning`"
64-
msgstr ""
64+
msgstr ":exc:`PendingDeprecationWarning`"
6565

6666
#: /home/mdk/clones/python/cpython/Doc/library/devmode.rst:32
6767
msgid ":exc:`ResourceWarning`"
68-
msgstr ""
68+
msgstr ":exc:`ResourceWarning`"
6969

7070
#: /home/mdk/clones/python/cpython/Doc/library/devmode.rst:34
7171
msgid ""
@@ -171,6 +171,8 @@ msgid ""
171171
"Set the :attr:`~sys.flags.dev_mode` attribute of :attr:`sys.flags` to "
172172
"``True``."
173173
msgstr ""
174+
"Définit l'attribut :attr:`~sys.flags.dev_mode` de :attr:`sys.flags` à "
175+
"``True``"
174176

175177
#: /home/mdk/clones/python/cpython/Doc/library/devmode.rst:85
176178
msgid ""

library/logging.config.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ msgstr ""
2929

3030
#: ../Doc/library/logging.config.rst:17
3131
msgid ":ref:`Basic Tutorial <logging-basic-tutorial>`"
32-
msgstr ""
32+
msgstr ":ref:`Tutoriel basique <logging-basic-tutorial>`"
3333

3434
#: ../Doc/library/logging.config.rst:18
3535
msgid ":ref:`Advanced Tutorial <logging-advanced-tutorial>`"
36-
msgstr ""
36+
msgstr ":ref:`Tutoriel avancé <logging-advanced-tutorial>`"
3737

3838
#: ../Doc/library/logging.config.rst:19
3939
#, fuzzy

library/logging.handlers.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ msgstr ""
2929

3030
#: ../Doc/library/logging.handlers.rst:17
3131
msgid ":ref:`Basic Tutorial <logging-basic-tutorial>`"
32-
msgstr ""
32+
msgstr ":ref:`Tutoriel basique <logging-basic-tutorial>`"
3333

3434
#: ../Doc/library/logging.handlers.rst:18
3535
msgid ":ref:`Advanced Tutorial <logging-advanced-tutorial>`"
36-
msgstr ""
36+
msgstr ":ref:`Tutoriel avancé <logging-advanced-tutorial>`"
3737

3838
#: ../Doc/library/logging.handlers.rst:19
3939
#, fuzzy

library/msilib.po

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

459459
#: ../Doc/library/msilib.rst:414
460460
msgid "Features"
461-
msgstr ""
461+
msgstr "Caractéristiques"
462462

463463
#: ../Doc/library/msilib.rst:419
464464
msgid ""

0 commit comments

Comments
 (0)