@@ -34,6 +34,11 @@ msgid ""
34
34
"if no system time zone data is available, the library will fall back to "
35
35
"using the first-party `tzdata`_ package available on PyPI."
36
36
msgstr ""
37
+ ":mod:`zoneinfo` モジュールは :pep:`615` で規定された、IANAのタイムゾーンデー"
38
+ "タベースをサポートした具体的なタイムゾーン実装を提供します。 デフォルトで"
39
+ "は、:mod:`zoneinfo` はシステムのタイムゾーンデータが利用可能であれば使用しま"
40
+ "す。システムのタイムゾーンデータが利用できない場合、ライブラリはPyPIにある"
41
+ "ファーストパーティーのパッケージ `tzdata`_ を代わりに使用します。"
37
42
38
43
#: ../../library/zoneinfo.rst:24
39
44
msgid "Module: :mod:`datetime`"
@@ -44,6 +49,8 @@ msgid ""
44
49
"Provides the :class:`~datetime.time` and :class:`~datetime.datetime` types "
45
50
"with which the :class:`ZoneInfo` class is designed to be used."
46
51
msgstr ""
52
+ ":class:`ZoneInfo` クラスを使用するように設計されたデータ型 :class:`~datetime."
53
+ "time` と :class:`~datetime.datetime` を提供します。"
47
54
48
55
#: ../../library/zoneinfo.rst:27
49
56
msgid "Package `tzdata`_"
@@ -54,6 +61,8 @@ msgid ""
54
61
"First-party package maintained by the CPython core developers to supply time "
55
62
"zone data via PyPI."
56
63
msgstr ""
64
+ "CPythonコアデベロッパーによってメンテナンスされているファーストパーティーの"
65
+ "パッケージ。タイムゾーンデータを供給し、PyPIで配布されている。"
57
66
58
67
#: ../../library/zoneinfo.rst:32
59
68
msgid "Using ``ZoneInfo``"
@@ -67,6 +76,10 @@ msgid ""
67
76
"replace>` method or :meth:`datetime.astimezone <datetime.datetime."
68
77
"astimezone>`::"
69
78
msgstr ""
79
+ ":class:`ZoneInfo` は :class:`datetime.tzinfo` 抽象基底クラスの具体的な実装で"
80
+ "あり、``tzinfo`` に指定することを想定しています。コンストラクタ、:meth:"
81
+ "`datetime.replace <datetime.datetime.replace>` メソッド、:meth:`datetime."
82
+ "astimezone <datetime.datetime.astimezone>` メソッドのいずれかで指定します。"
70
83
71
84
#: ../../library/zoneinfo.rst:49
72
85
msgid ""
@@ -200,7 +213,7 @@ msgstr ""
200
213
201
214
#: ../../library/zoneinfo.rst:168
202
215
msgid "The ``ZoneInfo`` class"
203
- msgstr ""
216
+ msgstr "``ZoneInfo`` クラス "
204
217
205
218
#: ../../library/zoneinfo.rst:172
206
219
msgid ""
@@ -210,6 +223,11 @@ msgid ""
210
223
"cache invalidation via :meth:`ZoneInfo.clear_cache`, for all values of "
211
224
"``key``, the following assertion will always be true:"
212
225
msgstr ""
226
+ "文字列 ``key`` でIANAタイムゾーンを指定した、具体的な :class:`datetime."
227
+ "tzinfo` のサブクラス。Calls to the primary constructor will always return "
228
+ "objects that compare identically; put another way, barring cache "
229
+ "invalidation via :meth:`ZoneInfo.clear_cache`, for all values of ``key``, "
230
+ "the following assertion will always be true:"
213
231
214
232
#: ../../library/zoneinfo.rst:184
215
233
msgid ""
@@ -223,17 +241,22 @@ msgid ""
223
241
"If no file matching ``key`` is found, the constructor will raise :exc:"
224
242
"`ZoneInfoNotFoundError`."
225
243
msgstr ""
244
+ "``key`` に一致するファイルが見つからない場合、コンストラクタは :exc:"
245
+ "`ZoneInfoNotFoundError` を送出します。"
226
246
227
247
#: ../../library/zoneinfo.rst:192
228
248
msgid "The ``ZoneInfo`` class has two alternate constructors:"
229
- msgstr ""
249
+ msgstr "``ZoneInfo`` クラスには2つの別のコンストラクターがあります: "
230
250
231
251
#: ../../library/zoneinfo.rst:196
232
252
msgid ""
233
253
"Constructs a ``ZoneInfo`` object from a file-like object returning bytes (e."
234
254
"g. a file opened in binary mode or an :class:`io.BytesIO` object). Unlike "
235
255
"the primary constructor, this always constructs a new object."
236
256
msgstr ""
257
+ "file-like オブジェクトが返すbytes(バイナリーモードで開いたファイルや :class:"
258
+ "`io.BytesIO` オブジェクト)から ``ZoneInfo`` オブジェクトを構築します。一次"
259
+ "コンストラクタと異なり、常に新規オブジェクトを構築します。"
237
260
238
261
#: ../../library/zoneinfo.rst:200
239
262
msgid ""
@@ -245,6 +268,8 @@ msgstr ""
245
268
msgid ""
246
269
"Objects created via this constructor cannot be pickled (see `pickling`_)."
247
270
msgstr ""
271
+ "このコンストラクタで生成したオブジェクトはpickle化できません(`pickling`_ を"
272
+ "参照)。"
248
273
249
274
#: ../../library/zoneinfo.rst:207
250
275
msgid ""
0 commit comments