Skip to content

Commit 3af9dc1

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent 331fd02 commit 3af9dc1

File tree

2 files changed

+42
-8
lines changed

2 files changed

+42
-8
lines changed

library/importlib.metadata.po

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ msgstr ""
2424

2525
#: ../../library/importlib.metadata.rst:5
2626
msgid "Using :mod:`!importlib.metadata`"
27-
msgstr ""
27+
msgstr ":mod:`!importlib.metadata` を使う"
2828

2929
#: ../../library/importlib.metadata.rst:11
3030
msgid "``importlib.metadata`` is no longer provisional."
@@ -70,6 +70,8 @@ msgstr ""
7070
#: ../../library/importlib.metadata.rst:48
7171
msgid "You can get the version string for ``wheel`` by running the following:"
7272
msgstr ""
73+
"以下のように実行することで、``wheel`` のバージョン文字列を取得することができ"
74+
"ます:"
7375

7476
#: ../../library/importlib.metadata.rst:57
7577
msgid ""
@@ -81,25 +83,30 @@ msgstr ""
8183
#: ../../library/importlib.metadata.rst:61
8284
msgid "You can get the :ref:`metadata for a distribution <metadata>`::"
8385
msgstr ""
86+
":ref:`ディストリビューションのメタデータ <metadata>`:: を取得することができま"
87+
"す。"
8488

8589
#: ../../library/importlib.metadata.rst:66
8690
msgid ""
8791
"You can also get a :ref:`distribution's version number <version>`, list its :"
8892
"ref:`constituent files <files>`, and get a list of the distribution's :ref:"
8993
"`requirements`."
9094
msgstr ""
95+
"また、 :ref:`配布物のバージョン番号 <version>` を取得し、 :ref:`構成ファイル "
96+
"<files>` をリストアップし、配布物の :ref:`requirements` のリストを取得するこ"
97+
"とができます。"
9198

9299
#: ../../library/importlib.metadata.rst:72
93100
msgid "Functional API"
94101
msgstr "機能 API"
95102

96103
#: ../../library/importlib.metadata.rst:74
97104
msgid "This package provides the following functionality via its public API."
98-
msgstr ""
105+
msgstr "本パッケージは、公開APIを通じて以下の機能を提供します。"
99106

100107
#: ../../library/importlib.metadata.rst:80
101108
msgid "Entry points"
102-
msgstr ""
109+
msgstr "エントリポイント"
103110

104111
#: ../../library/importlib.metadata.rst:82
105112
msgid ""
@@ -173,7 +180,7 @@ msgstr ""
173180

174181
#: ../../library/importlib.metadata.rst:157
175182
msgid "Distribution metadata"
176-
msgstr ""
183+
msgstr "配布物メタデータ"
177184

178185
#: ../../library/importlib.metadata.rst:159
179186
msgid ""
@@ -206,7 +213,7 @@ msgstr ""
206213

207214
#: ../../library/importlib.metadata.rst:188
208215
msgid "Distribution versions"
209-
msgstr ""
216+
msgstr "配布物バージョン"
210217

211218
#: ../../library/importlib.metadata.rst:190
212219
msgid ""
@@ -216,7 +223,7 @@ msgstr ""
216223

217224
#: ../../library/importlib.metadata.rst:200
218225
msgid "Distribution files"
219-
msgstr ""
226+
msgstr "配布物ファイル"
220227

221228
#: ../../library/importlib.metadata.rst:202
222229
msgid ""
@@ -230,13 +237,15 @@ msgstr ""
230237

231238
#: ../../library/importlib.metadata.rst:218
232239
msgid "Once you have the file, you can also read its contents::"
233-
msgstr ""
240+
msgstr "ファイルを取得したら、その内容を読むこともできます::"
234241

235242
#: ../../library/importlib.metadata.rst:229
236243
msgid ""
237244
"You can also use the ``locate`` method to get a the absolute path to the "
238245
"file::"
239246
msgstr ""
247+
"また、 ``locate`` メソッドを使用すると、ファイルへの絶対パスを取得することが"
248+
"できます::"
240249

241250
#: ../../library/importlib.metadata.rst:235
242251
msgid ""
@@ -285,12 +294,16 @@ msgid ""
285294
"Thus, an alternative way to get the version number is through the "
286295
"``Distribution`` instance::"
287296
msgstr ""
297+
"したがって、バージョン情報を取得する別の方法として、 ``Distribution`` インス"
298+
"タンスを使用します::"
288299

