Skip to content

Commit a50464c

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent 7ff0876 commit a50464c

File tree

2 files changed

+43
-4
lines changed

2 files changed

+43
-4
lines changed

library/zoneinfo.po

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ msgid ""
3434
"if no system time zone data is available, the library will fall back to "
3535
"using the first-party `tzdata`_ package available on PyPI."
3636
msgstr ""
37+
":mod:`zoneinfo` モジュールは :pep:`615` で規定された、IANAのタイムゾーンデー"
38+
"タベースをサポートした具体的なタイムゾーン実装を提供します。 デフォルトで"
39+
"は、:mod:`zoneinfo` はシステムのタイムゾーンデータが利用可能であれば使用しま"
40+
"す。システムのタイムゾーンデータが利用できない場合、ライブラリはPyPIにある"
41+
"ファーストパーティーのパッケージ `tzdata`_ を代わりに使用します。"
3742

3843
#: ../../library/zoneinfo.rst:24
3944
msgid "Module: :mod:`datetime`"
@@ -44,6 +49,8 @@ msgid ""
4449
"Provides the :class:`~datetime.time` and :class:`~datetime.datetime` types "
4550
"with which the :class:`ZoneInfo` class is designed to be used."
4651
msgstr ""
52+
":class:`ZoneInfo` クラスを使用するように設計されたデータ型 :class:`~datetime."
53+
"time` と :class:`~datetime.datetime` を提供します。"
4754

4855
#: ../../library/zoneinfo.rst:27
4956
msgid "Package `tzdata`_"
@@ -54,6 +61,8 @@ msgid ""
5461
"First-party package maintained by the CPython core developers to supply time "
5562
"zone data via PyPI."
5663
msgstr ""
64+
"CPythonコアデベロッパーによってメンテナンスされているファーストパーティーの"
65+
"パッケージ。タイムゾーンデータを供給し、PyPIで配布されている。"
5766

5867
#: ../../library/zoneinfo.rst:32
5968
msgid "Using ``ZoneInfo``"
@@ -67,6 +76,10 @@ msgid ""
6776
"replace>` method or :meth:`datetime.astimezone <datetime.datetime."
6877
"astimezone>`::"
6978
msgstr ""
79+
":class:`ZoneInfo` は :class:`datetime.tzinfo` 抽象基底クラスの具体的な実装で"
80+
"あり、``tzinfo`` に指定することを想定しています。コンストラクタ、:meth:"
81+
"`datetime.replace <datetime.datetime.replace>` メソッド、:meth:`datetime."
82+
"astimezone <datetime.datetime.astimezone>` メソッドのいずれかで指定します。"
7083

7184
#: ../../library/zoneinfo.rst:49
7285
msgid ""
@@ -200,7 +213,7 @@ msgstr ""
200213

201214
#: ../../library/zoneinfo.rst:168
202215
msgid "The ``ZoneInfo`` class"
203-
msgstr ""
216+
msgstr "``ZoneInfo`` クラス"
204217

205218
#: ../../library/zoneinfo.rst:172
206219
msgid ""
@@ -210,6 +223,11 @@ msgid ""
210223
"cache invalidation via :meth:`ZoneInfo.clear_cache`, for all values of "
211224
"``key``, the following assertion will always be true:"
212225
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:"
213231

214232
#: ../../library/zoneinfo.rst:184
215233
msgid ""
@@ -223,17 +241,22 @@ msgid ""
223241
"If no file matching ``key`` is found, the constructor will raise :exc:"
224242
"`ZoneInfoNotFoundError`."
225243
msgstr ""
244+
"``key`` に一致するファイルが見つからない場合、コンストラクタは :exc:"
245+
"`ZoneInfoNotFoundError` を送出します。"
226246

227247
#: ../../library/zoneinfo.rst:192
228248
msgid "The ``ZoneInfo`` class has two alternate constructors:"
229-
msgstr ""
249+
msgstr "``ZoneInfo`` クラスには2つの別のコンストラクターがあります:"
230250

