@@ -6,14 +6,14 @@ msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
8
"POT-Creation-Date : 2020-10-01 16:00+0200\n "
9
- "PO-Revision-Date : 2020-03 -28 16:08 +0100\n "
10
- "
Last-Translator :
Loc Cosnier <[email protected] >\n"
9
+ "PO-Revision-Date : 2021-01 -28 15:50 +0100\n "
10
+ "
Last-Translator :
Jules Lasne <[email protected] >\n"
11
11
"
Language-Team :
FRENCH <[email protected] >\n "
12
12
"Language : fr\n "
13
13
"MIME-Version : 1.0\n "
14
14
"Content-Type : text/plain; charset=UTF-8\n "
15
15
"Content-Transfer-Encoding : 8bit\n "
16
- "X-Generator : Poedit 2.0.6 \n "
16
+ "X-Generator : Poedit 2.4.2 \n "
17
17
18
18
#: howto/pyporting.rst:5
19
19
msgid "Porting Python 2 Code to Python 3"
@@ -86,48 +86,43 @@ msgid "Only worry about supporting Python 2.7"
86
86
msgstr "Ne se préoccuper que du support de Python 2.7"
87
87
88
88
#: howto/pyporting.rst:33
89
- #, fuzzy
90
89
msgid ""
91
90
"Make sure you have good test coverage (coverage.py_ can help; ``python -m "
92
91
"pip install coverage``)"
93
92
msgstr ""
94
- "S'assurer d'une bonne couverture des tests (coverage.py_ peut aider ; ``pip "
95
- "install coverage``)"
93
+ "S'assurer d'une bonne couverture des tests (coverage.py_ peut aider ; "
94
+ "``python -m pip install coverage``)"
96
95
97
96
#: howto/pyporting.rst:122
98
97
msgid "Learn the differences between Python 2 & 3"
99
98
msgstr "Apprendre les différences entre Python 2 et 3"
100
99
101
100
#: howto/pyporting.rst:36
102
- #, fuzzy
103
101
msgid ""
104
102
"Use Futurize_ (or Modernize_) to update your code (e.g. ``python -m pip "
105
103
"install future``)"
106
104
msgstr ""
107
105
"Utiliser Futurize_ (ou Modernize_) pour mettre à jour votre code (par "
108
- "exemple ``pip install future``)"
106
+ "exemple ``python -m pip install future``)"
109
107
110
108
#: howto/pyporting.rst:37
111
- #, fuzzy
112
109
msgid ""
113
110
"Use Pylint_ to help make sure you don't regress on your Python 3 support "
114
111
"(``python -m pip install pylint``)"
115
112
msgstr ""
116
113
"Utilisez Pylint_ pour vous assurer que vous ne régressez pas sur votre prise "
117
- "en charge de Python 3 (``pip install pylint``)"
114
+ "en charge de Python 3 (``python -m pip install pylint``)"
118
115
119
116
#: howto/pyporting.rst:39
120
- #, fuzzy
121
117
msgid ""
122
118
"Use caniusepython3_ to find out which of your dependencies are blocking your "
123
119
"use of Python 3 (``python -m pip install caniusepython3``)"
124
120
msgstr ""
125
121
"Utiliser `caniusepython3`_ pour déterminer quelles sont, parmi les "
126
122
"dépendances que vous utilisez, celles qui bloquent votre utilisation de "
127
- "Python 3 (``pip install caniusepython3``)"
123
+ "Python 3 (``python -m pip install caniusepython3``)"
128
124
129
125
#: howto/pyporting.rst:41
130
- #, fuzzy
131
126
msgid ""
132
127
"Once your dependencies are no longer blocking you, use continuous "
133
128
"integration to make sure you stay compatible with Python 2 & 3 (tox_ can "
@@ -136,25 +131,29 @@ msgstr ""
136
131
"Une fois que vos dépendances ne sont plus un obstacle, utiliser "
137
132
"l'intégration continue pour s'assurer que votre code demeure compatible "
138
133
"Python 2 & 3 (tox_ peut aider à tester la comptabilité de sources avec "
139
- "plusieurs versions de Python; ``pip install tox``)"
134
+ "plusieurs versions de Python; ``python -m pip install tox``)"
140
135
141
136
#: howto/pyporting.rst:44
142
- #, fuzzy
143
137
msgid ""
144
138
"Consider using optional static type checking to make sure your type usage "
145
139
"works in both Python 2 & 3 (e.g. use mypy_ to check your typing under both "
146
140
"Python 2 & Python 3; ``python -m pip install mypy``)."
147
141
msgstr ""
148
142
"Envisager l'utilisation d'un vérifieur de type statique afin de vous assurer "
149
143
"que votre façon d'utiliser les types est compatible avec Python 2 et 3 (par "
150
- "exemple en utilisant mypy_ pour vérifier votre typage sous Python 2 et 3)."
144
+ "exemple en utilisant mypy_ pour vérifier votre typage sous Python 2 et 3 ; "
145
+ "``python -m pip install mypy``)."
151
146
152
147
#: howto/pyporting.rst:50
153
148
msgid ""
154
149
"Note: Using ``python -m pip install`` guarantees that the ``pip`` you invoke "
155
150
"is the one installed for the Python currently in use, whether it be a system-"
156
151
"wide ``pip`` or one installed within a :ref:`virtual environment <tut-venv>`."
157
152
msgstr ""
153
+ "Note : L'utilisation de ``python -m pip install`` garantit que le `pip` "
154
+ "invoqué est bien celui installé avec la version de Python que vous utilisez, "
155
+ "que ce soit un ``pip`` du système ou un ``pip`` installé dans un :ref:"
156
+ "`environnement virtuel <tut-venv>`."
158
157
159
158
#: howto/pyporting.rst:56
160
159
msgid "Details"
@@ -204,7 +203,6 @@ msgid "Drop support for Python 2.6 and older"
204
203
msgstr "Abandon de la compatibilité Python 2.6 et antérieures"
205
204
206
205
#: howto/pyporting.rst:77
207
- #, fuzzy
208
206
msgid ""
209
207
"While you can make Python 2.5 work with Python 3, it is **much** easier if "
210
208
"you only have to work with Python 2.7. If dropping Python 2.5 is not an "
@@ -215,7 +213,7 @@ msgstr ""
215
213
"Bien qu'il soit possible de rendre Python 2.5 compatible avec Python 3, il "
216
214
"est **beaucoup** plus simple de n'avoir qu'à travailler avec Python 2.7. Si "
217
215
"abandonner Python 2.5 n'est pas une option, alors le projet six_ peut vous "
218
- "aider à gérer simultanément Python 2.5 et 3 (``pip install six``). "
216
+ "aider à gérer simultanément Python 2.5 et 3 (``python -m pip install six``). "
219
217
"Néanmoins, soyez conscient que la quasi-totalité des projets listés dans ce "
220
218
"guide pratique ne seront pas applicables à votre situation."
221
219
0 commit comments