Skip to content

Commit dfc54fc

Browse files
author
github-actions
committed
Merge 3.15 into 3.14
1 parent b26693d commit dfc54fc

47 files changed

Lines changed: 716 additions & 794 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎library/ssl.po‎

Lines changed: 44 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,14 @@ msgid ""
5454
"version 1.1.1."
5555
msgstr ""
5656

57-
#: ../../library/ssl.rst:30
5857
msgid ""
5958
"Don't use this module without reading the :ref:`ssl-security`. Doing so may "
6059
"lead to a false sense of security, as the default settings of the ssl module "
6160
"are not necessarily appropriate for your application."
6261
msgstr ""
63-
":ref:`ssl-security` を読まずにこのモジュールを使用しないでください。SSL のデ"
64-
"フォルト設定はアプリケーションに十分ではないので、読まない場合はセキュリティ"
65-
"に誤った意識を持ってしまうかもしれません。"
62+
":ref:`ssl-security` を読まずにこのモジュールを使用しないでください。\n"
63+
"ssl モジュールのデフォルト設定がアプリケーションに適しているとは限らないた"
64+
"め、読まずに使うと安全だと思い込んでしまうおそれがあります。"
6665

6766
msgid "Availability"
6867
msgstr "利用可能な環境"
@@ -481,18 +480,17 @@ msgstr "例外は :exc:`SSLCertVerificationError` の別名になりました。
481480
msgid "Random generation"
482481
msgstr "乱数生成"
483482

484-
#: ../../library/ssl.rst:337
485483
msgid ""
486484
"Return *num* cryptographically strong pseudo-random bytes. Raises an :class:"
487485
"`SSLError` if the PRNG has not been seeded with enough data or if the "
488486
"operation is not supported by the current RAND method. :func:`RAND_status` "
489487
"can be used to check the status of the PRNG and :func:`RAND_add` can be used "
490488
"to seed the PRNG."
491489
msgstr ""
492-
"暗号学的に強固な擬似乱数の *num* バイトを返します。擬似乱数生成器に十分なデー"
493-
"タでシードが与えられていない場合や、現在の RANDOM メソッドに操作がサポートさ"
494-
"れていない場合は :class:`SSLError` を送出します。 :func:`RAND_status` を使っ"
495-
"て擬似乱数生成器の状態をチェックできます。\n"
490+
"暗号学的に強固な擬似乱数の *num* バイトを返します。\n"
491+
"擬似乱数生成器に十分なデータでシードが与えられていない場合や、現在の RAND メ"
492+
"ソッドに操作がサポートされていない場合は :class:`SSLError` を送出します。\n"
493+
":func:`RAND_status` を使って擬似乱数生成器の状態をチェックできます。\n"
496494
":func:`RAND_add` を使って擬似乱数生成器にシードを与えることができます。"
497495

498496
#: ../../library/ssl.rst:343
@@ -566,15 +564,15 @@ msgstr ""
566564
"\"notBefore\" や \"notAfter\" の日付には GMT を使わなければなりません(:rfc:"
567565
"`5280`)。"
568566

569-
#: ../../library/ssl.rst:396
570567
msgid ""
571568
"Interpret the input time as a time in UTC as specified by 'GMT' timezone in "
572569
"the input string. Local timezone was used previously. Return an integer (no "
573570
"fractions of a second in the input format)"
574571
msgstr ""
575-
"入力文字列に指定された 'GMT' タイムゾーンを UTC として解釈するようになりまし"
576-
"た。以前はローカルタイムで解釈していました。また、整数を返すようになりました"
577-
"(入力に含まれる秒の端数を含まない)。"
572+
"入力文字列の 'GMT' タイムゾーン指定に従い、入力時刻を UTC として解釈するよう"
573+
"になりました。\n"
574+
"以前はローカルタイムゾーンで解釈していました。\n"
575+
"整数を返します (入力形式には秒の小数部分がありません)。"
578576

579577
#: ../../library/ssl.rst:405
580578
msgid ""
@@ -648,21 +646,19 @@ msgstr ""
648646
":attr:`capath` - capath の解決済みパス、またはディレクトリが存在しない場合は "
649647
"``None``"
650648