231251
#: ../../library/zoneinfo.rst:196
232252
msgid ""
233253
"Constructs a ``ZoneInfo`` object from a file-like object returning bytes (e."
234254
"g. a file opened in binary mode or an :class:`io.BytesIO` object). Unlike "
235255
"the primary constructor, this always constructs a new object."
236256
msgstr ""
257+
"file-like オブジェクトが返すbytes(バイナリーモードで開いたファイルや :class:"
258+
"`io.BytesIO` オブジェクト)から ``ZoneInfo`` オブジェクトを構築します。一次"
259+
"コンストラクタと異なり、常に新規オブジェクトを構築します。"
237260

238261
#: ../../library/zoneinfo.rst:200
239262
msgid ""
@@ -245,6 +268,8 @@ msgstr ""
245268
msgid ""
246269
"Objects created via this constructor cannot be pickled (see `pickling`_)."
247270
msgstr ""
271+
"このコンストラクタで生成したオブジェクトはpickle化できません(`pickling`_ を"
272+
"参照)。"
248273

249274
#: ../../library/zoneinfo.rst:207
250275
msgid ""

whatsnew/3.9.po

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ msgid ""
179179
":pep:`615`, the IANA Time Zone Database is now present in the standard "
180180
"library in the :mod:`zoneinfo` module;"
181181
msgstr ""
182+
":pep:`615`、IANAのTime Zone Databaseが標準ライブラリの :mod:`zoneinfo` モ"
183+
"ジュールで提供されるようになりました。"
182184

183185
#: ../../whatsnew/3.9.rst:101
184186
msgid ""
@@ -316,7 +318,7 @@ msgstr ""
316318

317319
#: ../../whatsnew/3.9.rst:175
318320
msgid "Type Hinting Generics in Standard Collections"
319-
msgstr ""
321+
msgstr "標準コレクション型の型ヒントにおける総称型 (generics) の使用"
320322

321323
#: ../../whatsnew/3.9.rst:177
322324
msgid ""
@@ -326,6 +328,10 @@ msgid ""
326328
"``typing``. Some other types in the standard library are also now generic, "
327329
"for example ``queue.Queue``."
328330
msgstr ""
331+
"型アノテーションで、``typing`` モジュールからインポートしていた大文字の型"
332+
"(``List`` や ``Dict``)の代わりに、総称型(generics)で ``list`` や "
333+
"``dict`` といった標準コレクション型が使用できるようになりました。いくつかの他"
334+
"の標準ライブラリの型(``queue.Queue`` など)も総称型として使用できます。"
329335

330336
#: ../../whatsnew/3.9.rst:183 ../../whatsnew/3.9.rst:1147
331337
msgid "Example:"
@@ -485,13 +491,21 @@ msgid ""
485491
"the standard library. It adds :class:`zoneinfo.ZoneInfo`, a concrete :class:"
486492
"`datetime.tzinfo` implementation backed by the system's time zone data."
487493
msgstr ""
494+
":mod:`zoneinfo` モジュールにより標準ライブラリにIANAのタイムゾーンデータベー"
495+
"スへのサポートを導入されます。:class:`zoneinfo.ZoneInfo` という、システムのタ"
496+
"イムゾーンデータを背景とした具体的な :class:`datetime.tzinfo` の実装が追加さ"
497+
"れます。"
488498

489499
#: ../../whatsnew/3.9.rst:305
490500
msgid ""
491501
"As a fall-back source of data for platforms that don't ship the IANA "
492502
"database, the |tzdata|_ module was released as a first-party package -- "
493503
"distributed via PyPI and maintained by the CPython core team."
494504
msgstr ""
505+
"IANAデータベースが提供されていないプラットフォームでのデータの代わりの提供元"
506+
"として、 |tzdata|_ モジュールがファーストパーティーのパッケージとしてリリース"
507+
"されています。tzdataはPyPIで配信されており、CPythonコアチームによってメンテナ"
508+
"ンスされています。"
495509

496510
#: ../../whatsnew/3.9.rst:314
497511
msgid ""
@@ -500,7 +514,7 @@ msgstr ""
500514

501515
#: ../../whatsnew/3.9.rst:315
502516
msgid "PEP written and implemented by Paul Ganssle"
503-
msgstr ""
517+
msgstr "PEP作成と実装は Paul Ganssle による。"
504518

505519
#: ../../whatsnew/3.9.rst:319
506520
msgid "graphlib"

0 commit comments

Comments
 (0)