Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 85fad7e

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent 34be8c6 commit 85fad7e

File tree

1 file changed

+34
-8
lines changed

1 file changed

+34
-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:10
3030
msgid "**Source code:** :source:`Lib/importlib/metadata.py`"
@@ -72,6 +72,8 @@ msgstr ""
7272
#: ../../library/importlib.metadata.rst:50
7373
msgid "You can get the version string for ``wheel`` by running the following:"
7474
msgstr ""
75+
"以下のように実行することで、``wheel`` のバージョン文字列を取得することができ"
76+
"ます:"
7577

7678
#: ../../library/importlib.metadata.rst:59
7779
msgid ""
@@ -83,25 +85,30 @@ msgstr ""
8385
#: ../../library/importlib.metadata.rst:63
8486
msgid "You can get the :ref:`metadata for a distribution <metadata>`::"
8587
msgstr ""
88+
":ref:`ディストリビューションのメタデータ <metadata>`:: を取得することができま"
89+
"す。"
8690

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

94101
#: ../../library/importlib.metadata.rst:74
95102
msgid "Functional API"
96103
msgstr "機能 API"
97104

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

102109
#: ../../library/importlib.metadata.rst:82
103110
msgid "Entry points"
104-
msgstr ""
111+
msgstr "エントリポイント"
105112

106113
#: ../../library/importlib.metadata.rst:84
107114
msgid ""
@@ -124,7 +131,7 @@ msgstr ""
124131

125132
#: ../../library/importlib.metadata.rst:118
126133
msgid "Distribution metadata"
127-
msgstr ""
134+
msgstr "配布物メタデータ"
128135

129136
#: ../../library/importlib.metadata.rst:120
130137
msgid ""
@@ -140,7 +147,7 @@ msgstr ""
140147

141148
#: ../../library/importlib.metadata.rst:135
142149
msgid "Distribution versions"
143-
msgstr ""
150+
msgstr "配布物バージョン"
144151

145152
#: ../../library/importlib.metadata.rst:137
146153
msgid ""
@@ -150,7 +157,7 @@ msgstr ""
150157

151158
#: ../../library/importlib.metadata.rst:147
152159
msgid "Distribution files"
153-
msgstr ""
160+
msgstr "配布物ファイル"
154161

155162
#: ../../library/importlib.metadata.rst:149
156163
msgid ""
@@ -164,13 +171,15 @@ msgstr ""
164171

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

169176
#: ../../library/importlib.metadata.rst:176
170177
msgid ""
171178
"You can also use the ``locate`` method to get a the absolute path to the "
172179
"file::"
173180
msgstr ""
181+
"また、 ``locate`` メソッドを使用すると、ファイルへの絶対パスを取得することが"
182+
"できます::"
174183

175184
#: ../../library/importlib.metadata.rst:182
176185
msgid ""
@@ -209,12 +218,16 @@ msgid ""
209218
"Thus, an alternative way to get the version number is through the "
210219
"``Distribution`` instance::"
211220
msgstr ""
221+
"したがって、バージョン情報を取得する別の方法として、 ``Distribution`` インス"
222+
"タンスを使用します::"
212223

213224
#: ../../library/importlib.metadata.rst:219
214225
msgid ""
215226
"There are all kinds of additional metadata available on the ``Distribution`` "
216227
"instance::"
217228
msgstr ""
229+
"``Distribution`` インスタンスには、あらゆる種類の追加メタデータが用意されてい"
230+
"ます::"
218231

219232
#: ../../library/importlib.metadata.rst:227
220233
msgid ""
@@ -224,7 +237,7 @@ msgstr ""
224237

225238
#: ../../library/importlib.metadata.rst:232
226239
msgid "Extending the search algorithm"
227-
msgstr ""
240+
msgstr "検索アルゴリズムの拡張"
228241

229242
#: ../../library/importlib.metadata.rst:234
230243
msgid ""
@@ -251,13 +264,22 @@ msgid ""
251264
"and presents this extended interface as the ``DistributionFinder`` abstract "
252265
"base class, which defines this abstract method::"
253266
msgstr ""
267+
"抽象クラス :py:class:`importlib.abc.MetaPathFinder` はPythonの importシステム"
268+
"によってファインダーに期待されるインターフェイスを定義しています。 "
269+
"``importlib.metadata`` はこのプロトコルを拡張し、 :data:`sys.meta_path` から"
270+
"ファインダーにオプションの ``find_distributions`` を呼び出すことができるよう"
271+
"にし、この拡張インターフェースを ``DistributionFinder`` 抽象基底クラスとして"
272+
"提示し、この抽象メソッドを定義しています::"
254273

255274
#: ../../library/importlib.metadata.rst:258
256275
msgid ""
257276
"The ``DistributionFinder.Context`` object provides ``.path`` and ``.name`` "
258277
"properties indicating the path to search and name to match and may supply "
259278
"other relevant context."
260279
msgstr ""
280+
"``DistributionFinder.Context`` オブジェクトは、検索するパスと一致する名前を示"
281+
"す ``.path`` と ``.name`` のプロパティを提供し、その他の関連するコンテキスト"
282+
"を提供することもできます。"
261283

262284
#: ../../library/importlib.metadata.rst:262
263285
msgid ""
@@ -267,6 +289,10 @@ msgid ""
267289
"instances of this derived ``Distribution`` in the ``find_distributions()`` "
268290
"method."
269291
msgstr ""
292+
"つまり、ファイルシステム以外の場所にある配布パッケージのメタデータを見つける"
293+
"には、 ``Distribution`` をサブクラス化して抽象メソッドを実装します。そして、"
294+
"カスタムファインダーから ``find_distributions()`` メソッドで、派生した "
295+
"``Distribution`` のインスタンスを返します。"
270296

271297
#: ../../library/importlib.metadata.rst:275
272298
msgid "Footnotes"

0 commit comments

Comments
 (0)