651-
#: ../../library/ssl.rst:445
652649
msgid ""
653650
":attr:`openssl_cafile_env` - OpenSSL's environment key that points to a "
654651
"cafile,"
655-
msgstr ":attr:`openssl_cafile_env` - cafile を指す OpenSSL の環境変数"
652+
msgstr ":attr:`openssl_cafile_env` - cafile を指す OpenSSL の環境変数名"
656653

657654
#: ../../library/ssl.rst:446
658655
msgid ":attr:`openssl_cafile` - hard coded path to a cafile,"
659656
msgstr ":attr:`openssl_cafile` - OpenSSL にハードコードされた cafile のパス"
660657

661-
#: ../../library/ssl.rst:447
662658
msgid ""
663659
":attr:`openssl_capath_env` - OpenSSL's environment key that points to a "
664660
"capath,"
665-
msgstr ":attr:`openssl_capath_env` - capath を指す OpenSSL の環境変数"
661+
msgstr ":attr:`openssl_capath_env` - capath を指す OpenSSL の環境変数名"
666662

667663
#: ../../library/ssl.rst:448
668664
msgid ":attr:`openssl_capath` - hard coded path to a capath directory"
@@ -811,19 +807,19 @@ msgstr ""
811807
"スト(CRLs)はチェックされません。デフォルトでは OpenSSL は CRLs を必要ともしま"
812808
"せんし検証にも使いません。"
813809

814-
#: ../../library/ssl.rst:562
815810
msgid ""
816811
"Possible value for :attr:`SSLContext.verify_flags`. In this mode, only the "
817812
"peer cert is checked but none of the intermediate CA certificates. The mode "
818813
"requires a valid CRL that is signed by the peer cert's issuer (its direct "
819814
"ancestor CA). If no proper CRL has been loaded with :attr:`SSLContext."
820815
"load_verify_locations`, validation will fail."
821816
msgstr ""
822-
":attr:`SSLContext.verify_flags` に渡せる値です。このモードでは、接続先の証明"
823-
"書のみがチェックされ、仲介の CA 証明書はチェックされません。接続先証明書の発"
824-
"行者(その CA の直接の祖先)によって署名された妥当な CRL が必要です。 :attr:"
825-
"`SSLContext.load_verify_locations` で相応しい CRL をロードしていなければ、検"
826-
"証は失敗します。"
817+
":attr:`SSLContext.verify_flags` に指定できる値です。\n"
818+
"このモードでは接続先の証明書だけを検証し、中間 CA 証明書は検証しません。\n"
819+
"接続先証明書の発行者 (その証明書の直接の上位 CA) が署名した有効な CRL が必要"
820+
"です。\n"
821+
":attr:`SSLContext.load_verify_locations` で適切な CRL をロードしていない場"
822+
"合、検証に失敗します。"
827823

828824
#: ../../library/ssl.rst:572
829825
msgid ""
@@ -958,15 +954,15 @@ msgstr ""
958954
"チャンネル暗号化プロトコルとしてTLSバージョン 1.2 を選択します。 openssl "
959955
"version 1.0.1+ のみで利用可能です。"
960956

961-
#: ../../library/ssl.rst:704
962957
msgid ""
963958
"Enables workarounds for various bugs present in other SSL implementations. "
964959
"This option is set by default. It does not necessarily set the same flags "
965960
"as OpenSSL's ``SSL_OP_ALL`` constant."
966961
msgstr ""
967962
"相手にする SSL 実装のさまざまなバグを回避するためのワークアラウンドを有効にし"
968-
"ます。このオプションはデフォルトで有効です。これを有効にする場合 OpenSSL 用の"
969-
"同じ意味のフラグ ``SSL_OP_ALL`` をセットする必要はありません。"
963+
"ます。\n"
964+
"このオプションはデフォルトで有効です。\n"
965+
"OpenSSL の ``SSL_OP_ALL`` 定数と同じフラグを設定するとは限りません。"
970966

971967
#: ../../library/ssl.rst:712
972968
msgid ""
@@ -1582,19 +1578,18 @@ msgstr ""
15821578
":meth:`~SSLSocket.write` の代わりに :meth:`~SSLSocket.send` を使用してくださ"
15831579
"い。"
15841580

