Skip to content

Commit 5dbde9c

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent 830311e commit 5dbde9c

File tree

7 files changed

+83
-32
lines changed

7 files changed

+83
-32
lines changed

howto/enum.po

+4
Original file line numberDiff line numberDiff line change
@@ -951,12 +951,16 @@ msgid ""
951951
"For standard :class:`Enum` classes the next value chosen is the last value "
952952
"seen incremented by one."
953953
msgstr ""
954+
"標準の :class:`Enum` クラスの場合、次の値として選択されるのは、最後に定義され"
955+
"た値に1を加えたものです。"
954956

955957
#: ../../howto/enum.rst:908
956958
msgid ""
957959
"For :class:`Flag` classes the next value chosen will be the next highest "
958960
"power-of-two, regardless of the last value seen."
959961
msgstr ""
962+
":class:`Flag` クラスでは、次に選ばれる値は、最後に定義された値に関係なく、2の"
963+
"べき乗の次に大きい値となります。"
960964

961965
#: ../../howto/enum.rst:911
962966
msgid "``_missing_``, ``_order_``, ``_generate_next_value_``"

library/datetime.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ msgstr ":mod:`zoneinfo` モジュール"
6767

6868
#: ../../library/datetime.rst:31
6969
msgid "Concrete time zones representing the IANA time zone database."
70-
msgstr ""
70+
msgstr "IANAタイムゾーンデータベースを表す具体的なタイムゾーン。"
7171

7272
#: ../../library/datetime.rst:33
7373
msgid "Package `dateutil <https://dateutil.readthedocs.io/en/stable/>`_"
@@ -991,7 +991,7 @@ msgstr "``date2 = date1 + timedelta``"
991991

992992
#: ../../library/datetime.rst:584
993993
msgid "*date2* will be ``timedelta.days`` days after *date1*. (1)"
994-
msgstr ""
994+
msgstr "*date2* は *date1* の ``timedelta.days`` 日後になります。(1)"
995995

996996
#: ../../library/datetime.rst:587
997997
msgid "``date2 = date1 - timedelta``"

library/exceptions.po

+7-3
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ msgstr ""
147147

148148
#: ../../library/exceptions.rst:74
149149
msgid "Inheriting from built-in exceptions"
150-
msgstr ""
150+
msgstr "組み込み例外から継承する"
151151

152152
#: ../../library/exceptions.rst:76
153153
msgid ""
@@ -281,7 +281,7 @@ msgstr ""
281281

282282
#: ../../library/exceptions.rst:179
283283
msgid "Added the :attr:`name` and :attr:`obj` attributes."
284-
msgstr ""
284+
msgstr ":attr:`name` および :attr:`obj` 属性が追加されました。"
285285

286286
#: ../../library/exceptions.rst:184
287287
msgid ""
@@ -422,7 +422,7 @@ msgstr ""
422422

423423
#: ../../library/exceptions.rst:280
424424
msgid "Added the :attr:`name` attribute."
425-
msgstr ""
425+
msgstr ":attr:`name` 属性が追加されました。"
426426

427427
#: ../../library/exceptions.rst:286
428428
msgid ""
@@ -557,6 +557,10 @@ msgid ""
557557
"`filesystem encoding and error handler`. Also, the *filename2* constructor "
558558
"argument and attribute was added."
559559
msgstr ""
560+
":attr:`filename` 属性が :term:`filesystem encoding and error handler` のエン"
561+
"コーディングでエンコードやデコードされた名前から、関数に渡された元々のファイ"
562+
"ル名になりました。\n"
563+
"また、*filename2* コンストラクタ引数が追加されました。"
560564

561565
#: ../../library/exceptions.rst:372
562566
msgid ""

library/intro.po

+2
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,5 @@ msgid ""
143143
"If not separately noted, all functions that claim \"Availability: Unix\" are "
144144
"supported on macOS, which builds on a Unix core."
145145
msgstr ""
146+
"特に記述がない場合、「利用できる環境 : Unix 」と書かれている関数は、 Unix を"
147+
"コアにしているmacOSでも利用することができます。"

