Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit515ee03

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent7faa2b0 commit515ee03

File tree

4 files changed

+5534
-5493
lines changed

4 files changed

+5534
-5493
lines changed

‎library/hmac.po

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version:Python 3.8\n"
1717
"Report-Msgid-Bugs-To:\n"
18-
"POT-Creation-Date:2019-09-01 14:24+0000\n"
18+
"POT-Creation-Date:2019-10-18 11:42+0000\n"
1919
"PO-Revision-Date:2017-02-16 23:13+0000\n"
2020
"Last-Translator:Takuya N <takninnovationresearch@gmail.com>, 2018\n"
2121
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -42,10 +42,11 @@ msgid ""
4242
"Return a new hmac object. *key* is a bytes or bytearray object giving the "
4343
"secret key. If *msg* is present, the method call ``update(msg)`` is made. "
4444
"*digestmod* is the digest name, digest constructor or module for the HMAC "
45-
"object to use. It supports any name suitable to :func:`hashlib.new`."
45+
"object to use. It may be any name suitable to :func:`hashlib.new`. Despite "
46+
"its argument position, it is required."
4647
msgstr""
4748

48-
#:../../library/hmac.rst:24
49+
#:../../library/hmac.rst:25
4950
msgid""
5051
"Parameter *key* can be a bytes or bytearray object. Parameter *msg* can be "
5152
"of any type supported by :mod:`hashlib`. Parameter *digestmod* can be the "
@@ -54,11 +55,14 @@ msgstr ""
5455
"引数 *key* に bytes または bytearray オブジェクトを渡せるようになりました。引数 *msg* に :mod:`hashlib` "
5556
"がサポートする全てのタイプを渡せるようになりました。引数 *digestmod* にハッシュアルゴリズム名を渡せるようになりました。"
5657

57-
#:../../library/hmac.rst:30
58-
msgid"MD5 as implicit default digest for *digestmod* is deprecated."
59-
msgstr"MD5 が *digestmod* の暗黙のデフォルトダイジェストとなるのは廃止予定です。"
58+
#:../../library/hmac.rst:33
59+
msgid""
60+
"MD5 as implicit default digest for *digestmod* is deprecated. The digestmod "
61+
"parameter is now required. Pass it as a keyword argument to avoid "
62+
"awkwardness when you do not have an initial msg."
63+
msgstr""
6064

61-
#:../../library/hmac.rst:35
65+
#:../../library/hmac.rst:38
6266
msgid""
6367
"Return digest of *msg* for given secret *key* and *digest*. The function is "
6468
"equivalent to ``HMAC(key, msg, digest).digest()``, but uses an optimized C "
@@ -67,18 +71,18 @@ msgid ""
6771
":func:`~hmac.new`."
6872
msgstr""
6973

70-
#:../../library/hmac.rst:41
74+
#:../../library/hmac.rst:44
7175
msgid""
7276
"CPython implementation detail, the optimized C implementation is only used "
7377
"when *digest* is a string and name of a digest algorithm, which is supported"
7478
" by OpenSSL."
7579
msgstr""
7680

77-
#:../../library/hmac.rst:48
81+
#:../../library/hmac.rst:51
7882
msgid"An HMAC object has the following methods:"
7983
msgstr"HMAC オブジェクトは以下のメソッドを持っています:"
8084

81-
#:../../library/hmac.rst:52
85+
#:../../library/hmac.rst:55
8286
msgid""
8387
"Update the hmac object with *msg*. Repeated calls are equivalent to a "
8488
"single call with the concatenation of all the arguments: ``m.update(a); "
@@ -88,11 +92,11 @@ msgstr ""
8892
"で更新します。このメソッドの呼出の繰り返しは、それらの引数を全て結合した引数で単一の呼び出しをした際と同じになります。すなわち "
8993
"``m.update(a); m.update(b)`` は ``m.update(a + b)`` と等価です。"
9094

91-
#:../../library/hmac.rst:56
95+
#:../../library/hmac.rst:59
9296
msgid"Parameter *msg* can be of any type supported by :mod:`hashlib`."
9397
msgstr"引数 *msg* は :mod:`hashlib` がサポートしているあらゆる型のいずれかです。"
9498

95-
#:../../library/hmac.rst:62
99+
#:../../library/hmac.rst:65
96100
msgid""
97101
"Return the digest of the bytes passed to the :meth:`update` method so far. "
98102
"This bytes object will be the same length as the *digest_size* of the digest"
@@ -102,7 +106,7 @@ msgstr ""
102106
"これまで :meth:`update` メソッドに渡されたバイト列のダイジェスト値を返します。これはコンストラクタに与えられた "
103107
"*digest_size* と同じ長さのバイト列で、 NUL バイトを含む非 ASCII 文字が含まれることがあります。"
104108

105-
#:../../library/hmac.rst:69
109+
#:../../library/hmac.rst:72
106110
msgid""
107111
"When comparing the output of :meth:`digest` to an externally-supplied digest"
108112
" during a verification routine, it is recommended to use the "
@@ -113,7 +117,7 @@ msgstr ""
113117
"の出力結果と外部から供給されたダイジェストを検証ルーチン内で比較しようとするのであれば、タイミング攻撃への脆弱性を減らすために、 ``==`` "
114118
"演算子ではなく :func:`compare_digest` を使うことをお奨めします。"
115119