1585-
#: ../../library/ssl.rst:1181
15861581
msgid ""
15871582
"The :meth:`~SSLSocket.read` and :meth:`~SSLSocket.write` methods are the low-"
15881583
"level methods that read and write unencrypted, application-level data and "
15891584
"decrypt/encrypt it to encrypted, wire-level data. These methods require an "
15901585
"active SSL connection, i.e. the handshake was completed and :meth:`SSLSocket."
15911586
"unwrap` was not called."
15921587
msgstr ""
1593-
":meth:`~SSLSocket.read`, :meth:`~SSLSocket.write` メソッドは下位レベルのメ"
1594-
"ソッドであり、暗号化されていないアプリケーションレベルのデータを読み書きし、"
1595-
"それを復号/暗号化して暗号化された書き込みレベルのデータにします。これらのメ"
1596-
"ソッドはアクティブな SSL 接続つまり、ハンドシェイクが完了していて、 :meth:"
1597-
"`SSLSocket.unwrap` が呼ばれていないことを必要とします。"
1588+
":meth:`~SSLSocket.read` と :meth:`~SSLSocket.write` は低水準のメソッドで、暗"
1589+
"号化されていないアプリケーションレベルのデータを読み書きし、通信路上の暗号化"
1590+
"されたデータとの間で復号・暗号化を行います。\n"
1591+
"これらのメソッドにはアクティブな SSL 接続、つまりハンドシェイクが完了し、:"
1592+
"meth:`SSLSocket.unwrap` が呼ばれていない接続が必要です。"
15981593

15991594
#: ../../library/ssl.rst:1187
16001595
msgid ""
@@ -1941,13 +1936,11 @@ msgstr ""
19411936
"``\"TLSv1.1\"``, ``\"TLSv1.2\"`` などが返ります。最新の OpenSSL はもっと色々"
19421937
"な値を定義しているかもしれません。"
19431938

1944-
#: ../../library/ssl.rst:1422
19451939
msgid ""
19461940
"Returns the number of already decrypted bytes available for read, pending on "
19471941
"the connection."
19481942
msgstr ""
1949-
"接続において既に復号済みで読み出し可能で保留になっているバイト列の数を返しま"
1950-
"す。"
1943+
"接続上に保留されている、復号済みで読み出し可能なデータのバイト数を返します。"
19511944

19521945
#: ../../library/ssl.rst:1427
19531946
msgid "The :class:`SSLContext` object this SSL socket is tied to."
@@ -2169,14 +2162,13 @@ msgstr ""
21692162
msgid ":class:`SSLContext` objects have the following methods and attributes:"
21702163
msgstr ":class:`SSLContext` オブジェクトは以下のメソッドと属性を持っています:"
21712164

2172-
#: ../../library/ssl.rst:1555
21732165
msgid ""
21742166
"Get statistics about quantities of loaded X.509 certificates, count of X.509 "
21752167
"certificates flagged as CA certificates and certificate revocation lists as "
21762168
"dictionary."
21772169
msgstr ""
2178-
"ロードされた X.509 証明書の数、CA 証明書で活性の X.509 証明書の数、証明書失効"
2179-
"リストの数、についての統計情報を辞書として取得します。"
2170+
"ロードされた X.509 証明書の数、CA 証明書としてフラグが設定された X.509 証明書"
2171+
"の数、証明書失効リストの数を辞書として取得します。"
21802172

21812173
#: ../../library/ssl.rst:1559
21822174
msgid "Example for a context with one CA cert and one other cert::"
@@ -2522,7 +2514,6 @@ msgstr ""
25222514
"このメソッドは :data:`HAS_ALPN` が ``False`` の場合 :exc:"
25232515
"`NotImplementedError` を送出します。"
25242516