library/json.po

+7
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ msgid ""
359359
"integer string via the interpreter's :ref:`integer string conversion length "
360360
"limitation <int_max_str_digits>` to help avoid denial of service attacks."
361361
msgstr ""
362+
"デフォルトの *parse_int* である :func:`int` は、インタープリタの :ref:"
363+
"`integer string conversion length limitation <int_max_str_digits>` により整数"
364+
"文字列の最大長を制限するようになり、サービスを妨害する攻撃を拒否します。"
362365

363366
#: ../../library/json.rst:262 ../../library/json.rst:361
364367
msgid ""
@@ -639,6 +642,10 @@ msgid ""
639642
"trying to encode keys that are not :class:`str`, :class:`int`, :class:"
640643
"`float` or ``None``. If *skipkeys* is true, such items are simply skipped."
641644
msgstr ""
645+
"*skipkeys* が false (デフォルト) ならば、:class:`str`, :class:`int`, :class:"
646+
"`float`, ``None`` 以外のキーをエンコードしようとすると :exc:`TypeError` を送"
647+
"出します。 *skipkeys* が true の場合は、それらのアイテムは単に読み飛ばされま"
648+
"す。"
642649

643650
#: ../../library/json.rst:437
644651
msgid ""

library/pathlib.po

+19-2
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,10 @@ msgid ""
690690
"permissions on the symlink itself; on these platforms you may add the "
691691
"argument ``follow_symlinks=False``, or use :meth:`~Path.lchmod`."
692692
msgstr ""
693+
"このメソッドは通常シンボリックリンクをたどります。一部のUnixではシンボリック"
694+
"リンク自体のパーミッション変更をサポートしています。そのようなプラットフォー"
695+
"ムでは引数に``follow_symlinks=False`` を追加するか、:meth:`~Path.lchmod` を使"
696+
"用してください。"
693697

694698
#: ../../library/pathlib.rst:786
695699
msgid "Whether the path points to an existing file or directory::"
@@ -727,6 +731,9 @@ msgid ""
727731
"which means \"this directory and all subdirectories, recursively\". In "
728732
"other words, it enables recursive globbing::"
729733
msgstr ""
734+
"パターンは :mod:`fnmatch` と同じで、追加の ``**`` は \"このディレクトリおよび"
735+
"すべてのサブディレクトリを再帰的に走査\" を意味します。言い換えれば、再帰的"
736+
"な Glob 走査が可能という意味です::"
730737

731738
#: ../../library/pathlib.rst:839
732739
msgid ""
@@ -862,6 +869,10 @@ msgid ""
862869
"directory after creating the iterator, whether a path object for that file "
863870
"be included is unspecified."
864871
msgstr ""
872+
"子の要素は任意の順番で yield されます。特殊なパスの ``'.'`` と ``'..'`` は含"
873+
"まれません。イテレーターを生成したあとにディレクトリにファイルを削除または追"
874+
"加した場合に、そのファイルのパスオブジェクトが含まれるかは定義されていませ"
875+
"ん。"
865876

866877
#: ../../library/pathlib.rst:948
867878
msgid ""
@@ -987,10 +998,12 @@ msgid ""
987998
"relative to the current working directory, *not* the directory of the Path "
988999
"object."
9891000
msgstr ""
1001+
"targetパスは絶対または相対で指定できます。相対パスは現在の作業ディレクトリか"
1002+
"らの相対パスとして解釈し、Pathオブジェクトのディレクトリ *ではありません*。"
9901003

9911004
#: ../../library/pathlib.rst:1064 ../../library/pathlib.rst:1078
9921005
msgid "Added return value, return the new Path instance."
993-
msgstr ""
1006+
msgstr "戻り値を追加し、新しい Path インスタンスを返します。"
9941007

9951008
#: ../../library/pathlib.rst:1070
9961009
msgid ""
@@ -1092,7 +1105,7 @@ msgstr "引数の並び (link, target) は :func:`os.symlink` とは逆です。
10921105

