@@ -24,7 +24,7 @@ msgstr ""
24
24
25
25
#: ../../library/importlib.metadata.rst:5
26
26
msgid "Using :mod:`!importlib.metadata`"
27
- msgstr ""
27
+ msgstr ":mod:`!importlib.metadata` を使う "
28
28
29
29
#: ../../library/importlib.metadata.rst:11
30
30
msgid "``importlib.metadata`` is no longer provisional."
@@ -70,6 +70,8 @@ msgstr ""
70
70
#: ../../library/importlib.metadata.rst:48
71
71
msgid "You can get the version string for ``wheel`` by running the following:"
72
72
msgstr ""
73
+ "以下のように実行することで、``wheel`` のバージョン文字列を取得することができ"
74
+ "ます:"
73
75
74
76
#: ../../library/importlib.metadata.rst:57
75
77
msgid ""
@@ -81,25 +83,30 @@ msgstr ""
81
83
#: ../../library/importlib.metadata.rst:61
82
84
msgid "You can get the :ref:`metadata for a distribution <metadata>`::"
83
85
msgstr ""
86
+ ":ref:`ディストリビューションのメタデータ <metadata>`:: を取得することができま"
87
+ "す。"
84
88
85
89
#: ../../library/importlib.metadata.rst:66
86
90
msgid ""
87
91
"You can also get a :ref:`distribution's version number <version>`, list its :"
88
92
"ref:`constituent files <files>`, and get a list of the distribution's :ref:"
89
93
"`requirements`."
90
94
msgstr ""
95
+ "また、 :ref:`配布物のバージョン番号 <version>` を取得し、 :ref:`構成ファイル "
96
+ "<files>` をリストアップし、配布物の :ref:`requirements` のリストを取得するこ"
97
+ "とができます。"
91
98
92
99
#: ../../library/importlib.metadata.rst:72
93
100
msgid "Functional API"
94
101
msgstr "機能 API"
95
102
96
103
#: ../../library/importlib.metadata.rst:74
97
104
msgid "This package provides the following functionality via its public API."
98
- msgstr ""
105
+ msgstr "本パッケージは、公開APIを通じて以下の機能を提供します。 "
99
106
100
107
#: ../../library/importlib.metadata.rst:80
101
108
msgid "Entry points"
102
- msgstr ""
109
+ msgstr "エントリポイント "
103
110
104
111
#: ../../library/importlib.metadata.rst:82
105
112
msgid ""
@@ -173,7 +180,7 @@ msgstr ""
173
180
174
181
#: ../../library/importlib.metadata.rst:157
175
182
msgid "Distribution metadata"
176
- msgstr ""
183
+ msgstr "配布物メタデータ "
177
184
178
185
#: ../../library/importlib.metadata.rst:159
179
186
msgid ""
@@ -206,7 +213,7 @@ msgstr ""
206
213
207
214
#: ../../library/importlib.metadata.rst:188
208
215
msgid "Distribution versions"
209
- msgstr ""
216
+ msgstr "配布物バージョン "
210
217
211
218
#: ../../library/importlib.metadata.rst:190
212
219
msgid ""
@@ -216,7 +223,7 @@ msgstr ""
216
223
217
224
#: ../../library/importlib.metadata.rst:200
218
225
msgid "Distribution files"
219
- msgstr ""
226
+ msgstr "配布物ファイル "
220
227
221
228
#: ../../library/importlib.metadata.rst:202
222
229
msgid ""
@@ -230,13 +237,15 @@ msgstr ""
230
237
231
238
#: ../../library/importlib.metadata.rst:218
232
239
msgid "Once you have the file, you can also read its contents::"
233
- msgstr ""
240
+ msgstr "ファイルを取得したら、その内容を読むこともできます:: "
234
241
235
242
#: ../../library/importlib.metadata.rst:229
236
243
msgid ""
237
244
"You can also use the ``locate`` method to get a the absolute path to the "
238
245
"file::"
239
246
msgstr ""
247
+ "また、 ``locate`` メソッドを使用すると、ファイルへの絶対パスを取得することが"
248
+ "できます::"
240
249
241
250
#: ../../library/importlib.metadata.rst:235
242
251
msgid ""
@@ -285,12 +294,16 @@ msgid ""
285
294
"Thus, an alternative way to get the version number is through the "
286
295
"``Distribution`` instance::"
287
296
msgstr ""
297
+ "したがって、バージョン情報を取得する別の方法として、 ``Distribution`` インス"
298
+ "タンスを使用します::"
288
299
289
300
#: ../../library/importlib.metadata.rst:286
290
301
msgid ""
291
302
"There are all kinds of additional metadata available on the ``Distribution`` "
292
303
"instance::"
293
304
msgstr ""
305
+ "``Distribution`` インスタンスには、あらゆる種類の追加メタデータが用意されてい"
306
+ "ます::"
294
307
295
308
#: ../../library/importlib.metadata.rst:294
296
309
msgid ""
@@ -300,7 +313,7 @@ msgstr ""
300
313
301
314
#: ../../library/importlib.metadata.rst:299
302
315
msgid "Extending the search algorithm"
303
- msgstr ""
316
+ msgstr "検索アルゴリズムの拡張 "
304
317
305
318
#: ../../library/importlib.metadata.rst:301
306
319
msgid ""
@@ -327,13 +340,22 @@ msgid ""
327
340
"and presents this extended interface as the ``DistributionFinder`` abstract "
328
341
"base class, which defines this abstract method::"
329
342
msgstr ""
343
+ "抽象クラス :py:class:`importlib.abc.MetaPathFinder` はPythonの importシステム"
344
+ "によってファインダーに期待されるインターフェイスを定義しています。 "
345
+ "``importlib.metadata`` はこのプロトコルを拡張し、 :data:`sys.meta_path` から"
346
+ "ファインダーにオプションの ``find_distributions`` を呼び出すことができるよう"
347
+ "にし、この拡張インターフェースを ``DistributionFinder`` 抽象基底クラスとして"
348
+ "提示し、この抽象メソッドを定義しています::"
330
349
331
350
#: ../../library/importlib.metadata.rst:325
332
351
msgid ""
333
352
"The ``DistributionFinder.Context`` object provides ``.path`` and ``.name`` "
334
353
"properties indicating the path to search and name to match and may supply "
335
354
"other relevant context."
336
355
msgstr ""
356
+ "``DistributionFinder.Context`` オブジェクトは、検索するパスと一致する名前を示"
357
+ "す ``.path`` と ``.name`` のプロパティを提供し、その他の関連するコンテキスト"
358
+ "を提供することもできます。"
337
359
338
360
#: ../../library/importlib.metadata.rst:329
339
361
msgid ""
@@ -343,3 +365,7 @@ msgid ""
343
365
"instances of this derived ``Distribution`` in the ``find_distributions()`` "
344
366
"method."
345
367
msgstr ""
368
+ "つまり、ファイルシステム以外の場所にある配布パッケージのメタデータを見つける"
369
+ "には、 ``Distribution`` をサブクラス化して抽象メソッドを実装します。そして、"
370
+ "カスタムファインダーから ``find_distributions()`` メソッドで、派生した "
371
+ "``Distribution`` のインスタンスを返します。"
0 commit comments