2525-
#: ../../library/ssl.rst:1809
25262517
msgid ""
25272518
"Specify which protocols the socket should advertise during the SSL/TLS "
25282519
"handshake. It should be a list of strings, like ``['http/1.1', 'spdy/2']``, "
@@ -2533,12 +2524,14 @@ msgid ""
25332524
"`SSLSocket.selected_npn_protocol` method will return the agreed-upon "
25342525
"protocol."
25352526
msgstr ""
2536-
"SSL/TLS ハンドシェイク時にソケットが提示すべきプロトコルを指定します。 "
2527+
"SSL/TLS ハンドシェイク時にソケットが提示すべきプロトコルを指定します。\n"
25372528
"``['http/1.1', 'spdy/2']`` のような推奨順に並べた文字列のリストでなければなり"
2538-
"ません。プロトコルの選択は `Application Layer Protocol Negotiation <https://"
2539-
"en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ に従いハンド"
2540-
"シェイク中に行われます。ハンドシェイクが正常に終了した後、 :meth:`SSLSocket."
2541-
"selected_alpn_protocol` メソッドは合意されたプロトコルを返します。"
2529+
"ません。\n"
2530+
"プロトコルの選択は `Application Layer Protocol Negotiation <https://en."
2531+
"wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ に従いハンドシェ"
2532+
"イク中に行われます。\n"
2533+
"ハンドシェイクが正常に終了した後、 :meth:`SSLSocket.selected_npn_protocol` メ"
2534+
"ソッドは合意されたプロトコルを返します。"
25422535

25432536
#: ../../library/ssl.rst:1817
25442537
msgid ""
@@ -2665,18 +2658,18 @@ msgid ""
26652658
"message to the client."
26662659
msgstr ""
26672660

2668-
#: ../../library/ssl.rst:1901
26692661
msgid ""
26702662
"Load the key generation parameters for Diffie-Hellman (DH) key exchange. "
26712663
"Using DH key exchange improves forward secrecy at the expense of "
26722664
"computational resources (both on the server and on the client). The *dhfile* "
26732665
"parameter should be the path to a file containing DH parameters in PEM "
26742666
"format."
26752667
msgstr ""
2676-
"ディフィー・ヘルマン(DH)鍵交換のための鍵生成パラメータをロードします。DH 鍵交"
2677-
"換を用いることは、(サーバ、クライアントともに)計算機リソースに高い処理負荷を"
2678-
"かけますがセキュリティを向上させます。 *dhfile* パラメータは PEM フォーマット"
2679-
"の DH パラメータを含んだファイルへのパスでなければなりません。"
2668+
"ディフィー・ヘルマン(DH)鍵交換のための鍵生成パラメータをロードします。\n"
2669+
"DH 鍵交換を用いることは、(サーバ、クライアントともに)計算機リソースに高い処理"
2670+
"負荷をかけますが前方秘匿性を向上させます。\n"
2671+
"*dhfile* パラメータは PEM フォーマットの DH パラメータを含んだファイルへのパ"
2672+
"スでなければなりません。"
26802673

26812674
#: ../../library/ssl.rst:1907
26822675
msgid ""
@@ -4065,13 +4058,12 @@ msgid ""
40654058
"position."
40664059
msgstr "メモリ BIOが現在ファイルの末尾にあるかを表す真偽値です。"
40674060

4068-
#: ../../library/ssl.rst:2799
40694061
msgid ""
40704062
"Read up to *n* bytes from the memory buffer. If *n* is not specified or "
40714063
"negative, all bytes are returned."
40724064
msgstr ""
4073-
"メモリバッファから最大 *n* 読み取ります。*n* が指定されていないか、負値の場"
4074-
"合、すべてのバイトが返されます。"
4065+
"メモリバッファから最大 *n* バイト読み取ります。\n"
4066+
"*n* が指定されていないか負の場合は、すべてのバイトを返します。"
40754067

40764068
#: ../../library/ssl.rst:2804
40774069
msgid ""

‎library/stat.po‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,9 @@ msgid ""
323323
"chmod`:"
324324
msgstr "以下のフラグは、 :func:`os.chmod` の *mode* 引数に使うこともできます:"
325325

326-
#: ../../library/stat.rst:264
327326
msgid "Set UID bit."
328-
msgstr "UID ビットを設定する。"
327+
msgstr "set-user-ID ビット。"
329328

