Skip to content

Commit cf5ca64

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 41b8863 commit cf5ca64

File tree

8 files changed

+85
-23
lines changed

8 files changed

+85
-23
lines changed

faq/programming.po

+36-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.12\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
19+
"POT-Creation-Date: 2023-10-27 14:49+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
2121
"Last-Translator: TENMYO Masakazu, 2023\n"
2222
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -2573,13 +2573,15 @@ msgstr ""
25732573

25742574
#: ../../faq/programming.rst:1829
25752575
msgid "When can I rely on identity tests with the *is* operator?"
2576-
msgstr ""
2576+
msgstr "いつ *is* 演算子での同一性テストが頼れますか?"
25772577

25782578
#: ../../faq/programming.rst:1831
25792579
msgid ""
25802580
"The ``is`` operator tests for object identity. The test ``a is b`` is "
25812581
"equivalent to ``id(a) == id(b)``."
25822582
msgstr ""
2583+
"``is`` 演算子はオブジェクトの同一性をテストします。 テスト ``a is b`` は "
2584+
"``id(a) == id(b)`` と同等です。"
25832585

25842586
#: ../../faq/programming.rst:1834
25852587
msgid ""
@@ -2588,33 +2590,48 @@ msgid ""
25882590
"usually faster than equality tests. And unlike equality tests, identity "
25892591
"tests are guaranteed to return a boolean ``True`` or ``False``."
25902592
msgstr ""
2593+
"同一性テストの最も重要な特性は、オブジェクトは常にそれ自身と同一であり、 ``a "
2594+
"is a`` は常に ``True`` を返すということです。 同一性テストは通常、等価性テス"
2595+
"トよりも高速です。 また、等価性テストとは異なり、同一性テストは真偽値 "
2596+
"``True`` または``False`` を返すことが保証されています。"
25912597

25922598
#: ../../faq/programming.rst:1839
25932599
msgid ""
25942600
"However, identity tests can *only* be substituted for equality tests when "
25952601
"object identity is assured. Generally, there are three circumstances where "
25962602
"identity is guaranteed:"
25972603
msgstr ""
2604+
"ただし、同一性テストを等価性テストの代用とできるのは、オブジェクトの同一性が"
2605+
"保証されている場合 *のみ* です。 一般的に、同一性が保証される状況は3つありま"
2606+
"す:"
25982607

25992608
#: ../../faq/programming.rst:1843
26002609
msgid ""
26012610
"1) Assignments create new names but do not change object identity. After "
26022611
"the assignment ``new = old``, it is guaranteed that ``new is old``."
26032612
msgstr ""
2613+
"1) 代入は新しい名前を作りますが、オブジェクトIDは変えません。 ``new = old`` "
2614+
"代入の後、 ``new is old`` が保証されます。"
26042615

26052616
#: ../../faq/programming.rst:1846
26062617
msgid ""
26072618
"2) Putting an object in a container that stores object references does not "
26082619
"change object identity. After the list assignment ``s[0] = x``, it is "
26092620
"guaranteed that ``s[0] is x``."
26102621
msgstr ""
2622+
"2) オブジェクト参照を格納するコンテナにオブジェクトを入れても、オブジェクトID"
2623+
"は変わりません。 ``s[0] = x`` リスト代入の後、 ``s[0] is x`` が保証されま"
2624+
"す。"
26112625

26122626
#: ../../faq/programming.rst:1850
26132627
msgid ""
26142628
"3) If an object is a singleton, it means that only one instance of that "
26152629
"object can exist. After the assignments ``a = None`` and ``b = None``, it "
26162630
"is guaranteed that ``a is b`` because ``None`` is a singleton."
26172631
msgstr ""
2632+
"3) オブジェクトがシングルトンなら、それはそのオブジェクトのインスタンスは1つ"
2633+
"だけ存在できることを意味します。 ``a = None`` と ``b = None`` 代入の後、 "
2634+
"``a is b`` が保証されます。``None`` がシングルトンのためです。"
26182635

