@@ -28,11 +28,11 @@ msgstr ":mod:`!importlib.metadata` を使う"
28
28
29
29
#: ../../library/importlib.metadata.rst:11
30
30
msgid "``importlib.metadata`` is no longer provisional."
31
- msgstr ""
31
+ msgstr "``importlib.metadata`` は、暫定的なものではなくなりました。 "
32
32
33
33
#: ../../library/importlib.metadata.rst:14
34
34
msgid "**Source code:** :source:`Lib/importlib/metadata/__init__.py`"
35
- msgstr ""
35
+ msgstr "**ソースコード:** :source:`Lib/importlib/metadata/__init__.py` "
36
36
37
37
#: ../../library/importlib.metadata.rst:16
38
38
msgid ""
@@ -71,7 +71,7 @@ msgstr ""
71
71
msgid "You can get the version string for ``wheel`` by running the following:"
72
72
msgstr ""
73
73
"以下のように実行することで、``wheel`` のバージョン文字列を取得することができ"
74
- "ます: "
74
+ "ます:: "
75
75
76
76
#: ../../library/importlib.metadata.rst:57
77
77
msgid ""
@@ -83,8 +83,8 @@ msgstr ""
83
83
#: ../../library/importlib.metadata.rst:61
84
84
msgid "You can get the :ref:`metadata for a distribution <metadata>`::"
85
85
msgstr ""
86
- ":ref:`ディストリビューションのメタデータ <metadata>`:: を取得することができま"
87
- "す。"
86
+ ":ref:`ディストリビューションのメタデータ <metadata>` を取得することができま"
87
+ "す。:: "
88
88
89
89
#: ../../library/importlib.metadata.rst:66
90
90
msgid ""
@@ -116,10 +116,14 @@ msgid ""
116
116
"to resolve the value. There are also ``.module``, ``.attr``, and ``."
117
117
"extras`` attributes for getting the components of the ``.value`` attribute."
118
118
msgstr ""
119
+ "``entry_points()`` 関数は、エントリポイントの集合を返します。各 "
120
+ "``EntryPoint`` は ``.name``, ``.group``, ``.value`` 属性と値を解決する ``."
121
+ "load() `` メソッドを持っています。 また、``.value`` 属性の構成要素を取得する"
122
+ "ための ``.module``, ``.attr``, ``.extras`` 属性が存在します。"
119
123
120
124
#: ../../library/importlib.metadata.rst:89
121
125
msgid "Query all entry points::"
122
- msgstr ""
126
+ msgstr "すべてのエントリポイントに問い合わせる:: "
123
127
124
128
#: ../../library/importlib.metadata.rst:93
125
129
msgid ""
@@ -133,6 +137,9 @@ msgid ""
133
137
"``EntryPoints`` has a ``select`` method to select entry points matching "
134
138
"specific properties. Select entry points in the ``console_scripts`` group::"
135
139
msgstr ""
140
+ "``EntryPoints`` には、特定のプロパティに一致するエントリポイントを選択するた"
141
+ "めの ``select`` メソッドがあります。``console_scripts`` グループ内のエントリ"
142
+ "ポイントを選択する::"
136
143
137
144
#: ../../library/importlib.metadata.rst:106
138
145
msgid ""
@@ -144,14 +151,16 @@ msgstr ""
144
151
msgid ""
145
152
"Pick out a specific script named \" wheel\" (found in the wheel project)::"
146
153
msgstr ""
154
+ "\" wheel\" という名前の特定のスクリプトを選択します。(wheelプロジェクトにあり"
155
+ "ます)::"
147
156
148
157
#: ../../library/importlib.metadata.rst:117
149
158
msgid "Equivalently, query for that entry point during selection::"
150
- msgstr ""
159
+ msgstr "同様に、選択時にそのエントリポイントを問い合わせます:: "
151
160
152
161
#: ../../library/importlib.metadata.rst:122
153
162
msgid "Inspect the resolved entry point::"
154
- msgstr ""
163
+ msgstr "解決したエントリポイントを検証する:: "
155
164
156
165
#: ../../library/importlib.metadata.rst:136
157
166
msgid ""
@@ -161,10 +170,15 @@ msgid ""
161
170
"latest/userguide/entry_point.html>`_ for more information on entry points, "
162
171
"their definition, and usage."
163
172
msgstr ""
173
+ "``group`` と ``name`` はパッケージの作者によって定義された任意の値で、通常ク"
174
+ "ライアントは特定のグループのエントリポイントを解決したいと思うでしょう。エン"
175
+ "トリポイント、その他の定義、使用方法についての詳細は `setuptoolsのドキュメン"
176
+ "ト <https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_ を参照"
177
+ "してください。"
164
178
165
179
#: ../../library/importlib.metadata.rst:142
166
180
msgid "*Compatibility Note*"
167
- msgstr ""
181
+ msgstr "*互換性に関する注意* "
168
182
169
183
#: ../../library/importlib.metadata.rst:144
170
184
msgid ""
@@ -177,6 +191,14 @@ msgid ""
177
191
"``EntryPoints`` object. Users should rely on the selection interface to "
178
192
"retrieve entry points by group."
179
193
msgstr ""
194
+ "\" 選択可能\" なエントリポイントは ``importlib_metadata`` 3.6 と Python 3.10 "
195
+ "で導入されました。これらの変更以前は、 ``entry_points`` はパラメータを受け付"
196
+ "けず、常にグループ名をキーとするエントリポイントの辞書を返していました。互換"
197
+ "性のため、entry_points にパラメータが渡されない場合、その dict インターフェー"
198
+ "スを実装した ``SelectableGroups`` オブジェクトが返されます。将来的には、パラ"
199
+ "メータを指定せずに ``entry_points`` を呼び出すと、 ``EntryPoints`` オブジェク"
200
+ "トが返されるようになります。ユーザーは、グループごとにエントリポイントを取得"
201
+ "するために、選択インターフェースに依存する必要があります。"
180
202
181
203
#: ../../library/importlib.metadata.rst:157
182
204
msgid "Distribution metadata"
@@ -194,22 +216,28 @@ msgid ""
194
216
"metadata keywords, and the values are returned unparsed from the "
195
217
"distribution metadata::"
196
218
msgstr ""
219
+ "返されたデータ構造である ``PackageMetadata`` のキーはメタデータのキーワードを"
220
+ "表し、値は配布パッケージのメタデータから解析されずに返されます::"
197
221
198
222
#: ../../library/importlib.metadata.rst:171
199
223
msgid ""
200
224
"``PackageMetadata`` also presents a ``json`` attribute that returns all the "
201
225
"metadata in a JSON-compatible form per :PEP:`566`::"
202
226
msgstr ""
227
+ "``PackageMetadata``には ``json`` 属性があり、 :PEP:`566` に従ってすべてのメタ"
228
+ "データをJSON互換の形式で返します::"
203
229
204
230
#: ../../library/importlib.metadata.rst:177
205
231
msgid ""
206
232
"The ``Description`` is now included in the metadata when presented through "
207
233
"the payload. Line continuation characters have been removed."
208
234
msgstr ""
235
+ "ペイロードを通して提示されるとき、 ``Description`` がメタデータに含まれるよう"
236
+ "になりました。行の継続文字は削除されました。"
209
237
210
238
#: ../../library/importlib.metadata.rst:181
211
239
msgid "The ``json`` attribute was added."
212
- msgstr ""
240
+ msgstr "``json`` 属性が追加されました。 "
213
241
214
242
#: ../../library/importlib.metadata.rst:188
215
243
msgid "Distribution versions"
@@ -259,7 +287,7 @@ msgstr ""
259
287
260
288
#: ../../library/importlib.metadata.rst:246
261
289
msgid "Distribution requirements"
262
- msgstr ""
290
+ msgstr "配布物の要件 "
263
291
264
292
#: ../../library/importlib.metadata.rst:248
265
293
msgid ""
0 commit comments