116-
#:../../library/hmac.rst:77
120+
#:../../library/hmac.rst:80
117121
msgid""
118122
"Like :meth:`digest` except the digest is returned as a string twice the "
119123
"length containing only hexadecimal digits. This may be used to exchange the"
@@ -122,7 +126,7 @@ msgstr ""
122126
":meth:`digest` "
123127
"と似ていますが、返される文字列は倍の長さとなり、16進形式となります。これは、電子メールなどの非バイナリ環境で値を交換する場合に便利です。"
124128

125-
#:../../library/hmac.rst:83
129+
#:../../library/hmac.rst:86
126130
msgid""
127131
"When comparing the output of :meth:`hexdigest` to an externally-supplied "
128132
"digest during a verification routine, it is recommended to use the "
@@ -133,7 +137,7 @@ msgstr ""
133137
"の出力結果と外部から供給されたダイジェストを検証ルーチン内で比較しようとするのであれば、タイミング攻撃への脆弱性を減らすために、 ``==`` "
134138
"演算子ではなく :func:`compare_digest` を使うことをお奨めします。"
135139

136-
#:../../library/hmac.rst:91
140+
#:../../library/hmac.rst:94
137141
msgid""
138142
"Return a copy (\"clone\") of the hmac object. This can be used to "
139143
"efficiently compute the digests of strings that share a common initial "
@@ -142,27 +146,27 @@ msgstr ""
142146
"hmac オブジェクトのコピー (\"クローン\") "
143147
"を返します。このコピーは最初の部分文字列が共通になっている文字列のダイジェスト値を効率よく計算するために使うことができます。"
144148

145-
#:../../library/hmac.rst:95
149+
#:../../library/hmac.rst:98
146150
msgid"A hash object has the following attributes:"
147151
msgstr"ハッシュオブジェクトには次のような属性があります:"
148152

149-
#:../../library/hmac.rst:99
153+
#:../../library/hmac.rst:102
150154
msgid"The size of the resulting HMAC digest in bytes."
151155
msgstr"生成された HMAC ダイジェストのバイト数。"
152156

153-
#:../../library/hmac.rst:103
157+
#:../../library/hmac.rst:106
154158
msgid"The internal block size of the hash algorithm in bytes."
155159
msgstr"内部で使われるハッシュアルゴリズムのブロックのバイト数。"
156160

157-
#:../../library/hmac.rst:109
161+
#:../../library/hmac.rst:112
158162
msgid"The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``."
159163
msgstr"このHMAC の正規名で、例えば ``hmac-md5`` のように常に小文字です。"
160164

161-
#:../../library/hmac.rst:114
165+
#:../../library/hmac.rst:117
162166
msgid"This module also provides the following helper function:"
163167
msgstr"このモジュールは以下のヘルパ関数も提供しています:"
164168

165-
#:../../library/hmac.rst:118
169+
#:../../library/hmac.rst:121
166170
msgid""
167171
"Return ``a == b``. This function uses an approach designed to prevent "
168172
"timing analysis by avoiding content-based short circuiting behaviour, making"
@@ -175,7 +179,7 @@ msgstr ""
175179
" *a* と *b* は両方が同じ型でなければなりません: (例えば :meth:`HMAC.hexdigest` が返したような ASCII のみの)"
176180
" :class:`str` または :term:`bytes-like object` のどちらか一方。"
177181

178-
#:../../library/hmac.rst:126
182+
#:../../library/hmac.rst:129
179183
msgid""
180184
"If *a* and *b* are of different lengths, or if an error occurs, a timing "
181185
"attack could theoretically reveal information about the types and lengths of"
@@ -184,10 +188,10 @@ msgstr ""
184188
"*a* と *b* が異なる長さであったりエラーが発生した場合には、タイミング攻撃で理論上 *a* と *b* "
185189
"の型と長さについての情報が暴露されますが、その値は明らかになりません。"
186190

187-
#:../../library/hmac.rst:136
191+
#:../../library/hmac.rst:138
188192
msgid"Module :mod:`hashlib`"
189193
msgstr":mod:`hashlib` モジュール"
190194

191-
#:../../library/hmac.rst:137
195+
#:../../library/hmac.rst:139
192196
msgid"The Python module providing secure hash functions."
193197
msgstr"セキュアハッシュ関数を提供する Python モジュールです。"

‎library/typing.po

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,9 @@ msgid ""
403403
"would normally do in idiomatic dynamically typed Python code. For example, "
404404
"this conforms to the :pep:`484`::"
405405
msgstr""
406+
"この必須条件は、以前は :class:`Iterable` のような抽象基底クラスにも適用されていました。\n"
407+
"この手法の問題は、クラスがその条件を満たしていることを明示しなければならず、それは Pythonic でもないですし、動的型付きの慣習的な Python コードで通常行っていることとは似ていません。\n"
408+
"例えば、次のコードは :pep:`484` に従ったものです::"
406409