26192636
#: ../../faq/programming.rst:1854
26202637
msgid ""
@@ -2623,16 +2640,22 @@ msgid ""
26232640
"check constants such as :class:`int` and :class:`str` which aren't "
26242641
"guaranteed to be singletons::"
26252642
msgstr ""
2643+
"多くの他の状況では、同一性テストは賢明でなく、透過性テストをお勧めします。 "
2644+
"特に、シングルトンであることが保証されていない :class:`int` や :class:`str` "
2645+
"などの定数をチェックするために同一性テストを使わないでください。"
26262646

26272647
#: ../../faq/programming.rst:1871
26282648
msgid "Likewise, new instances of mutable containers are never identical::"
26292649
msgstr ""
2650+
"同様に、ミュータブルなコンテナの新しいインスタンスは同一ではありません::"
26302651

26312652
#: ../../faq/programming.rst:1878
26322653
msgid ""
26332654
"In the standard library code, you will see several common patterns for "
26342655
"correctly using identity tests:"
26352656
msgstr ""
2657+
"標準ライブラリのコードには、同一性テストを正しく使うための一般的なパターンが"
2658+
"あります:"
26362659

26372660
#: ../../faq/programming.rst:1881
26382661
msgid ""
@@ -2641,6 +2664,9 @@ msgid ""
26412664
"confusion with other objects that may have boolean values that evaluate to "
26422665
"false."
26432666
msgstr ""
2667+
"1) :pep:`8` で推奨されるように、同一性テストは ``None`` のチェックの良い方法"
2668+
"です。 コードの中で平易な英語のように読めますし、 false と評価される真偽値を"
2669+
"持ちうる他のオブジェクトとの混同を避けます。"
26442670

26452671
#: ../../faq/programming.rst:1885
26462672
msgid ""
@@ -2649,19 +2675,27 @@ msgid ""
26492675
"guaranteed to be distinct from other objects. For example, here is how to "
26502676
"implement a method that behaves like :meth:`dict.pop`::"
26512677
msgstr ""
2678+
"2) ``None`` が有効な入力値である場合、省略された引数を検出にはコツがいりま"
2679+
"す。 そのような状況では、他のオブジェクトと区別されることが保証されたシング"
2680+
"ルトンの番兵オブジェクトを作れます。 例えば、これは :meth:`dict.pop` のよう"
2681+
"に振る舞うメソッドを実装する方法です:"
26522682

26532683
#: ../../faq/programming.rst:1901
26542684
msgid ""
26552685
"3) Container implementations sometimes need to augment equality tests with "
26562686
"identity tests. This prevents the code from being confused by objects such "
26572687
"as ``float('NaN')`` that are not equal to themselves."
26582688
msgstr ""
2689+
"3) コンテナの実装では、等価性テストを同一性テストで補強しないといけない場合が"
2690+
"あります。 これは、 ``float('NaN')`` のような自分自身と等価でないオブジェク"
2691+
"トによってコードが混乱するのを防ぐためです。"
26592692

26602693
#: ../../faq/programming.rst:1905
26612694
msgid ""
26622695
"For example, here is the implementation of :meth:`!collections.abc.Sequence."
26632696
"__contains__`::"
26642697
msgstr ""
2698+
"例えば、これは :meth:`!collections.abc.Sequence.__contains__`: の実装です:"
26652699

26662700
#: ../../faq/programming.rst:1916
26672701
msgid ""

howto/descriptor.po