330-
#: ../../library/stat.rst:268
331329
msgid ""
332330
"Set-group-ID bit. This bit has several special uses. For a directory it "
333331
"indicates that BSD semantics is to be used for that directory: files created "
@@ -337,14 +335,16 @@ msgid ""
337335
"execution bit (:data:`S_IXGRP`) set, the set-group-ID bit indicates "
338336
"mandatory file/record locking (see also :data:`S_ENFMT`)."
339337
msgstr ""
340-
"グループIDビットを設定する。このビットには幾つかの特殊ケースがあります。ディ"
341-
"レクトリに対して設定されていた場合、 BSD のセマンティクスが利用される事を示し"
342-
"ています。すなわち、そこに作成されるファイルは、作成したプロセスの有効グルー"
343-
"プID (effective group ID) ではなくそのディレクトリのグループIDを継承し、そこ"
344-
"に作成されるディレクトリにも :data:`S_ISGID` ビットが設定されます。グループ実"
345-
"行ビット (:data:`S_IXGRP`) が設定されていないファイルに対してこのビットが設定"
346-
"されていた場合、強制ファイル/レコードロックを意味します (:data:`S_ENFMT` も参"
347-
"照してください)。"
338+
"set-group-ID ビット。\n"
339+
"このビットには幾つかの特殊ケースがあります。\n"
340+
"ディレクトリに対して設定されていた場合、 BSD のセマンティクスが利用される事を"
341+
"示しています。\n"
342+
"すなわち、そこに作成されるファイルは、作成したプロセスの有効グループID "
343+
"(effective group ID) ではなくそのディレクトリのグループIDを継承し、そこに作成"
344+
"されるディレクトリにも :data:`S_ISGID` ビットが設定されます。\n"
345+
"グループ実行ビット (:data:`S_IXGRP`) が設定されていないファイルに対してこの"
346+
"ビットが設定されていた場合、強制ファイル/レコードロックを意味します (:data:"
347+
"`S_ENFMT` も参照してください)。"
348348

349349
#: ../../library/stat.rst:279
350350
msgid ""

‎library/statistics.po‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,8 @@ msgstr "データの標本標準偏差。"
262262
msgid ":func:`variance`"
263263
msgstr ":func:`variance`"
264264

265-
#: ../../library/statistics.rst:97
266265
msgid "Sample variance of data."
267-
msgstr "データの標本標準分散。"
266+
msgstr "データの標本分散。"
268267

269268
#: ../../library/statistics.rst:101
270269
msgid "Statistics for relations between two inputs"
@@ -656,15 +655,13 @@ msgid ""
656655
msgstr ""
657656
"データが離散的で、中央値がデータ点にない値でも構わない場合に適しています。"
658657

659-
#: ../../library/statistics.rst:362
660658
msgid ""
661659
"If the data is ordinal (supports order operations) but not numeric (doesn't "
662660
"support addition), consider using :func:`median_low` or :func:`median_high` "
663661
"instead."
664662
msgstr ""
665-
"もしあなたのデータが(注文操作をサポートする)序数で、(追加操作をサポートし"
666-
"ない)数値でないならば、代わりに :func:`median_low` または :func:"
667-
"`median_high` の使用を検討してください。"
663+
"データの順序は比較できても、数値ではなく加算できない場合は、代わりに :func:"
664+
"`median_low` または :func:`median_high` の使用を検討してください。"
668665

669666
#: ../../library/statistics.rst:368
670667
msgid ""
@@ -1030,9 +1027,9 @@ msgstr ""
10301027
"データが母集団の標本であるときに用いてください。母集団全体から分散を計算する"
10311028
"には :func:`pvariance` を参照してください。"
10321029

1033-
#: ../../library/statistics.rst:611
10341030
msgid "Raises :exc:`StatisticsError` if *data* has fewer than two values."
1035-
msgstr "*data* の値が2より少ない場合 :exc:`StatisticsError` を送出します。"
1031+
msgstr ""
1032+
"*data* に含まれる値が 2 個未満の場合は :exc:`StatisticsError` を送出します。"
10361033

10371034
#: ../../library/statistics.rst:615
10381035
msgid ""

0 commit comments

Comments
 (0)