407410
#:../../library/typing.rst:417
408411
msgid""
@@ -412,13 +415,16 @@ msgid ""
412415
"``Iterable[int]`` by static type checkers. This is known as *structural "
413416
"subtyping* (or static duck-typing)::"
414417
msgstr""
418+
":pep:`544` によって上にあるようなクラス定義で基底クラスを明示しないコードをユーザーが書け、静的型チェッカーで ``Bucket`` が ``Sized`` と ``Iterable[int]`` 両方のサブタイプだと暗黙的に見なせるようになり、この問題が解決しました。\n"
419+
"これは *structural subtyping (構造的部分型)* (あるいは、静的ダックタイピング) として知られています::"
415420

416421
#:../../library/typing.rst:433
417422
msgid""
418423
"Moreover, by subclassing a special class :class:`Protocol`, a user can "
419424
"define new custom protocols to fully enjoy structural subtyping (see "
420425
"examples below)."
421426
msgstr""
427+
"さらに、特別なクラス :class:`Protocol` のサブクラスを作ることで、新しい独自のプロトコルを作って構造的部分型というものを満喫できます。"
422428

423429
#:../../library/typing.rst:439
424430
msgid"Classes, functions, and decorators"
@@ -499,12 +505,14 @@ msgstr "このクラスは次のように使用することが出来ます::"
499505
msgid""
500506
"Base class for protocol classes. Protocol classes are defined like this::"
501507
msgstr""
508+
"プロトコルクラスの基底クラス。\n"
509+
"プロトコルクラスは次のように定義されます::"
502510

503511
#:../../library/typing.rst:513
504512
msgid""
505513
"Such classes are primarily used with static type checkers that recognize "
506514
"structural subtyping (static duck-typing), for example::"
507-
msgstr""
515+
msgstr"このようなクラスは主に構造的部分型 (静的ダックタイピング) を認識する静的型チェッカーが使います。例えば::"
508516

509517
#:../../library/typing.rst:525
510518
msgid""
@@ -513,10 +521,12 @@ msgid ""
513521
"protocols that check only the presence of given attributes, ignoring their "
514522
"type signatures."
515523
msgstr""
524+
"詳細については pep:`544` を参照してください。\n"
525+
":func:`runtime_checkable` (後で説明します) でデコレートされたプロトコルクラスは、与えられたメソッドがあることだけを確認し、その型シグネチャは全く見ない安直な動作をする実行時プロトコルとして振る舞います。"
516526

517527
#:../../library/typing.rst:530
518528
msgid"Protocol classes can be generic, for example::"
519-
msgstr""
529+
msgstr"プロトコルクラスはジェネリックにもできます。例えば::"
520530

521531
#:../../library/typing.rst:540
522532
msgid""
@@ -592,7 +602,7 @@ msgstr "抽象メソッド ``__bytes__`` を備えた ABC です。"
592602

593603
#:../../library/typing.rst:610
594604
msgid"An ABC with one abstract method ``__index__``."
595-
msgstr""
605+
msgstr"抽象メソッド ``__index__`` を備えた ABC です。"
596606

597607
#:../../library/typing.rst:616
598608
msgid""
@@ -896,6 +906,8 @@ msgid ""
896906
"``_fields`` attribute and the default values are in the ``_field_defaults`` "
897907
"attribute both of which are part of the namedtuple API.)"
898908
msgstr""
909+
"最終的に出来上がるクラスには、フィールド名をフィールド型へ対応付ける辞書を提供する ``__annotations__`` 属性が追加されています。\n"
910+
"(フィールド名は ``_fields`` 属性に、デフォルト値は ``_field_defaults`` 属性に格納されていて、両方とも名前付きタプル API の一部分です。)"
899911

900912
#:../../library/typing.rst:942
901913
msgid"``NamedTuple`` subclasses can also have docstrings and methods::"
@@ -918,18 +930,24 @@ msgid ""
918930
"Deprecated the ``_field_types`` attribute in favor of the more standard "
919931
"``__annotations__`` attribute which has the same information."
920932
msgstr""
933+
"``_field_types`` 属性が非推奨となりました。代わりに同じ情報を持つより標準的な ``__annotations__`` "
934+
"属性を使ってください。"
921935

922936
#:../../library/typing.rst:966
923937
msgid""
924938
"The ``_field_types`` and ``__annotations__`` attributes are now regular "
925939
"dictionaries instead of instances of ``OrderedDict``."
926940
msgstr""
941+
"``_field_types`` 属性および ``__annotations__`` 属性は ``OrderedDict`` "
942+
"インスタンスではなく普通の辞書になりまいた。"
927943

928944
#:../../library/typing.rst:972
929945
msgid""
930946
"A simple typed namespace. At runtime it is equivalent to a plain "
931947
":class:`dict`."
932948
msgstr""
949+
"シンプルな型付き名前空間です。\n"
950+
"実行時には素の :class:`dict` と同等のものになります。"
933951

934952
#:../../library/typing.rst:975
935953
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp