Skip to content

Commit 1f45eeb

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent d812b3a commit 1f45eeb

File tree

7 files changed

+696
-684
lines changed

7 files changed

+696
-684
lines changed

c-api/tuple.po

+61-61
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.13\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-08-16 14:15+0000\n"
16+
"POT-Creation-Date: 2024-08-30 14:16+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1818
"Last-Translator: tomo, 2023\n"
1919
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -59,38 +59,30 @@ msgstr ""
5959
"を返します。この関数は常に成功します。"
6060

6161
#: ../../c-api/tuple.rst:36
62-
msgid "Return a new tuple object of size *len*, or ``NULL`` on failure."
62+
msgid ""
63+
"Return a new tuple object of size *len*, or ``NULL`` with an exception set "
64+
"on failure."
6365
msgstr ""
64-
"サイズが *len* の新たなタプルオブジェクトを返します。失敗すると ``NULL`` を返"
65-
"します。"
6666

67-
#: ../../c-api/tuple.rst:41
67+
#: ../../c-api/tuple.rst:42
6868
msgid ""
69-
"Return a new tuple object of size *n*, or ``NULL`` on failure. The tuple "
70-
"values are initialized to the subsequent *n* C arguments pointing to Python "
71-
"objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
69+
"Return a new tuple object of size *n*, or ``NULL`` with an exception set on "
70+
"failure. The tuple values are initialized to the subsequent *n* C arguments "
71+
"pointing to Python objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
7272
"``Py_BuildValue(\"(OO)\", a, b)``."
7373
msgstr ""
74-
"サイズが *n* の新たなタプルオブジェクトを返します。失敗すると ``NULL`` を返し"
75-
"ます。タプルの値は後続の *n* 個の Python オブジェクトを指す C 引数になりま"
76-
"す。``PyTuple_Pack(2, a, b)`` は ``Py_BuildValue(\"(OO)\", a, b)`` と同じで"
77-
"す。"
7874

79-
#: ../../c-api/tuple.rst:48
80-
msgid "Take a pointer to a tuple object, and return the size of that tuple."
75+
#: ../../c-api/tuple.rst:50
76+
msgid ""
77+
"Take a pointer to a tuple object, and return the size of that tuple. On "
78+
"error, return ``-1`` and with an exception set."
8179
msgstr ""
82-
"タプルオブジェクトへのポインタを引数にとり、そのタプルのサイズを返します。"
8380

84-
#: ../../c-api/tuple.rst:53
85-
msgid ""
86-
"Return the size of the tuple *p*, which must be non-``NULL`` and point to a "
87-
"tuple; no error checking is performed."
81+
#: ../../c-api/tuple.rst:56
82+
msgid "Like :c:func:`PyTuple_Size`, but without error checking."
8883
msgstr ""
89-
"タプル *p* のサイズを返しますが、*p* は非 ``NULL`` でなくてはならず、タプルオ"
90-
"ブジェクトを指していなければなりません; この関数はエラーチェックを行いませ"
91-
"ん。"
9284

93-
#: ../../c-api/tuple.rst:59
85+
#: ../../c-api/tuple.rst:61
9486
msgid ""
9587
"Return the object at position *pos* in the tuple pointed to by *p*. If "
9688
"*pos* is negative or out of bounds, return ``NULL`` and set an :exc:"
@@ -100,28 +92,33 @@ msgstr ""
10092
"*pos* が負であるか範囲を超えている場合、 ``NULL`` を返して :exc:`IndexError` "
10193
"例外をセットします。"
10294

103-
#: ../../c-api/tuple.rst:62
95+
#: ../../c-api/tuple.rst:64
10496
msgid ""
10597
"The returned reference is borrowed from the tuple *p* (that is: it is only "
10698
"valid as long as you hold a reference to *p*). To get a :term:`strong "
10799
"reference`, use :c:func:`Py_NewRef(PyTuple_GetItem(...)) <Py_NewRef>` or :c:"
108100
"func:`PySequence_GetItem`."
109101
msgstr ""
110102

111-
#: ../../c-api/tuple.rst:71
103+
#: ../../c-api/tuple.rst:73
112104
msgid "Like :c:func:`PyTuple_GetItem`, but does no checking of its arguments."
113105
msgstr ""
114106
":c:func:`PyTuple_GetItem` に似ていますが、引数に対するエラーチェックを行いま"
115107
"せん。"
116108

