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

Skip to content

Commit 088ae42

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent bf81143 commit 088ae42

File tree

1 file changed

+29
-8
lines changed

1 file changed

+29
-8
lines changed

library/importlib.metadata.po

Lines changed: 29 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:12
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 ""
@@ -122,7 +129,7 @@ msgstr ""
122129

123130
#: ../../library/importlib.metadata.rst:110
124131
msgid "Distribution metadata"
125-
msgstr ""
132+
msgstr "配布物メタデータ"
126133

127134
#: ../../library/importlib.metadata.rst:112
128135
msgid ""
@@ -138,7 +145,7 @@ msgstr ""
138145

139146
#: ../../library/importlib.metadata.rst:127
140147
msgid "Distribution versions"
141-
msgstr ""
148+
msgstr "配布物バージョン"
142149

143150
#: ../../library/importlib.metadata.rst:129
144151
msgid ""
@@ -148,7 +155,7 @@ msgstr ""
148155

149156
#: ../../library/importlib.metadata.rst:139
150157
msgid "Distribution files"
151-
msgstr ""
158+
msgstr "配布物ファイル"
152159

153160
#: ../../library/importlib.metadata.rst:141
154161
msgid ""
@@ -162,7 +169,7 @@ msgstr ""
162169

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

167174
#: ../../library/importlib.metadata.rst:168
168175
msgid ""
@@ -201,12 +208,16 @@ msgid ""
201208
"Thus, an alternative way to get the version number is through the "
202209
"``Distribution`` instance::"
203210
msgstr ""
211+
"したがって、バージョン情報を取得する別の方法として、 ``Distribution`` インス"
212+
"タンスを使用します::"
204213

205214
#: ../../library/importlib.metadata.rst:205
206215
msgid ""
207216
"There are all kinds of additional metadata available on the ``Distribution`` "
208217
"instance::"
209218
msgstr ""
219+
"``Distribution`` インスタンスには、あらゆる種類の追加メタデータが用意されてい"
220+
"ます::"
210221

211222
#: ../../library/importlib.metadata.rst:213
212223
msgid ""
@@ -216,7 +227,7 @@ msgstr ""
216227

217228
#: ../../library/importlib.metadata.rst:218
218229
msgid "Extending the search algorithm"
219-
msgstr ""
230+
msgstr "検索アルゴリズムの拡張"
220231

221232
#: ../../library/importlib.metadata.rst:220
222233
msgid ""
@@ -243,6 +254,12 @@ msgid ""
243254
"and presents this extended interface as the ``DistributionFinder`` abstract "
244255
"base class, which defines this abstract method::"
245256
msgstr ""
257+
"抽象クラス :py:class:`importlib.abc.MetaPathFinder` はPythonの importシステム"
258+
"によってファインダーに期待されるインターフェイスを定義しています。 "
259+
"``importlib.metadata`` はこのプロトコルを拡張し、 :data:`sys.meta_path` から"
260+
"ファインダーにオプションの ``find_distributions`` を呼び出すことができるよう"
261+
"にし、この拡張インターフェースを ``DistributionFinder`` 抽象基底クラスとして"
262+
"提示し、この抽象メソッドを定義しています::"
246263

247264
#: ../../library/importlib.metadata.rst:244
248265
msgid ""
@@ -259,6 +276,10 @@ msgid ""
259276
"instances of this derived ``Distribution`` in the ``find_distributions()`` "
260277
"method."
261278
msgstr ""
279+
"つまり、ファイルシステム以外の場所にある配布パッケージのメタデータを見つける"
280+
"には、 ``Distribution`` をサブクラス化して抽象メソッドを実装します。そして、"
281+
"カスタムファインダーから ``find_distributions()`` メソッドで、派生した "
282+
"``Distribution`` のインスタンスを返します。"
262283

263284
#: ../../library/importlib.metadata.rst:261
264285
msgid "Footnotes"

0 commit comments

Comments
 (0)