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