117-
#: ../../c-api/tuple.rst:76
109+
#: ../../c-api/tuple.rst:78
118110
msgid ""
119111
"Return the slice of the tuple pointed to by *p* between *low* and *high*, or "
120-
"``NULL`` on failure. This is the equivalent of the Python expression "
121-
"``p[low:high]``. Indexing from the end of the tuple is not supported."
112+
"``NULL`` with an exception set on failure."
122113
msgstr ""
123114

124-
#: ../../c-api/tuple.rst:83
115+
#: ../../c-api/tuple.rst:81
116+
msgid ""
117+
"This is the equivalent of the Python expression ``p[low:high]``. Indexing "
118+
"from the end of the tuple is not supported."
119+
msgstr ""
120+
121+
#: ../../c-api/tuple.rst:87
125122
msgid ""
126123
"Insert a reference to object *o* at position *pos* of the tuple pointed to "
127124
"by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` "
@@ -131,29 +128,30 @@ msgstr ""
131128
"ます。成功すれば ``0`` を返します。 *pos* が範囲を超えている場合、 ``-1`` を"
132129
"返して :exc:`IndexError` 例外をセットします。"
133130

134-
#: ../../c-api/tuple.rst:89
131+
#: ../../c-api/tuple.rst:93
135132
msgid ""
136133
"This function \"steals\" a reference to *o* and discards a reference to an "
137134
"item already in the tuple at the affected position."
138135
msgstr ""
139136
"この関数は *o* への参照を \"盗み取り\" ます。また、変更先のインデクスにすでに"
140137
"別の要素が入っている場合、その要素に対する参照を放棄します。"
141138

142-
#: ../../c-api/tuple.rst:95
139+
#: ../../c-api/tuple.rst:99
143140
msgid ""
144141
"Like :c:func:`PyTuple_SetItem`, but does no error checking, and should "
145142
"*only* be used to fill in brand new tuples."
146143
msgstr ""
147144
":c:func:`PyTuple_SetItem` に似ていますが、エラーチェックを行わず、新たなタプ"
148145
"ルに値を入れるとき *以外には使ってはなりません* 。"
149146

150-
#: ../../c-api/tuple.rst:98 ../../c-api/tuple.rst:209 ../../c-api/tuple.rst:227
147+
#: ../../c-api/tuple.rst:102 ../../c-api/tuple.rst:217
148+
#: ../../c-api/tuple.rst:235
151149
msgid ""
152150
"Bounds checking is performed as an assertion if Python is built in :ref:"
153151
"`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`."
154152
msgstr ""
155153

156-
#: ../../c-api/tuple.rst:103
154+
#: ../../c-api/tuple.rst:107
157155
msgid ""
158156
"This function \"steals\" a reference to *o*, and, unlike :c:func:"
159157
"`PyTuple_SetItem`, does *not* discard a reference to any item that is being "
@@ -164,7 +162,7 @@ msgstr ""
164162
"トへの参照を放棄 *しません* ; その結果、タプル中の位置 *pos* で参照されていた"
165163
"オブジェクトがメモリリークを引き起こします。"
166164

167-
#: ../../c-api/tuple.rst:111
165+
#: ../../c-api/tuple.rst:115
168166
msgid ""
169167
"Can be used to resize a tuple. *newsize* will be the new length of the "
170168
"tuple. Because tuples are *supposed* to be immutable, this should only be "
@@ -188,11 +186,11 @@ msgstr ""
188186
"ます。失敗すると ``-1`` を返し、 ``*p`` を ``NULL`` に設定して、 :exc:"
189187
"`MemoryError` または :exc:`SystemError` を送出します。"
190188

191-
#: ../../c-api/tuple.rst:126
189+
#: ../../c-api/tuple.rst:130
192190
msgid "Struct Sequence Objects"
193191
msgstr "Struct Sequence オブジェクト"
194192

195-
#: ../../c-api/tuple.rst:128
193+
#: ../../c-api/tuple.rst:132
196194
msgid ""
197195
"Struct sequence objects are the C equivalent of :func:`~collections."
198196
"namedtuple` objects, i.e. a sequence whose items can also be accessed "
@@ -204,7 +202,7 @@ msgstr ""
204202
"きるシーケンスです。 struct sequence を生成するには、まず特定のstruct "
205203
"sequence 型を生成しなければなりません。"
206204

207-
#: ../../c-api/tuple.rst:135
205+
#: ../../c-api/tuple.rst:139
208206
msgid ""
209207
"Create a new struct sequence type from the data in *desc*, described below. "
210208
"Instances of the resulting type can be created with :c:func:"
@@ -213,40 +211,42 @@ msgstr ""
213211
"後述の *desc* 中のデータから新しい struct sequence 型を生成します。返される型"
214212
"のインスタンスは :c:func:`PyStructSequence_New` で生成できます。"
215213

216-
#: ../../c-api/tuple.rst:141
214+
#: ../../c-api/tuple.rst:142 ../../c-api/tuple.rst:210
215+
msgid "Return ``NULL`` with an exception set on failure."
216+
msgstr ""
217+
218+
#: ../../c-api/tuple.rst:147
217219
msgid "Initializes a struct sequence type *type* from *desc* in place."
218220
msgstr ""
219221
"struct sequence 型である *type* を *desc* をもとにその場で初期化します。"
220222

221-
#: ../../c-api/tuple.rst:146
223+
#: ../../c-api/tuple.rst:152
222224
msgid ""
223-
"The same as ``PyStructSequence_InitType``, but returns ``0`` on success and "
224-
"``-1`` on failure."
225+
"Like :c:func:`PyStructSequence_InitType`, but returns ``0`` on success and "
226+
"``-1`` with an exception set on failure."
225227
msgstr ""
226-
"``PyStructSequence_InitType`` と同じですが、成功した場合には ``0`` を、失敗し"
227-
"た場合には ``-1`` を返します。"
228228

229-
#: ../../c-api/tuple.rst:154
229+
#: ../../c-api/tuple.rst:160
230230
msgid "Contains the meta information of a struct sequence type to create."
231231
msgstr "生成するstruct sequence 型のメタデータを保持します。"
232232

233-
#: ../../c-api/tuple.rst:158
233+
#: ../../c-api/tuple.rst:164
234234
msgid "Name of the struct sequence type."
235235
msgstr ""
236236

237-
#: ../../c-api/tuple.rst:162
237+
#: ../../c-api/tuple.rst:168
238238
msgid "Pointer to docstring for the type or ``NULL`` to omit."
239239
msgstr ""
240240

241-
#: ../../c-api/tuple.rst:166
241+
#: ../../c-api/tuple.rst:172
242242
msgid "Pointer to ``NULL``-terminated array with field names of the new type."
243243
msgstr ""
244244

245-
#: ../../c-api/tuple.rst:170
245+
#: ../../c-api/tuple.rst:176
246246
msgid "Number of fields visible to the Python side (if used as tuple)."
247247
msgstr ""
248248

249-
#: ../../c-api/tuple.rst:175
249+
#: ../../c-api/tuple.rst:181
250250
msgid ""
251251
"Describes a field of a struct sequence. As a struct sequence is modeled as a "
252252
"tuple, all fields are typed as :c:expr:`PyObject*`. The index in the :c:"
@@ -255,46 +255,46 @@ msgid ""
255255
"described."
256256
msgstr ""
257257

258-
#: ../../c-api/tuple.rst:183
258+
#: ../../c-api/tuple.rst:189
259259
msgid ""
260260
"Name for the field or ``NULL`` to end the list of named fields, set to :c:"
261261
"data:`PyStructSequence_UnnamedField` to leave unnamed."
262262
msgstr ""
263263

264-
#: ../../c-api/tuple.rst:188
264+
#: ../../c-api/tuple.rst:194
265265
msgid "Field docstring or ``NULL`` to omit."
266266
msgstr ""
267267

268-
#: ../../c-api/tuple.rst:193
268+
#: ../../c-api/tuple.rst:199
269269
msgid "Special value for a field name to leave it unnamed."
270270
msgstr "フィールド名を名前がないままするための特殊な値。"
271271

272-
#: ../../c-api/tuple.rst:195
272+
#: ../../c-api/tuple.rst:201
273273
msgid "The type was changed from ``char *``."
274274
msgstr "型が ``char *`` から変更されました。"
275275

276-
#: ../../c-api/tuple.rst:201
276+
#: ../../c-api/tuple.rst:207
277277
msgid ""
278278
"Creates an instance of *type*, which must have been created with :c:func:"
279279
"`PyStructSequence_NewType`."
280280
msgstr ""
281281
"*type* のインスタンスを生成します。 *type* は :c:func:"
282282
"`PyStructSequence_NewType` によって事前に生成していなければなりません。"
283283

284-
#: ../../c-api/tuple.rst:207
284+
#: ../../c-api/tuple.rst:215
285285
msgid ""
286286
"Return the object at position *pos* in the struct sequence pointed to by *p*."
287287
msgstr ""
288288

289-
#: ../../c-api/tuple.rst:215
289+
#: ../../c-api/tuple.rst:223
290290
msgid "Alias to :c:func:`PyStructSequence_GetItem`."
291291
msgstr ""
292292

293-
#: ../../c-api/tuple.rst:217
293+
#: ../../c-api/tuple.rst:225
294294
msgid "Now implemented as an alias to :c:func:`PyStructSequence_GetItem`."
295295
msgstr ""
296296

297-
#: ../../c-api/tuple.rst:223
297+
#: ../../c-api/tuple.rst:231
298298
msgid ""
299299
"Sets the field at index *pos* of the struct sequence *p* to value *o*. "
300300
"Like :c:func:`PyTuple_SET_ITEM`, this should only be used to fill in brand "
@@ -304,15 +304,15 @@ msgstr ""
304304
"func:`PyTuple_SET_ITEM` のように、生成したてのインスタンスに対してのみ使用す"
305305
"べきです。"
306306

307-
#: ../../c-api/tuple.rst:232
307+
#: ../../c-api/tuple.rst:240
308308
msgid "This function \"steals\" a reference to *o*."
309309
msgstr "この関数は *o* への参照を \"盗み取り\" ます。"
310310

311-
#: ../../c-api/tuple.rst:237
311+
#: ../../c-api/tuple.rst:245
312312
msgid "Alias to :c:func:`PyStructSequence_SetItem`."
313313
msgstr ""
314314

315-
#: ../../c-api/tuple.rst:239
315+
#: ../../c-api/tuple.rst:247
316316
msgid "Now implemented as an alias to :c:func:`PyStructSequence_SetItem`."
317317
msgstr ""
318318

howto/logging.po

+11-11
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgid ""
2020
msgstr ""
2121
"Project-Id-Version: Python 3.13\n"
2222
"Report-Msgid-Bugs-To: \n"
23-
"POT-Creation-Date: 2024-08-16 14:15+0000\n"
23+
"POT-Creation-Date: 2024-08-30 14:16+0000\n"
2424
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
2525
"Last-Translator: Inada Naoki <[email protected]>, 2024\n"
2626
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -815,11 +815,11 @@ msgid ""
815815
msgstr ""
816816
"ロガーには、*有効レベル (effective level)* の概念があります。ロガーにレベルが"
817817
"明示的に設定されていなければ、代わりに親のレベルがその有効レベルとして使われ"
818-
"ます。親のレベルが設定されなければ、*その* 親のレベルが確かめられ、以下同様"
819-
"に、明示的に設定されたレベルが見つかるまで祖先が探されます。ルートロガーは、"
820-
"必ず明示的なレベルが設定されています (デフォルトでは ``WARNING`` です)。イベ"
821-
"ントを処理するかを決定するとき、ロガーの有効レベルを使って、イベントがロガー"
822-
"のハンドラに渡されるかが決められます。"
818+
"ます。親のレベルが設定されなければ、*その* 親のレベルが確かめられ、明示的に設"
819+
"定されたレベルが見つかるまで祖先が探されます。ルートロガーは、必ず明示的なレ"
820+
"ベルが設定されています (デフォルトでは ``WARNING`` です)。イベントを処理する"
821+
"かを決定するとき、ロガーの有効レベルを使って、イベントがロガーのハンドラに渡"
822+
"されるかが決められます。"
823823

824824
#: ../../howto/logging.rst:495
825825
msgid ""
@@ -1199,11 +1199,11 @@ msgid ""
11991199
msgstr ""
12001200
"イベントは、 :data:`lastResort` に格納された「最終手段ハンドラ」を使用して出"
12011201
"力されます。この内部的なハンドラはどんなロガーにも関係しておらず、イベント記"
1202-
"述メッセージを現在の ``sys.stderr`` の値に書く :class:`~logging."
1203-
"StreamHandler` のように動作します (したがって、あらゆるリダイレクトの効果が反"
1204-
"映されます)。メッセージに対してフォーマットは行われません - 裸のイベント記述"
1205-
"メッセージだけが印刷されます。ハンドラのレベルは ``WARNING`` にセットされ、"
1206-
"れより重大度が大きなすべてのイベントが出力されます。"
1202+
"述メッセージを現在の ``sys.stderr`` に書く :class:`~logging.StreamHandler` の"
1203+
"ように動作します (したがって、あらゆるリダイレクトの効果が反映されます)。メッ"
1204+
"セージに対してフォーマットは行われません。イベント記述メッセージだけがそのま"
1205+
"ま表示されます。ハンドラのレベルは ``WARNING`` にセットされ、重大度がこれ以上"
1206+
"のすべてのイベントが出力されます。"
12071207

12081208
#: ../../howto/logging.rst:796
12091209
msgid "For versions of Python prior to 3.2, the behaviour is as follows:"

0 commit comments

Comments
 (0)