+10-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.12\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2023-10-13 14:14+0000\n"
18+
"POT-Creation-Date: 2023-10-27 14:49+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
2020
"Last-Translator: souma987, 2023\n"
2121
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -147,7 +147,7 @@ msgid ""
147147
"descriptor instance, recognized by its ``__get__`` method. Calling that "
148148
"method returns ``10``."
149149
msgstr ""
150-
"``a.x`` 属性ルックアップではドット演算子がクラス辞書野中から ``'x': 5`` を見"
150+
"``a.x`` 属性ルックアップではドット演算子がクラス辞書の中から ``'x': 5`` を見"
151151
"つけます。 ``a.y`` ルックアップではドット演算子は ``__get__`` メソッドを持つ"
152152
"デスクリプタインスタンスを取得します。そのメソッドを呼び出すと、 ``10`` を返"
153153
"します。"
@@ -731,6 +731,8 @@ msgid ""
731731
"The full C implementation can be found in :c:func:`!type_getattro` and :c:"
732732
"func:`!_PyType_Lookup` in :source:`Objects/typeobject.c`."
733733
msgstr ""
734+
"完全な C での実装は :source:`Objects/typeobject.c` の中の:c:func:`!"
735+
"type_getattro` と :c:func:`!_PyType_Lookup` を参照してください。"
734736

735737
#: ../../howto/descriptor.rst:787
736738
msgid "Invocation from super"
@@ -763,6 +765,10 @@ msgid ""
763765
"`Guido's Tutorial <https://www.python.org/download/releases/2.2.3/descrintro/"
764766
"#cooperation>`_."
765767
msgstr ""
768+
"完全な C での実装は :source:`Objects/typeobject.c` の中の :c:func:`!"
769+
"super_getattro` を参照してください。純粋な Python での同等なコードは "
770+
"`Guido's Tutorial <https://www.python.org/download/releases/2.2.3/descrintro/"
771+
"#cooperation>`_を参照してください。"
766772

767773
#: ../../howto/descriptor.rst:804
768774
msgid "Summary of invocation logic"
@@ -846,6 +852,8 @@ msgid ""
846852
"The implementation details are in :c:func:`!type_new` and :c:func:`!"
847853
"set_names` in :source:`Objects/typeobject.c`."
848854
msgstr ""
855+
"実装の詳細は :source:`Objects/typeobject.c` の中の :c:func:`!type_new` と :c:"
856+
"func:`!set_names` を参照してください。"
849857

850858
#: ../../howto/descriptor.rst:842
851859
msgid ""

library/asyncio-eventloop.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# tomo, 2021
88
# Tetsuo Koyama <tkoyama010@gmail.com>, 2021
99
# Takeshi Nakazato, 2022
10-
# souma987, 2022
1110
# Arihiro TAKASE, 2023
11+
# souma987, 2023
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2023-10-27 14:49+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
20-
"Last-Translator: Arihiro TAKASE, 2023\n"
20+
"Last-Translator: souma987, 2023\n"
2121
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2222
"ja/)\n"
2323
"MIME-Version: 1.0\n"
@@ -2261,7 +2261,7 @@ msgid ""
22612261
"text. :func:`bytes.decode` can be used to convert the bytes returned from "
22622262
"the stream to text."
22632263
msgstr ""
2264-
"``asyncio`` のサブプロセス API はストリームからテキストへのデコードをサポ0と"
2264+
"``asyncio`` のサブプロセス API はストリームからテキストへのデコードをサポート"
22652265
"していません。ストリームからテキストに変換するには :func:`bytes.decode` 関数"
22662266
"を使ってください。"
22672267

library/collections.abc.po

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
# tomo, 2022
99
# Takeshi Nakazato, 2022
1010
# Arihiro TAKASE, 2023
11+
# souma987, 2023
1112
#
1213
#, fuzzy
1314
msgid ""
1415
msgstr ""
1516
"Project-Id-Version: Python 3.12\n"
1617
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
18+
"POT-Creation-Date: 2023-10-27 14:49+0000\n"
1819
"PO-Revision-Date: 2021-06-28 00:56+0000\n"
19-
"Last-Translator: Arihiro TAKASE, 2023\n"
20+
"Last-Translator: souma987, 2023\n"
2021
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2122
"ja/)\n"
2223
"MIME-Version: 1.0\n"
@@ -126,8 +127,8 @@ msgid ""
126127
"These abstract classes now support ``[]``. See :ref:`types-genericalias` "
127128
"and :pep:`585`."
128129
msgstr ""
129-
"これらの抽象クラスは ``[]`` をサポートするようになりました。ジェネリックエイ"
130-
"リアス型 (:ref:`types-genericalias`) おyび :pep:`585` を参照してください。"
130+
"これらの抽象クラスは ``[]`` をサポートするようになりました。 :ref:`types-"
131+
"genericalias` および :pep:`585` を参照してください。"
131132

132133
#: ../../library/collections.abc.rst:114
133134
msgid "Collections Abstract Base Classes"

library/functions.po

+18-2
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@
1919
# tomo, 2023
2020
# Masato HASHIMOTO <cabezon.hashimoto@gmail.com>, 2023
2121
# righteous righteous, 2023
22+
# TENMYO Masakazu, 2023
2223
#
2324
#, fuzzy
2425
msgid ""
2526
msgstr ""
2627
"Project-Id-Version: Python 3.12\n"
2728
"Report-Msgid-Bugs-To: \n"
28-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
29+
"POT-Creation-Date: 2023-10-27 14:49+0000\n"
2930
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
30-
"Last-Translator: righteous righteous, 2023\n"
31+
"Last-Translator: TENMYO Masakazu, 2023\n"
3132
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
3233
"ja/)\n"
3334
"MIME-Version: 1.0\n"
@@ -1922,6 +1923,17 @@ msgid ""
19221923
"`~iterator.__next__` method; if the value returned is equal to *sentinel*, :"
19231924
"exc:`StopIteration` will be raised, otherwise the value will be returned."
19241925
msgstr ""
1926+
":term:`iterator` オブジェクトを返します。第二引数があるかどうかによって第一引"
1927+
"数の解釈は大きく異なります。第二引数がない場合、 *object* は :term:"
1928+
"`iterable` プロトコル (:meth:`__iter__` メソッド) をサポートするコレクション"
1929+
"オブジェクトか、またはシーケンスプロトコル (``0`` から始まる整数を引数にと"
1930+
"る :meth:`~object.__getitem__` メソッド) をサポートするオブジェクトでなければ"
1931+
"なりません。第一引数がどちらのプロトコルもサポートしない場合は :exc:"
1932+
"`TypeError` 例外が送出されます。第二引数 *sentinel* が与えられた場合、 "
1933+
"*object* は呼び出し可能オブジェクトでなければなりません。この場合に生成される"
1934+
"イテレータは :meth:`~iterator.__next__` メソッドを呼び出すごとに引数なしで "
1935+
"*object* を呼び出します; 戻り値が *sentinel* と等しければ、 :exc:"
1936+
"`StopIteration` が送出されます。それ以外の場合は戻り値がそのまま返されます。"
19251937

19261938
#: ../../library/functions.rst:995
19271939
msgid "See also :ref:`typeiter`."
@@ -2868,6 +2880,10 @@ msgid ""
28682880
"`__len__` method and the :meth:`~object.__getitem__` method with integer "
28692881
"arguments starting at ``0``)."
28702882
msgstr ""
2883+
"要素を逆順に取り出すイテレータ (reverse :term:`iterator`) を返します。 *seq* "
2884+
"は :meth:`__reversed__` メソッドを持つか、シーケンス型プロトコル (:meth:"
2885+
"`__len__` メソッド、および、 ``0`` 以上の整数を引数とする :meth:`~object."
2886+
"__getitem__` メソッド) をサポートするオブジェクトでなければなりません。"
28712887

28722888
#: ../../library/functions.rst:1572
28732889
msgid ""