289300
#: ../../library/importlib.metadata.rst:286
290301
msgid ""
291302
"There are all kinds of additional metadata available on the ``Distribution`` "
292303
"instance::"
293304
msgstr ""
305+
"``Distribution`` インスタンスには、あらゆる種類の追加メタデータが用意されてい"
306+
"ます::"
294307

295308
#: ../../library/importlib.metadata.rst:294
296309
msgid ""
@@ -300,7 +313,7 @@ msgstr ""
300313

301314
#: ../../library/importlib.metadata.rst:299
302315
msgid "Extending the search algorithm"
303-
msgstr ""
316+
msgstr "検索アルゴリズムの拡張"
304317

305318
#: ../../library/importlib.metadata.rst:301
306319
msgid ""
@@ -327,13 +340,22 @@ msgid ""
327340
"and presents this extended interface as the ``DistributionFinder`` abstract "
328341
"base class, which defines this abstract method::"
329342
msgstr ""
343+
"抽象クラス :py:class:`importlib.abc.MetaPathFinder` はPythonの importシステム"
344+
"によってファインダーに期待されるインターフェイスを定義しています。 "
345+
"``importlib.metadata`` はこのプロトコルを拡張し、 :data:`sys.meta_path` から"
346+
"ファインダーにオプションの ``find_distributions`` を呼び出すことができるよう"
347+
"にし、この拡張インターフェースを ``DistributionFinder`` 抽象基底クラスとして"
348+
"提示し、この抽象メソッドを定義しています::"
330349

331350
#: ../../library/importlib.metadata.rst:325
332351
msgid ""
333352
"The ``DistributionFinder.Context`` object provides ``.path`` and ``.name`` "
334353
"properties indicating the path to search and name to match and may supply "
335354
"other relevant context."
336355
msgstr ""
356+
"``DistributionFinder.Context`` オブジェクトは、検索するパスと一致する名前を示"
357+
"す ``.path`` と ``.name`` のプロパティを提供し、その他の関連するコンテキスト"
358+
"を提供することもできます。"
337359

338360
#: ../../library/importlib.metadata.rst:329
339361
msgid ""
@@ -343,3 +365,7 @@ msgid ""
343365
"instances of this derived ``Distribution`` in the ``find_distributions()`` "
344366
"method."
345367
msgstr ""
368+
"つまり、ファイルシステム以外の場所にある配布パッケージのメタデータを見つける"
369+
"には、 ``Distribution`` をサブクラス化して抽象メソッドを実装します。そして、"
370+
"カスタムファインダーから ``find_distributions()`` メソッドで、派生した "
371+
"``Distribution`` のインスタンスを返します。"

library/subprocess.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@ msgid ""
307307
"any output was captured regardless of the ``text=True`` setting. It may "
308308
"remain ``None`` instead of ``b''`` when no output was observed."
309309
msgstr ""
310+
":func:`run` にまたは :func:`check_output` によって捕捉された場合は、子プロセ"
311+
"スの出力となり、それ以外の場合は ``None`` となります。``text=True`` の設定に"
312+
"関係なく、出力が捕捉された場合は常に :class:`bytes` となります。出力がない場"
313+
"合は ``b''`` の代わりに``None`` のままになることがあります。"
310314

311315
#: ../../library/subprocess.rst:204 ../../library/subprocess.rst:241
312316
msgid "Alias for output, for symmetry with :attr:`stderr`."
@@ -319,6 +323,10 @@ msgid ""
319323
"captured regardless of the ``text=True`` setting. It may remain ``None`` "
320324
"instead of ``b''`` when no stderr output was observed."
321325
msgstr ""
326+
":func:`run` によって捕捉された場合、子プロセスの標準エラー出力が表示され、そ"
327+
"れ以外の場合は ``None`` となります。``text=True`` の設定に関係なく、標準エ"
328+
"ラー出力を捕捉した場合は常に :class:`bytes` となります。標準エラー出力がない"
329+
"場合は、``b''`` の代わりに ``None`` のままになることがあります。"
322330

323331
#: ../../library/subprocess.rst:215 ../../library/subprocess.rst:248
324332
msgid "*stdout* and *stderr* attributes added"

0 commit comments

Comments
 (0)