8000 Update translations from Transifex · python/python-docs-ja@5aa6bac · GitHub
[go: up one dir, main page]

Skip to content

Commit 5aa6bac

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 4a9ca21 commit 5aa6bac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+5420
-6009
lines changed

c-api/allocation.po

Lines changed: 20 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
15+
"POT-Creation-Date: 2023-07-28 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1717
"Last-Translator: 菊池 健志, 2023\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -52,52 +52,35 @@ msgstr ""
5252
#: ../../c-api/allocation.rst:32
5353
msgid ""
5454
"Allocate a new Python object using the C structure type *TYPE* and the "
55-
"Python type object *type*. Fields not defined by the Python object header "
56-
"are not initialized; the object's reference count will be one. The size of "
57-
"the memory allocation is determined from the :c:member:`~PyTypeObject."
58-
"tp_basicsize` field of the type object."
55+
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
56+
"Python object header are not initialized; the object's reference count will "
57+
"be one. The size of the memory allocation is determined from the :c:member:"
58+
"`~PyTypeObject.tp_basicsize` field of the type object."
5959
msgstr ""
60-
"C 構造体型 *TYPE* と Python型オブジェクト *type* を使って、新しい Python オブ"
61-
"ジェクトをメモリ上に確保します。Pythonオブジェクトヘッダで定義されていない"
62-
"フィールドは初期化されません; オブジェクトの参照カウントは 1 になります。確保"
63-
"するメモリのサイズは型オブジェクトの :c:member:`~PyTypeObject.tp_basicsize` "
64-
"フィールドで決まります。"
6560

66-
#: ../../c-api/allocation.rst:41
61+
#: ../../c-api/allocation.rst:42
6762
msgid ""
6863
"Allocate a new Python object using the C structure type *TYPE* and the "
69-
"Python type object *type*. Fields not defined by the Python object header "
70-
"are not initialized. The allocated memory allows for the *TYPE* structure "
71-
"plus *size* fields of the size given by the :c:member:`~PyTypeObject."
72-
"tp_itemsize` field of *type*. This is useful for implementing objects like "
73-
"tuples, which are able to determine their size at construction time. "
74-
"Embedding the array of fields into the same allocation decreases the number "
75-
"of allocations, improving the memory management efficiency."
64+
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
65+
"Python object header are not initialized. The allocated memory allows for "
66+
"the *TYPE* structure plus *size* (``Py_ssize_t``) fields of the size given "
67+
"by the :c:member:`~PyTypeObject.tp_itemsize` field of *typeobj*. This is "
68+
"useful for implementing objects like tuples, which are able to determine "
69+
"their size at construction time. Embedding the array of fields into the "
70+
"same allocation decreases the number of allocations, improving the memory "
71+
"management efficiency."
7672
msgstr ""
77-
"C 構造体型 *TYPE* と Python 型オブジェクト *type* を使って新しい Python オブ"
78-
"ジェクトをメモリ上に確保します。 Python オブジェクトヘッダで定義されていない"
79-
"フィールドは初期化されません。確保されたメモリは、 *TYPE* 構造体に加え、"
80-
"*type* の :c:member:`~PyTypeObject.tp_itemsize` フィールドで指定されているサ"
81-
"イズを *size* 個分の大きさを格納できます。この関数は、例えばタプルのように生"
82-
"成時にサイズを決定できるオブジェクトを実装する際に便利です。一連の複数の"
83-
"フィールドのメモリ割り当てを一度で行うことでアロケーション回数を減らし、メモ"
84-
"リ管理の効率が向上します。"
8573

86-
#: ../../c-api/allocation.rst:53
74+
#: ../../c-api/allocation.rst:56
8775
msgid ""
88-
"Releases memory allocated to an object using :c:func:`PyObject_New` or :c:"
89-
"func:`PyObject_NewVar`. This is normally called from the :c:member:"
76+
"Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:"
77+
"macro:`PyObject_NewVar`. This is normally called from the :c:member:"
9078
"`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
9179
"fields of the object should not be accessed after this call as the memory is "
9280
"no longer a valid Python object."
9381
msgstr ""
94-
":c:func:`PyObject_New` や :c:func:`PyObject_NewVar` で 確保したメモリを解放し"
95-
"ます。通常、この関数はオブジェクトの型に指定されている :c:member:"
96-
"`~PyTypeObject.tp_dealloc` ハンドラから呼び出されます。 この関数を呼び出した"
97-
"後は、メモリ領域はもはや有効な Python オブジェクトを表現していないので、オブ"
98-
"ジェクトのフィールド に対してアクセスしてはなりません。"
9982