10931106
#: ../../library/pathlib.rst:1172
10941107
msgid "Make this path a hard link to the same file as *target*."
1095-
msgstr ""
1108+
msgstr "このパスを *target* と同じファイルへのハードリンクにします。"
10961109

10971110
#: ../../library/pathlib.rst:1175
10981111
msgid ""
@@ -1185,6 +1198,8 @@ msgid ""
11851198
"An existing file of the same name is overwritten. The optional parameters "
11861199
"have the same meaning as in :func:`open`."
11871200
msgstr ""
1201+
"同じ名前のファイルが存在する場合は上書きされます。オプションのパラメーターの"
1202+
"意味は :func:`open` と同じです。"
11881203

11891204
#: ../../library/pathlib.rst:1256
11901205
msgid "The *newline* parameter was added."
@@ -1437,3 +1452,5 @@ msgid ""
14371452
":meth:`PurePath.relative_to` requires ``self`` to be the subpath of the "
14381453
"argument, but :func:`os.path.relpath` does not."
14391454
msgstr ""
1455+
":meth:`PurePath.relative_to` は ``self`` が引数のサブパスであることを要求しま"
1456+
"すが、:func:`os.path.relpath` はそうではありません。"

library/stdtypes.po

+42-25
Original file line numberDiff line numberDiff line change
@@ -3382,12 +3382,14 @@ msgid ""
33823382
"The :func:`string.capwords` function does not have this problem, as it "
33833383
"splits words on spaces only."
33843384
msgstr ""
3385+
":func:`string.capwords` 関数は単語をスペースでのみ分割するため、この問題はあ"
3386+
"りません。"
33853387

33863388
#: ../../library/stdtypes.rst:2163
33873389
msgid ""
33883390
"Alternatively, a workaround for apostrophes can be constructed using regular "
33893391
"expressions::"
3390-
msgstr ""
3392+
msgstr "または、正規表現を使うことでアポストロフィに対応できます::"
33913393

33923394
#: ../../library/stdtypes.rst:2178
33933395
msgid ""
@@ -4283,6 +4285,8 @@ msgid ""
42834285
"If *sub* is empty, returns the number of empty slices between characters "
42844286
"which is the length of the bytes object plus one."
42854287
msgstr ""
4288+
"*sub* が空の場合は、文字と文字の間にある空のスライスの数、すなわちbytesオブ"
4289+
"ジェクトの長さに1を加えたものを返します。"
42864290

42874291
#: ../../library/stdtypes.rst:2670 ../../library/stdtypes.rst:2781
42884292
#: ../../library/stdtypes.rst:2794 ../../library/stdtypes.rst:2860
@@ -4336,7 +4340,7 @@ msgstr "*suffix* は、任意の :term:`bytes-like object` にできます。"
43364340

43374341
#: ../../library/stdtypes.rst:2721
43384342
msgid "Return the bytes decoded to a :class:`str`."
4339-
msgstr ""
4343+
msgstr ":class:`str` にデコードされたbytesを返します。"
43404344

43414345
#: ../../library/stdtypes.rst:2726
43424346
msgid ""
@@ -4345,13 +4349,21 @@ msgid ""
43454349
"are ``'ignore'``, ``'replace'``, and any other name registered via :func:"
43464350
"`codecs.register_error`. See :ref:`error-handlers` for details."
43474351
msgstr ""
4352+
"*errors* はデコーディングエラーをどのように取り扱うかを制御します。 "
4353+
"``'strict'`` (デフォルト) では :exc:`UnicodeError` 例外が送出されます。そのほ"
4354+
"かに指定可能な値は ``'ignore'``, ``'replace'`` と、そして :func:`codecs."
4355+
"register_error` で登録された名前です。詳しくは :ref:`error-handlers` を参照し"
4356+
"てください。"
43484357

