Skip to content

Commit 99c9b40

Browse files
committed
WIP
1 parent 090a499 commit 99c9b40

2 files changed

Lines changed: 27 additions & 26 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ JOBS := auto
4343
.PHONY: all
4444
all: setup
4545
mkdir -p $(WORKTREE)/locales/$(LANGUAGE)/LC_MESSAGES/
46-
cp --parents *.po */*.po $(WORKTREE)/locales/$(LANGUAGE)/LC_MESSAGES/
46+
gcp --parents *.po */*.po $(WORKTREE)/locales/$(LANGUAGE)/LC_MESSAGES/
4747
$(MAKE) -C $(WORKTREE)/Doc/ VENVDIR=$(WORKTREE)/Doc/venv/ PYTHON=$(PYTHON) \
4848
SPHINXOPTS='-qW -j$(JOBS) \
4949
-D locale_dirs=../locales \

library/hmac.po

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ msgstr ""
66
"Project-Id-Version: Python 3\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
9-
"PO-Revision-Date: 2019-06-15 16:15+0200\n"
9+
"PO-Revision-Date: 2020-02-18 18:41+0100\n"
1010
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
1111
"Language: fr\n"
1212
"MIME-Version: 1.0\n"
1313
"Content-Type: text/plain; charset=UTF-8\n"
1414
"Content-Transfer-Encoding: 8bit\n"
15-
"Last-Translator: Valériane Venance <venance.valeriane@gmail.com>\n"
16-
"X-Generator: Poedit 2.2.3\n"
15+
"Last-Translator: Mathieu Dupuy <deronnax@gmail.com>\n"
16+
"X-Generator: Poedit 2.3\n"
1717

1818
#: ../Doc/library/hmac.rst:2
1919
msgid ":mod:`hmac` --- Keyed-Hashing for Message Authentication"
@@ -37,17 +37,18 @@ msgid ""
3737
"its argument position, it is required."
3838
msgstr ""
3939
"Retourne un nouvel objet HMAC. *key* est un objet *byte* ou *bytearray* "
40-
"donnant la clé secrète. Si *msg* est présent, un appel à ``update(msg)`` "
41-
"est effectué. *digestmod* est le nom de l’algorithme de hachage, le "
42-
"constructeur de *digest* ou le module de l'objet HMAC à utiliser. Il peut "
43-
"s'agir de n'importe quel nom approprié pour :func:`hashlib.new`. Bien qu’il "
44-
"soit un argument positionnel, il est requis."
40+
"donnant la clé secrète. Si *msg* est présent, un appel à ``update(msg)`` est "
41+
"effectué. *digestmod* permet de choisir l’algorithme à utiliser par l’objet "
42+
"HMAC, il accepte un nom de fonction de hachage (peut être tout ce qui "
43+
"convient :func:`hashlib.new`), un constructeur de fonction de hachage ou un "
44+
"module implémentant la PEP 247. Bien qu’il soit après *msg*, *digestmod* est "
45+
"un paramètre obligatoire."
4546

4647
#: ../Doc/library/hmac.rst:25
4748
msgid ""
48-
"Parameter *key* can be a bytes or bytearray object. Parameter *msg* can be "
49-
"of any type supported by :mod:`hashlib`. Parameter *digestmod* can be the "
50-
"name of a hash algorithm."
49+
"Parameter *key* can be a bytes or bytearray object. Parameter *msg* can be of "
50+
"any type supported by :mod:`hashlib`. Parameter *digestmod* can be the name "
51+
"of a hash algorithm."
5152
msgstr ""
5253
"Le paramètre *key* peut être un *byte* ou un objet *bytearray*. Le paramètre "
5354
"*msg* peut être de n'importe quel type pris en charge par :mod:`hashlib`. Le "
@@ -67,9 +68,9 @@ msgstr ""
6768
#: ../Doc/library/hmac.rst:38
6869
msgid ""
6970
"Return digest of *msg* for given secret *key* and *digest*. The function is "
70-
"equivalent to ``HMAC(key, msg, digest).digest()``, but uses an optimized C "
71-
"or inline implementation, which is faster for messages that fit into memory. "
72-
"The parameters *key*, *msg*, and *digest* have the same meaning as in :func:"
71+
"equivalent to ``HMAC(key, msg, digest).digest()``, but uses an optimized C or "
72+
"inline implementation, which is faster for messages that fit into memory. The "
73+
"parameters *key*, *msg*, and *digest* have the same meaning as in :func:"
7374
"`~hmac.new`."
7475
msgstr ""
7576
"Renvoie l'empreinte cryptographique de *msg* pour une *key* secrète et un "
@@ -95,8 +96,8 @@ msgstr "Un objet HMAC a les méthodes suivantes :"
9596

9697
#: ../Doc/library/hmac.rst:55
9798
msgid ""
98-
"Update the hmac object with *msg*. Repeated calls are equivalent to a "
99-
"single call with the concatenation of all the arguments: ``m.update(a); m."
99+
"Update the hmac object with *msg*. Repeated calls are equivalent to a single "
100+
"call with the concatenation of all the arguments: ``m.update(a); m."
100101
"update(b)`` is equivalent to ``m.update(a + b)``."
101102
msgstr ""
102103
"Met à jour l'objet HMAC avec *msg*. Des appels répétés sont équivalents à un "
@@ -164,8 +165,8 @@ msgid ""
164165
"substring."
165166
msgstr ""
166167
"Retourne une copie (un clone) de l'objet HMAC. C'est utile pour calculer de "
167-
"manière efficace les empreintes cryptographiques de chaînes de caractères "
168-
"qui ont en commun une sous-chaîne initiale."
168+
"manière efficace les empreintes cryptographiques de chaînes de caractères qui "
169+
"ont en commun une sous-chaîne initiale."
169170

170171
#: ../Doc/library/hmac.rst:98
171172
msgid "A hash object has the following attributes:"
@@ -191,16 +192,16 @@ msgstr "Ce module fournit également la fonction utilitaire suivante :"
191192

192193
#: ../Doc/library/hmac.rst:121
193194
msgid ""
194-
"Return ``a == b``. This function uses an approach designed to prevent "
195-
"timing analysis by avoiding content-based short circuiting behaviour, making "
196-
"it appropriate for cryptography. *a* and *b* must both be of the same type: "
197-
"either :class:`str` (ASCII only, as e.g. returned by :meth:`HMAC."
198-
"hexdigest`), or a :term:`bytes-like object`."
195+
"Return ``a == b``. This function uses an approach designed to prevent timing "
196+
"analysis by avoiding content-based short circuiting behaviour, making it "
197+
"appropriate for cryptography. *a* and *b* must both be of the same type: "
198+
"either :class:`str` (ASCII only, as e.g. returned by :meth:`HMAC.hexdigest`), "
199+
"or a :term:`bytes-like object`."
199200
msgstr ""
200201
"Retourne ``a == b``. Cette fonction utilise une approche destinée à prévenir "
201202
"l'analyse des temps de réponse en évitant les comportements de court circuit "
202-
"basés sur le contenu, ce qui la rend appropriée pour de la cryptographie. "
203-
"*a* et *b* doivent être du même type : soit :class:`str` (caractères ASCII "
203+
"basés sur le contenu, ce qui la rend appropriée pour de la cryptographie. *a* "
204+
"et *b* doivent être du même type : soit :class:`str` (caractères ASCII "
204205
"seulement, comme retourné par :meth:`HMAC.hexdigest` par exemple), ou :term:"
205206
"`bytes-like object`."
206207

0 commit comments

Comments
 (0)