Skip to content

Commit b0a4760

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 1396c23 commit b0a4760

36 files changed

+1882
-2217
lines changed

c-api/memory.po

+34-39
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-09-29 14:12+0000\n"
18+
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
2020
"Last-Translator: shirou - しろう <[email protected]>, 2023\n"
2121
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -701,19 +701,19 @@ msgid ""
701701
"following fields:"
702702
msgstr ""
703703

704-
#: ../../c-api/memory.rst:411 ../../c-api/memory.rst:657
704+
#: ../../c-api/memory.rst:411 ../../c-api/memory.rst:658
705705
msgid "Field"
706706
msgstr "フィールド"
707707

708-
#: ../../c-api/memory.rst:411 ../../c-api/memory.rst:657
708+
#: ../../c-api/memory.rst:411 ../../c-api/memory.rst:658
709709
msgid "Meaning"
710710
msgstr "意味"
711711

712-
#: ../../c-api/memory.rst:413 ../../c-api/memory.rst:659
712+
#: ../../c-api/memory.rst:413 ../../c-api/memory.rst:660
713713
msgid "``void *ctx``"
714714
msgstr "``void *ctx``"
715715

716-
#: ../../c-api/memory.rst:413 ../../c-api/memory.rst:659
716+
#: ../../c-api/memory.rst:413 ../../c-api/memory.rst:660
717717
msgid "user context passed as first argument"
718718
msgstr "第一引数として渡されるユーザコンテキスト"
719719

@@ -1087,114 +1087,109 @@ msgstr "pymalloc アロケータ"
10871087
msgid ""
10881088
"Python has a *pymalloc* allocator optimized for small objects (smaller or "
10891089
"equal to 512 bytes) with a short lifetime. It uses memory mappings called "
1090-
"\"arenas\" with a fixed size of 256 KiB. It falls back to :c:func:"
1091-
"`PyMem_RawMalloc` and :c:func:`PyMem_RawRealloc` for allocations larger than "
1092-
"512 bytes."
1090+
"\"arenas\" with a fixed size of either 256 KiB on 32-bit platforms or 1 MiB "
1091+
"on 64-bit platforms. It falls back to :c:func:`PyMem_RawMalloc` and :c:func:"
1092+
"`PyMem_RawRealloc` for allocations larger than 512 bytes."
10931093
msgstr ""
1094-
"Python には、寿命の短いの小さな(512バイト以下の)オブジェクトに最適化された "
1095-
"*pymalloc* アロケータがあります。 *pymalloc* は、256 KiBの固定サイズの \"ア"
1096-
"リーナ\" と呼びれるメモリマッピングを使います。512バイトよりも大きな割り当て"
1097-
"では、 :c:func:`PyMem_RawMalloc` と :c:func:`PyMem_RawRealloc` にフォールバッ"
1098-
"クします。"
10991094

1100-
#: ../../c-api/memory.rst:632
1095+
#: ../../c-api/memory.rst:633
11011096
msgid ""
11021097
"*pymalloc* is the :ref:`default allocator <default-memory-allocators>` of "
11031098
"the :c:macro:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and :c:macro:"
11041099
"`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains."
11051100
msgstr ""
11061101

1107-
#: ../../c-api/memory.rst:636
1102+
#: ../../c-api/memory.rst:637
11081103
msgid "The arena allocator uses the following functions:"
11091104
msgstr "アリーナアロケータは、次の関数を使います:"
11101105

1111-
#: ../../c-api/memory.rst:638
1106+
#: ../../c-api/memory.rst:639
11121107
msgid ":c:func:`!VirtualAlloc` and :c:func:`!VirtualFree` on Windows,"
11131108
msgstr ""
11141109

1115-
#: ../../c-api/memory.rst:639
1110+
#: ../../c-api/memory.rst:640
11161111
msgid ":c:func:`!mmap` and :c:func:`!munmap` if available,"
11171112
msgstr ""
11181113

1119-
#: ../../c-api/memory.rst:640
1114+
#: ../../c-api/memory.rst:641
11201115
msgid ":c:func:`malloc` and :c:func:`free` otherwise."
11211116
msgstr "それ以外の場合は :c:func:`malloc` と :c:func:`free`。"
11221117

1123-
#: ../../c-api/memory.rst:642
1118+
#: ../../c-api/memory.rst:643
11241119
msgid ""
11251120
"This allocator is disabled if Python is configured with the :option:`--"
11261121
"without-pymalloc` option. It can also be disabled at runtime using the :"
11271122
"envvar:`PYTHONMALLOC` environment variable (ex: ``PYTHONMALLOC=malloc``)."
11281123
msgstr ""
11291124

1130-
#: ../../c-api/memory.rst:647
1125+
#: ../../c-api/memory.rst:648
11311126
msgid "Customize pymalloc Arena Allocator"
11321127
msgstr "pymalloc アリーナアロケータのカスタマイズ"
11331128

1134-
#: ../../c-api/memory.rst:653
1129+
#: ../../c-api/memory.rst:654
11351130
msgid ""
11361131
"Structure used to describe an arena allocator. The structure has three "
11371132
"fields:"
11381133
msgstr ""
11391134
"アリーナアロケータを記述するための構造体です。3つのフィールドを持ちます:"
11401135

1141-
#: ../../c-api/memory.rst:661
1136+
#: ../../c-api/memory.rst:662
11421137
msgid "``void* alloc(void *ctx, size_t size)``"
11431138
msgstr "``void* alloc(void *ctx, size_t size)``"
11441139

1145-
#: ../../c-api/memory.rst:661
1140+
#: ../../c-api/memory.rst:662
11461141
msgid "allocate an arena of size bytes"
11471142
msgstr "size バイトのアリーナを割り当てます"
11481143

1149-
#: ../../c-api/memory.rst:663
1144+
#: ../../c-api/memory.rst:664
11501145
msgid "``void free(void *ctx, void *ptr, size_t size)``"
11511146
msgstr ""
11521147

1153-
#: ../../c-api/memory.rst:663
1148+
#: ../../c-api/memory.rst:664
11541149
msgid "free an arena"
11551150
msgstr "アリーナを解放します"
11561151

1157-
#: ../../c-api/memory.rst:668
1152+
#: ../../c-api/memory.rst:669
11581153
msgid "Get the arena allocator."
11591154
msgstr "アリーナアロケータを取得します。"
11601155

1161-
#: ../../c-api/memory.rst:672
1156+
#: ../../c-api/memory.rst:673
11621157
msgid "Set the arena allocator."
11631158
msgstr "アリーナアロケータを設定します。"
11641159

1165-
#: ../../c-api/memory.rst:676
1160+
#: ../../c-api/memory.rst:677
11661161
msgid "tracemalloc C API"
11671162
msgstr "tracemalloc C API"
11681163

1169-
#: ../../c-api/memory.rst:682
1164+
#: ../../c-api/memory.rst:683
11701165
msgid "Track an allocated memory block in the :mod:`tracemalloc` module."
11711166
msgstr ""
11721167

1173-
#: ../../c-api/memory.rst:684
1168+
#: ../../c-api/memory.rst:685
11741169
msgid ""
11751170
"Return ``0`` on success, return ``-1`` on error (failed to allocate memory "
11761171
"to store the trace). Return ``-2`` if tracemalloc is disabled."
11771172
msgstr ""
11781173

1179-
#: ../../c-api/memory.rst:687
1174+
#: ../../c-api/memory.rst:688
11801175
msgid "If memory block is already tracked, update the existing trace."
11811176
msgstr ""
11821177

1183-
#: ../../c-api/memory.rst:691
1178+
#: ../../c-api/memory.rst:692
11841179
msgid ""
11851180
"Untrack an allocated memory block in the :mod:`tracemalloc` module. Do "
11861181
"nothing if the block was not tracked."
11871182
msgstr ""
11881183

1189-
#: ../../c-api/memory.rst:694
1184+
#: ../../c-api/memory.rst:695
11901185
msgid "Return ``-2`` if tracemalloc is disabled, otherwise return ``0``."
11911186
msgstr ""
11921187

1193-
#: ../../c-api/memory.rst:700
1188+
#: ../../c-api/memory.rst:701
11941189
msgid "Examples"
11951190
msgstr "使用例"
11961191

1197-
#: ../../c-api/memory.rst:702
1192+
#: ../../c-api/memory.rst:703
11981193
msgid ""
11991194
"Here is the example from section :ref:`memoryoverview`, rewritten so that "
12001195
"the I/O buffer is allocated from the Python heap by using the first function "
@@ -1203,11 +1198,11 @@ msgstr ""
12031198
"最初に述べた関数セットを使って、 :ref:`memoryoverview` 節の例を Python ヒープ"
12041199
"に I/O バッファをメモリ確保するように書き換えたものを以下に示します::"
12051200

1206-
#: ../../c-api/memory.rst:715
1201+
#: ../../c-api/memory.rst:716
12071202
msgid "The same code using the type-oriented function set::"
12081203
msgstr "同じコードを型対象の関数セットで書いたものを以下に示します::"
12091204

1210-
#: ../../c-api/memory.rst:727
1205+
#: ../../c-api/memory.rst:728
12111206
msgid ""
12121207
"Note that in the two examples above, the buffer is always manipulated via "
12131208
"functions belonging to the same set. Indeed, it is required to use the same "
@@ -1223,14 +1218,14 @@ msgstr ""
12231218
"操作する別のメモリ操作関数を混用しているので *致命的 (Fatal)* とラベルづけを"
12241219
"しています。 ::"
12251220

1226-
#: ../../c-api/memory.rst:742
1221+
#: ../../c-api/memory.rst:743
12271222
msgid ""
12281223
"In addition to the functions aimed at handling raw memory blocks from the "
12291224
"Python heap, objects in Python are allocated and released with :c:macro:"
12301225
"`PyObject_New`, :c:macro:`PyObject_NewVar` and :c:func:`PyObject_Del`."
12311226
msgstr ""
12321227

1233-
#: ../../c-api/memory.rst:746
1228+
#: ../../c-api/memory.rst:747
12341229
msgid ""
12351230
"These will be explained in the next chapter on defining and implementing new "
12361231
"object types in C."

c-api/set.po

+6-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-10-13 14:14+0000\n"
16+
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1818
"Last-Translator: Nozomu Kaneko <[email protected]>, 2023\n"
1919
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -251,8 +251,11 @@ msgstr ""
251251
"`SystemError` を送出します。"
252252

253253
#: ../../c-api/set.rst:166
254-
msgid "Empty an existing set of all elements."
255-
msgstr "set を空にします。"
254+
msgid ""
255+
"Empty an existing set of all elements. Return ``0`` on success. Return "
256+
"``-1`` and raise :exc:`SystemError` if *set* is not an instance of :class:"
257+
"`set` or its subtype."
258+
msgstr ""
256259

257260
#: ../../c-api/set.rst:11
258261
msgid "object"

faq/programming.po

+5-1
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-13 14:14+0000\n"
19+
"POT-Creation-Date: 2023-10-20 14:13+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/"
@@ -1933,12 +1933,16 @@ msgid ""
19331933
"To call a method or function and accumulate the return values is a list, a :"
19341934
"term:`list comprehension` is an elegant solution::"
19351935
msgstr ""
1936+
"メソッドや関数を呼び出して結果を蓄積するのには、 :term:`list comprehension` "
1937+
"(リスト内包表記) がエレガントな解決策です::"
19361938

19371939
#: ../../faq/programming.rst:1334
19381940
msgid ""
19391941
"To just run the method or function without saving the return values, a "
19401942
"plain :keyword:`for` loop will suffice::"
19411943
msgstr ""
1944+
"戻り値を保存せずにメソッドや関数を実行するだけなら、ただの :keyword:`for` "
1945+
"ループで十分です::"
19421946

19431947
#: ../../faq/programming.rst:1346
19441948
msgid ""

glossary.po

+13-34
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# mollinaca, 2021
1111
# Osamu NAKAMURA, 2021
1212
# 菊池 健志, 2023
13-
# souma987, 2023
1413
# Arihiro TAKASE, 2023
1514
# Nozomu Kaneko <[email protected]>, 2023
1615
#
@@ -19,7 +18,7 @@ msgid ""
1918
msgstr ""
2019
"Project-Id-Version: Python 3.12\n"
2120
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2023-10-06 14:14+0000\n"
21+
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
2322
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
2423
"Last-Translator: Nozomu Kaneko <[email protected]>, 2023\n"
2524
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -556,11 +555,9 @@ msgstr "context manager"
556555
#: ../../glossary.rst:250
557556
msgid ""
558557
"An object which controls the environment seen in a :keyword:`with` statement "
559-
"by defining :meth:`__enter__` and :meth:`__exit__` methods. See :pep:`343`."
558+
"by defining :meth:`~object.__enter__` and :meth:`~object.__exit__` methods. "
559+
"See :pep:`343`."
560560
msgstr ""
561-
"(コンテキストマネージャ)\n"
562-
":meth:`__enter__` と :meth:`__exit__` メソッドを定義することで :keyword:"
563-
"`with` 文内の環境を管理するオブジェクトです。:pep:`343` を参照してください。"
564561

565562
#: ../../glossary.rst:253
566563
msgid "context variable"
@@ -1459,15 +1456,9 @@ msgid ""
14591456
"iterables include all sequence types (such as :class:`list`, :class:`str`, "
14601457
"and :class:`tuple`) and some non-sequence types like :class:`dict`, :term:"
14611458
"`file objects <file object>`, and objects of any classes you define with an :"
1462-
"meth:`__iter__` method or with a :meth:`__getitem__` method that implements :"
1463-
"term:`sequence` semantics."
1459+
"meth:`__iter__` method or with a :meth:`~object.__getitem__` method that "
1460+
"implements :term:`sequence` semantics."
14641461
msgstr ""
1465-
"(反復可能オブジェクト) 要素を一度に 1 つずつ返せるオブジェクトです。\n"
1466-
"反復可能オブジェクトの例には、(:class:`list`, :class:`str`, :class:`tuple` と"
1467-
"いった) 全てのシーケンス型や、 :class:`dict` や :term:`ファイルオブジェクト "
1468-
"<file object>` といった幾つかの非シーケンス型、 あるいは :meth:`__iter__` メ"
1469-
"ソッドか :term:`sequence` 意味論を実装した :meth:`__getitem__` メソッドを持つ"
1470-
"任意のクラスのインスタンスが含まれます。"
14711462

14721463
#: ../../glossary.rst:651
14731464
msgid ""
@@ -2424,35 +2415,23 @@ msgstr "sequence"
24242415
#: ../../glossary.rst:1089
24252416
msgid ""
24262417
"An :term:`iterable` which supports efficient element access using integer "
2427-
"indices via the :meth:`__getitem__` special method and defines a :meth:"
2428-
"`__len__` method that returns the length of the sequence. Some built-in "
2418+
"indices via the :meth:`~object.__getitem__` special method and defines a :"
2419+
"meth:`__len__` method that returns the length of the sequence. Some built-in "
24292420
"sequence types are :class:`list`, :class:`str`, :class:`tuple`, and :class:"
2430-
"`bytes`. Note that :class:`dict` also supports :meth:`__getitem__` and :meth:"
2431-
"`__len__`, but is considered a mapping rather than a sequence because the "
2432-
"lookups use arbitrary :term:`immutable` keys rather than integers."
2433-
msgstr ""
2434-
"(シーケンス) 整数インデクスによる効率的な要素アクセスを :meth:`__getitem__` "
2435-
"特殊メソッドを通じてサポートし、長さを返す :meth:`__len__` メソッドを定義し"
2436-
"た :term:`iterable` です。組み込みシーケンス型には、 :class:`list`, :class:"
2437-
"`str`, :class:`tuple`, :class:`bytes` などがあります。 :class:`dict` は :"
2438-
"meth:`__getitem__` と :meth:`__len__` もサポートしますが、検索の際に整数では"
2439-
"なく任意の :term:`immutable` なキーを使うため、シーケンスではなくマッピング "
2440-
"(mapping) とみなされているので注意してください。"
2421+
"`bytes`. Note that :class:`dict` also supports :meth:`~object.__getitem__` "
2422+
"and :meth:`__len__`, but is considered a mapping rather than a sequence "
2423+
"because the lookups use arbitrary :term:`immutable` keys rather than "
2424+
"integers."
2425+
msgstr ""
24412426

24422427
#: ../../glossary.rst:1098
24432428
msgid ""
24442429
"The :class:`collections.abc.Sequence` abstract base class defines a much "
2445-
"richer interface that goes beyond just :meth:`__getitem__` and :meth:"
2430+
"richer interface that goes beyond just :meth:`~object.__getitem__` and :meth:"
24462431
"`__len__`, adding :meth:`count`, :meth:`index`, :meth:`__contains__`, and :"
24472432
"meth:`__reversed__`. Types that implement this expanded interface can be "
24482433
"registered explicitly using :func:`~abc.ABCMeta.register`."
24492434
msgstr ""
2450-
":class:`collections.abc.Sequence` 抽象基底クラスは\n"
2451-
":meth:`__getitem__` や :meth:`__len__` だけでなく :meth:`count`、:meth:"
2452-
"`index`,、:meth:`__contains__`、:meth:`__reversed__` よりも\n"
2453-
"豊富なインターフェイスを定義しています。この拡張されたインターフェイスを実装"
2454-
"している型は :func:`~abc.ABCMeta.register` を使用することで明示的に登録するこ"
2455-
"とが出来ます。"
24562435

24572436
#: ../../glossary.rst:1105
24582437
msgid "set comprehension"

library/abc.po

+2-7
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-10-13 14:14+0000\n"
17+
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
1919
"Last-Translator: Arihiro TAKASE, 2023\n"
2020
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -217,14 +217,9 @@ msgid ""
217217
"Finally, the last line makes ``Foo`` a virtual subclass of ``MyIterable``, "
218218
"even though it does not define an :meth:`~iterator.__iter__` method (it uses "
219219
"the old-style iterable protocol, defined in terms of :meth:`__len__` and :"
220-
"meth:`__getitem__`). Note that this will not make ``get_iterator`` "
220+
"meth:`~object.__getitem__`). Note that this will not make ``get_iterator`` "
221221
"available as a method of ``Foo``, so it is provided separately."
222222
msgstr ""
223-
"最後に、一番下の行は ``Foo`` を :meth:`~iterator.__iter__` メソッドを定義しな"
224-
"いにもかかわらず ``MyIterable`` の仮想的サブクラスにします(``Foo`` は古い様式"
225-
"の :meth:`__len__` と :meth:`__getitem__` を用いたイテレータプロトコルを使っ"
226-
"ています。)。これによって ``Foo`` のメソッドとして ``get_iterator`` が手に入"
227-
"るわけではないことに注意してください。それは別に提供されています。"
228223

229224
#: ../../library/abc.rst:163
230225
msgid "The :mod:`abc` module also provides the following decorator:"

0 commit comments

Comments
 (0)