43494358
#: ../../library/stdtypes.rst:2732
43504359
msgid ""
43514360
"For performance reasons, the value of *errors* is not checked for validity "
43524361
"unless a decoding error actually occurs, :ref:`devmode` is enabled or a :ref:"
43534362
"`debug build <debug-build>` is used."
43544363
msgstr ""
4364+
"パフォーマンス上の理由から、 *errors* の値の妥当性は、デコーディングエラーが"
4365+
"実際に発生するか、 :ref:`devmode` が有効になっているか、もしくは :ref:`デバッ"
4366+
"グビルド <debug-build>` が使われていない限りチェックされません。"
43554367

43564368
#: ../../library/stdtypes.rst:2738
43574369
msgid ""
@@ -4501,6 +4513,11 @@ msgid ""
45014513
"found, return a 3-tuple containing two empty bytes or bytearray objects, "
45024514
"followed by a copy of the original sequence."
45034515
msgstr ""
4516+
"区切り *sep* が最後に出現する位置でシーケンスを分割し、 3 要素のタプルを返し"
4517+
"ます。タプルの内容は、区切りの前の部分、その区切りオブジェクトまたはその "
4518+
"bytearray 型のコピー、そして区切りの後ろの部分です。もし区切れなければ、タプ"
4519+
"ルには二つの空の bytes または bytearray オブジェクトと、その後ろに元のシーケ"
4520+
"ンスのコピーが入ります。"
45044521

45054522
#: ../../library/stdtypes.rst:2893
45064523
msgid ""
@@ -6628,7 +6645,7 @@ msgstr ""
66286645

66296646
#: ../../library/stdtypes.rst:4919
66306647
msgid "Standard Generic Classes"
6631-
msgstr ""
6648+
msgstr "標準ジェネリッククラス"
66326649

66336650
#: ../../library/stdtypes.rst:4921
66346651
msgid ""
@@ -6782,35 +6799,35 @@ msgstr ":class:`contextlib.AbstractAsyncContextManager`"
67826799

67836800
#: ../../library/stdtypes.rst:4960
67846801
msgid ":class:`dataclasses.Field`"
6785-
msgstr ""
6802+
msgstr ":class:`dataclasses.Field`"
67866803

67876804
#: ../../library/stdtypes.rst:4961
67886805
msgid ":class:`functools.cached_property`"
6789-
msgstr ""
6806+
msgstr ":class:`functools.cached_property`"
67906807

67916808
#: ../../library/stdtypes.rst:4962
67926809
msgid ":class:`functools.partialmethod`"
6793-
msgstr ""
6810+
msgstr ":class:`functools.partialmethod`"
67946811

67956812
#: ../../library/stdtypes.rst:4963
67966813
msgid ":class:`os.PathLike`"
6797-
msgstr ""
6814+
msgstr ":class:`os.PathLike`"
67986815

67996816
#: ../../library/stdtypes.rst:4964
68006817
msgid ":class:`queue.LifoQueue`"
6801-
msgstr ""
6818+
msgstr ":class:`queue.LifoQueue`"
68026819

68036820
#: ../../library/stdtypes.rst:4965
68046821
msgid ":class:`queue.Queue`"
6805-
msgstr ""
6822+
msgstr ":class:`queue.Queue`"
68066823

68076824
#: ../../library/stdtypes.rst:4966
68086825
msgid ":class:`queue.PriorityQueue`"
6809-
msgstr ""
6826+
msgstr ":class:`queue.PriorityQueue`"
68106827

68116828
#: ../../library/stdtypes.rst:4967
68126829
msgid ":class:`queue.SimpleQueue`"
6813-
msgstr ""
6830+
msgstr ":class:`queue.SimpleQueue`"
68146831

68156832
#: ../../library/stdtypes.rst:4968
68166833
msgid ":ref:`re.Pattern <re-objects>`"
@@ -6822,35 +6839,35 @@ msgstr ":ref:`re.Match <match-objects>`"
68226839

68236840
#: ../../library/stdtypes.rst:4970
68246841
msgid ":class:`shelve.BsdDbShelf`"
6825-
msgstr ""
6842+
msgstr ":class:`shelve.BsdDbShelf`"
68266843

68276844
#: ../../library/stdtypes.rst:4971
68286845
msgid ":class:`shelve.DbfilenameShelf`"
6829-
msgstr ""
6846+
msgstr ":class:`shelve.DbfilenameShelf`"
68306847

68316848
#: ../../library/stdtypes.rst:4972
68326849
msgid ":class:`shelve.Shelf`"
6833-
msgstr ""
6850+
msgstr ":class:`shelve.Shelf`"
68346851

68356852
#: ../../library/stdtypes.rst:4973
68366853
msgid ":class:`types.MappingProxyType`"
6837-
msgstr ""
6854+
msgstr ":class:`types.MappingProxyType`"
68386855

68396856
#: ../../library/stdtypes.rst:4974
68406857
msgid ":class:`weakref.WeakKeyDictionary`"
6841-
msgstr ""
6858+
msgstr ":class:`weakref.WeakKeyDictionary`"
68426859

68436860
#: ../../library/stdtypes.rst:4975
68446861
msgid ":class:`weakref.WeakMethod`"
6845-
msgstr ""
6862+
msgstr ":class:`weakref.WeakMethod`"
68466863

68476864
#: ../../library/stdtypes.rst:4976
68486865
msgid ":class:`weakref.WeakSet`"
6849-
msgstr ""
6866+
msgstr ":class:`weakref.WeakSet`"
68506867

68516868
#: ../../library/stdtypes.rst:4977
68526869
msgid ":class:`weakref.WeakValueDictionary`"
6853-
msgstr ""
6870+
msgstr ":class:`weakref.WeakValueDictionary`"
68546871

68556872
#: ../../library/stdtypes.rst:4982
68566873
msgid "Special Attributes of ``GenericAlias`` objects"
@@ -6918,7 +6935,7 @@ msgstr ""
69186935

69196936
#: ../../library/stdtypes.rst:5041
69206937
msgid "Union Type"
6921-
msgstr ""
6938+
msgstr "Union 型"
69226939

69236940
#: ../../library/stdtypes.rst:5047
69246941
msgid ""
@@ -6990,7 +7007,7 @@ msgstr ""
69907007

69917008
#: ../../library/stdtypes.rst:5134
69927009
msgid ":pep:`604` -- PEP proposing the ``X | Y`` syntax and the Union type."
6993-
msgstr ""
7010+
msgstr ":pep:`604` -- ``X | Y`` 構文とUnion型を提案しているPEP"
69947011

69957012
#: ../../library/stdtypes.rst:5142
69967013
msgid "Other Built-in Types"
@@ -7440,11 +7457,11 @@ msgstr ""
74407457

74417458
#: ../../library/stdtypes.rst:5493
74427459
msgid "``str(integer)``."
7443-
msgstr ""
7460+
msgstr "``str(integer)``."
74447461

74457462
#: ../../library/stdtypes.rst:5494
74467463
msgid "``repr(integer)``."
7447-
msgstr ""
7464+
msgstr "``repr(integer)``."
74487465

74497466
#: ../../library/stdtypes.rst:5495
74507467
msgid ""
@@ -7462,11 +7479,11 @@ msgstr ""
74627479

74637480
#: ../../library/stdtypes.rst:5501
74647481
msgid ":func:`int.from_bytes` and :func:`int.to_bytes`."
7465-
msgstr ""
7482+
msgstr ":func:`int.from_bytes` と :func:`int.to_bytes` 。"
74667483

74677484
#: ../../library/stdtypes.rst:5502
74687485
msgid ":func:`hex`, :func:`oct`, :func:`bin`."
7469-
msgstr ""
7486+
msgstr ":func:`hex`, :func:`oct`, :func:`bin`."
74707487

74717488
#: ../../library/stdtypes.rst:5503
74727489
msgid ":ref:`formatspec` for hex, octal, and binary numbers."

0 commit comments

Comments
 (0)