100-
#: ../../c-api/allocation.rst:62
83+
#: ../../c-api/allocation.rst:65
10184
msgid ""
10285
"Object which is visible in Python as ``None``. This should only be accessed "
10386
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
@@ -107,10 +90,10 @@ msgstr ""
10790
"ブジェクトへのポインタを評価する :c:macro:`Py_None` マクロを使わなければなり"
10891
"ません。"
10992

110-
#: ../../c-api/allocation.rst:69
93+
#: ../../c-api/allocation.rst:72
11194
msgid ":c:func:`PyModule_Create`"
11295
msgstr ":c:func:`PyModule_Create`"
11396

114-
#: ../../c-api/allocation.rst:70
97+
#: ../../c-api/allocation.rst:73
11598
msgid "To allocate and create extension modules."
11699
msgstr "拡張モジュールのアロケートと生成。"

c-api/apiabiversion.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
14+
"POT-Creation-Date: 2023-07-28 14:13+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1616
"Last-Translator: tomo, 2021\n"
1717
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -173,7 +173,7 @@ msgid "Use this for numeric comparisons, e.g. ``#if PY_VERSION_HEX >= ...``."
173173
msgstr ""
174174

175175
#: ../../c-api/apiabiversion.rst:63
176-
msgid "This version is also available via the symbol :data:`Py_Version`."
176+
msgid "This version is also available via the symbol :c:var:`Py_Version`."
177177
msgstr ""
178178

179179
#: ../../c-api/apiabiversion.rst:67

c-api/arg.po

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# tomo, 2021
87
# Arihiro TAKASE, 2023
8+
# tomo, 2023
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
15+
"POT-Creation-Date: 2023-07-28 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
17-
"Last-Translator: Arihiro TAKASE, 2023\n"
17+
"Last-Translator: tomo, 2023\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
1919
"ja/)\n"
2020
"MIME-Version: 1.0\n"
@@ -1035,10 +1035,8 @@ msgstr ""
10351035
#: ../../c-api/arg.rst:471
10361036
msgid ""
10371037
"This is an example of the use of this function, taken from the sources for "
1038-
"the :mod:`_weakref` helper module for weak references::"
1038+
"the :mod:`!_weakref` helper module for weak references::"
10391039
msgstr ""
1040-
"この関数の使用例を以下に示します。この例は、弱参照のための :mod:`_weakref` 補"
1041-
"助モジュールのソースコードからとったものです::"
10421040

10431041
#: ../../c-api/arg.rst:487
10441042
msgid ""
@@ -1188,11 +1186,11 @@ msgstr "``u`` (:class:`str`) [const wchar_t \\*]"
11881186

11891187
#: ../../c-api/arg.rst:550
11901188
msgid ""
1191-
"Convert a null-terminated :c:expr:`wchar_t` buffer of Unicode (UTF-16 or "
1189+
"Convert a null-terminated :c:type:`wchar_t` buffer of Unicode (UTF-16 or "
11921190
"UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is "
11931191
"``NULL``, ``None`` is returned."
11941192
msgstr ""
1195-
"null 終端された Unicode (UTF-16 または UCS-4) データの :c:expr:`wchar_t` バッ"
1193+
"null 終端された Unicode (UTF-16 または UCS-4) データの :c:type:`wchar_t` バッ"
11961194
"ファから Python Unicode オブジェクトに変換します。 Unicode バッファポインタ"
11971195
"が ``NULL`` の場合、 ``None`` になります。"
11981196

c-api/buffer.po

Lines changed: 5 additions & 15 deletions
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-07-21 14:13+0000\n"
18+
"POT-Creation-Date: 2023-07-28 14:13+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
2020
"Last-Translator: Osamu NAKAMURA, 2023\n"
2121
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -97,21 +97,13 @@ msgstr ""
9797
msgid ""
9898
"An example consumer of the buffer interface is the :meth:`~io.BufferedIOBase."
9999
"write` method of file objects: any object that can export a series of bytes "
100-
"through the buffer interface can be written to a file. While :meth:`write` "
100+
"through the buffer interface can be written to a file. While :meth:`!write` "
101101
"only needs read-only access to the internal contents of the object passed to "
102102
"it, other methods such as :meth:`~io.BufferedIOBase.readinto` need write "
103103
"access to the contents of their argument. The buffer interface allows "
104104
"objects to selectively allow or reject exporting of read-write and read-only "
105105
"buffers."
106106
msgstr ""
107-
"bufferインターフェースの利用者の一例は、ファイルオブジェクトの :meth:`~io."
108-
"BufferedIOBase.write` メソッドです: bufferインターフェースを通して一連のバイ"
109-
"ト列を提供できるどんなオブジェクトでもファイルに書き込むことができます。 :"
110-
"meth:`write` は、その引数として渡されたオブジェクトの内部要素に対する読み出し"
111-
"専用アクセスのみを必要としますが、 :meth:`~io.BufferedIOBase.readinto` のよう"
112-
"な他のメソッドでは、その引数の内容に対する書き込みアクセスが必要です。buffer"
113-
"インターフェースにより、オブジェクトは読み書き両方、読み出し専用バッファへの"
114-
"アクセスを許可するかそれとも拒否するか選択することができます。"
115107

116108
#: ../../c-api/buffer.rst:53
117109
msgid ""
@@ -459,10 +451,8 @@ msgstr ""
459451

460452
#: ../../c-api/buffer.rst:228
461453
msgid ""
462-
"All :c:data:`Py_buffer` fields are unambiguously defined by the request type."
454+
"All :c:type:`Py_buffer` fields are unambiguously defined by the request type."
463455
msgstr ""
464-
":c:data:`Py_buffer` の全フィールドは、リクエストの種類によって曖昧さを残さず"
465-
"に定義されます。"
466456

467457
#: ../../c-api/buffer.rst:232
468458
msgid "request-independent fields"
@@ -825,8 +815,8 @@ msgstr ""
825815

826816
#: ../../c-api/buffer.rst:467
827817
msgid ""
828-
"Return the implied :c:data:`~Py_buffer.itemsize` from :c:data:`~Py_buffer."
829-
"format`. On error, raise an exception and return -1."
818+
"Return the implied :c:member:`~Py_buffer.itemsize` from :c:member:"
819+
"`~Py_buffer.format`. On error, raise an exception and return -1."
830820
msgstr ""
831821

832822
#: ../../c-api/buffer.rst:475

c-api/bytes.po

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
15+
"POT-Creation-Date: 2023-07-28 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1717
"Last-Translator: tomo, 2023\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -112,8 +112,8 @@ msgid "Comment"
112112
msgstr "備考"
113113

114114
#: ../../c-api/bytes.rst:67
115-
msgid ":attr:`%%`"
116-
msgstr ":attr:`%%`"
115+
msgid "``%%``"
116+
msgstr "``%%``"
117117

118118
#: ../../c-api/bytes.rst:67
119119
msgid "*n/a*"
@@ -124,8 +124,8 @@ msgid "The literal % character."
124124
msgstr "リテラルの % 文字"
125125

126126
#: ../../c-api/bytes.rst:69
127-
msgid ":attr:`%c`"
128-
msgstr ":attr:`%c`"
127+
msgid "``%c``"
128+
msgstr "``%c``"
129129

130130
#: ../../c-api/bytes.rst:69 ../../c-api/bytes.rst:72 ../../c-api/bytes.rst:90
131131
#: ../../c-api/bytes.rst:93
@@ -137,16 +137,16 @@ msgid "A single byte, represented as a C int."
137137
msgstr "C の整数型で表現される単一のバイト。"
138138

139139
#: ../../c-api/bytes.rst:72
140-
msgid ":attr:`%d`"
141-
msgstr ":attr:`%d`"
140+
msgid "``%d``"
141+
msgstr "``%d``"
142142

143143
#: ../../c-api/bytes.rst:72
144144
msgid "Equivalent to ``printf(\"%d\")``. [1]_"
145145
msgstr "``printf(\"%d\")`` と同等。 [1]_"
146146

147147
#: ../../c-api/bytes.rst:75
148-
msgid ":attr:`%u`"
149-
msgstr ":attr:`%u`"
148+
msgid "``%u``"
149+
msgstr "``%u``"
150150

151151
#: ../../c-api/bytes.rst:75
152152
msgid "unsigned int"
@@ -157,8 +157,8 @@ msgid "Equivalent to ``printf(\"%u\")``. [1]_"
157157
msgstr "``printf(\"%u\")`` と同等。 [1]_"
158158

159159
#: ../../c-api/bytes.rst:78
160-
msgid ":attr:`%ld`"
161-
msgstr ":attr:`%ld`"
160+
msgid "``%ld``"
161+
msgstr ""
162162

163163
#: ../../c-api/bytes.rst:78
164164
msgid "long"
@@ -169,8 +169,8 @@ msgid "Equivalent to ``printf(\"%ld\")``. [1]_"
169169
msgstr "``printf(\"%ld\")`` と同等。 [1]_"
170170

171171
#: ../../c-api/bytes.rst:81
172-
msgid ":attr:`%lu`"
173-
msgstr ":attr:`%lu`"
172+
msgid "``%lu``"
173+
msgstr ""
174174

175175
#: ../../c-api/bytes.rst:81
176176
msgid "unsigned long"
@@ -181,8 +181,8 @@ msgid "Equivalent to ``printf(\"%lu\")``. [1]_"
181181
msgstr "``printf(\"%lu\")`` と同等。 [1]_"
182182

183183
#: ../../c-api/bytes.rst:84
184-
msgid ":attr:`%zd`"
185-
msgstr ":attr:`%zd`"
184+
msgid "``%zd``"
185+
msgstr ""
186186

187187
#: ../../c-api/bytes.rst:84
188188
msgid ":c:type:`\\ Py_ssize_t`"
@@ -193,8 +193,8 @@ msgid "Equivalent to ``printf(\"%zd\")``. [1]_"
193193
msgstr "``printf(\"%zd\")`` と同等。 [1]_"
194194

195195
#: ../../c-api/bytes.rst:87
196-
msgid ":attr:`%zu`"
197-
msgstr ":attr:`%zu`"
196+
msgid "``%zu``"
197+
msgstr ""
198198

199199
#: ../../c-api/bytes.rst:87
200200
msgid "size_t"
@@ -205,24 +205,24 @@ msgid "Equivalent to ``printf(\"%zu\")``. [1]_"
205205
msgstr "``printf(\"%zu\")`` と同等。 [1]_"
206206

207207
#: ../../c-api/bytes.rst:90
208-
msgid ":attr:`%i`"
209-
msgstr ":attr:`%i`"
208+
msgid "``%i``"
209+
msgstr "``%i``"
210210

211211
#: ../../c-api/bytes.rst:90
212212
msgid "Equivalent to ``printf(\"%i\")``. [1]_"
213213
msgstr "``printf(\"%i\")`` と同等。 [1]_"
214214

215215
#: ../../c-api/bytes.rst:93
216-
msgid ":attr:`%x`"
217-
msgstr ":attr:`%x`"
216+
msgid "``%x``"
217+
msgstr "``%x``"
218218

219219
#: ../../c-api/bytes.rst:93
220220
msgid "Equivalent to ``printf(\"%x\")``. [1]_"
221221
msgstr "``printf(\"%x\")`` と同等。 [1]_"
222222

223223
#: ../../c-api/bytes.rst:96
224-
msgid ":attr:`%s`"
225-
msgstr ":attr:`%s`"
224+
msgid "``%s``"
225+
msgstr "``%s``"
226226

227227
#: ../../c-api/bytes.rst:96
228228
msgid "const char\\*"
@@ -233,8 +233,8 @@ msgid "A null-terminated C character array."
233233
msgstr "null で終端された C の文字列。"
234234

235235
#: ../../c-api/bytes.rst:99
236-
msgid ":attr:`%p`"
237-
msgstr ":attr:`%p`"
236+
msgid "``%p``"
237+
msgstr "``%p``"
238238

239239
#: ../../c-api/bytes.rst:99
240240
msgid "const void\\*"

c-api/capsule.po

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
15+
"POT-Creation-Date: 2023-07-28 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1717
"Last-Translator: tomo, 2023\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -121,13 +121,9 @@ msgstr ""
121121
msgid ""
122122
"The *name* parameter must compare exactly to the name stored in the capsule. "
123123
"If the name stored in the capsule is ``NULL``, the *name* passed in must "
124-
"also be ``NULL``. Python uses the C function :c:func:`strcmp` to compare "
124+
"also be ``NULL``. Python uses the C function :c:func:`!strcmp` to compare "
125125
"capsule names."
126126
msgstr ""
127-
"*name* 引数はカプセルに保存されている名前と正確に一致しなければなりません。も"
128-
"しカプセルに格納されている name が ``NULL`` なら、この関数の *name* 引数も同"
129-
"じく ``NULL`` でなければなりません。 Python は C言語の :c:func:`strcmp` を"
130-
"使ってこの name を比較します。"
131127

132128
#: ../../c-api/capsule.rst:73
133129
msgid ""
@@ -219,11 +215,9 @@ msgstr ""
219215
#: ../../c-api/capsule.rst:123
220216
msgid ""
221217
"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
222-
"to any of the accessors (any function starting with :c:func:`PyCapsule_Get`) "
223-
"are guaranteed to succeed."
218+
"to any of the accessors (any function starting with ``PyCapsule_Get``) are "
219+
"guaranteed to succeed."
224220
msgstr ""
225-
"言い換えると、 :c:func:`PyCapsule_IsValid` が真を返す場合、全てのアクセッサ "
226-
"(:c:func:`PyCapsule_Get` で始まる全ての関数) が成功することが保証されます。"
227221

228222
#: ../../c-api/capsule.rst:127
229223
msgid ""

0 commit comments

Comments
 (0)
0