library/pathlib.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.12\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2023-10-06 14:14+0000\n"
20+
"POT-Creation-Date: 2023-10-27 14:49+0000\n"
2121
"PO-Revision-Date: 2021-06-28 01:11+0000\n"
2222
"Last-Translator: righteous righteous, 2023\n"
2323
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"

library/typing.po

+10-9
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# Takeshi Nakazato, 2021
1010
# Arihiro TAKASE, 2023
1111
# tomo, 2023
12-
# souma987, 2023
1312
# Yosuke Miyashita, 2023
13+
# souma987, 2023
1414
#
1515
#, fuzzy
1616
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919
"Report-Msgid-Bugs-To: \n"
2020
"POT-Creation-Date: 2023-10-27 14:49+0000\n"
2121
"PO-Revision-Date: 2021-06-28 01:16+0000\n"
22-
"Last-Translator: Yosuke Miyashita, 2023\n"
22+
"Last-Translator: souma987, 2023\n"
2323
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2424
"ja/)\n"
2525
"MIME-Version: 1.0\n"
@@ -1050,7 +1050,7 @@ msgstr ""
10501050

10511051
#: ../../library/typing.rst:932
10521052
msgid "Special type indicating that a function never returns."
1053-
msgstr "関数が返り値を持たないことを示す特別な型です。"
1053+
msgstr "関数の呼び出し後、戻ることがないことを示す特別な型です。"
10541054

10551055
#: ../../library/typing.rst:941
10561056
msgid ""
@@ -3064,10 +3064,10 @@ msgid ""
30643064
"existing classes were enhanced to support ``[]`` (see :pep:`585`)."
30653065
msgstr ""
30663066
"このモジュールは、既存の標準ライブラリ・クラスに対するいくつかの非推奨エイリ"
3067-
"アスを定義しています。これらは元々、``[]``を使ったジェネリッククラスのパラ"
3067+
"アスを定義しています。これらは元々、 ``[]`` を使ったジェネリッククラスのパラ"
30683068
"メータ化をサポートするためにtypingモジュールに含まれていました。しかしこのエ"
3069-
"イリアスは、Python 3.9 で既存の相当するクラスが``[]``をサポートするように拡張"
3070-
"されたため、冗長な書き方になりました(:pep:`585`を参照)。"
3069+
"イリアスは、Python 3.9 で既存の相当するクラスが ``[]`` をサポートするように拡"
3070+
"張されたため、冗長な書き方になりました( :pep:`585` を参照)。"
30713071

30723072
#: ../../library/typing.rst:3112
30733073
msgid ""
@@ -3789,9 +3789,10 @@ msgid ""
37893789
"your convenience. This is subject to change, and not all deprecations are "
37903790
"listed."
37913791
msgstr ""
3792-
"``typing``の機能の中には非推奨のものがあり、Python の将来のバージョンで削除さ"
3793-
"れる可能性があります。以下の表は主な非推奨機能をまとめたものです。これは変更"
3794-
"される可能性があり、すべての非推奨機能がリストされているわけではありません。"
3792+
"``typing`` の機能の中には非推奨のものがあり、Python の将来のバージョンで削除"
3793+
"される可能性があります。以下の表は主な非推奨機能をまとめたものです。これは変"
3794+
"更される可能性があり、すべての非推奨機能がリストされているわけではありませ"
3795+
"ん。"
37953796

37963797
#: ../../library/typing.rst:3667
37973798
msgid "Feature"

tutorial/introduction.po

+2
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,8 @@ msgid ""
521521
"You can also add new items at the end of the list, by using the :meth:`!list."
522522
"append` *method* (we will see more about methods later)::"
523523
msgstr ""
524+
":meth:`!list.append` を使って、リストの末尾に新しい要素を追加できます (このメ"
525+
"ソッドについては後で詳しく見ていきます)::"
524526

525527
#: ../../tutorial/introduction.rst:438
526528
msgid ""

0 commit comments

Comments
 (0)