Skip to content

Commit 8a57228

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 388b562 commit 8a57228

18 files changed

+379
-302
lines changed

c-api/long.po

+45-38
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-01-13 14:15+0000\n"
14+
"POT-Creation-Date: 2023-01-27 14:14+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1616
"Last-Translator: tomo, 2021\n"
1717
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/"
@@ -146,51 +146,58 @@ msgstr ""
146146
"す。\n"
147147
"数字が全くない場合、 :exc:`ValueError` が送出されます。"
148148

149-
#: ../../c-api/long.rst:99
149+
#: ../../c-api/long.rst:96
150+
msgid ""
151+
"Python methods :meth:`int.to_bytes` and :meth:`int.from_bytes` to convert a :"
152+
"c:type:`PyLongObject` to/from an array of bytes in base ``256``. You can "
153+
"call those from C using :c:func:`PyObject_CallMethod`."
154+
msgstr ""
155+
156+
#: ../../c-api/long.rst:103
150157
msgid ""
151158
"Convert a sequence of Unicode digits in the string *u* to a Python integer "
152159
"value."
153160
msgstr ""
154161

155-
#: ../../c-api/long.rst:107
162+
#: ../../c-api/long.rst:111
156163
msgid ""
157164
"Create a Python integer from the pointer *p*. The pointer value can be "
158165
"retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`."
159166
msgstr ""
160167
"ポインタ *p* から Python 整数値を生成します。ポインタの値は :c:func:"
161168
"`PyLong_AsVoidPtr` を適用した結果から取得されます。"
162169

163-
#: ../../c-api/long.rst:118 ../../c-api/long.rst:136
170+
#: ../../c-api/long.rst:122 ../../c-api/long.rst:140
164171
msgid ""
165172
"Return a C :c:expr:`long` representation of *obj*. If *obj* is not an "
166173
"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method "
167174
"(if present) to convert it to a :c:type:`PyLongObject`."
168175
msgstr ""
169176

170-
#: ../../c-api/long.rst:122
177+
#: ../../c-api/long.rst:126
171178
msgid ""
172179
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:"
173180
"expr:`long`."
174181
msgstr ""
175182

176-
#: ../../c-api/long.rst:125 ../../c-api/long.rst:145 ../../c-api/long.rst:166
177-
#: ../../c-api/long.rst:186 ../../c-api/long.rst:209
183+
#: ../../c-api/long.rst:129 ../../c-api/long.rst:149 ../../c-api/long.rst:170
184+
#: ../../c-api/long.rst:190 ../../c-api/long.rst:213
178185
msgid "Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
179186
msgstr ""
180187
"エラーが起きたときに ``-1`` を返します。\n"
181188
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
182189

183-
#: ../../c-api/long.rst:127 ../../c-api/long.rst:147 ../../c-api/long.rst:168
184-
#: ../../c-api/long.rst:190 ../../c-api/long.rst:274 ../../c-api/long.rst:294
190+
#: ../../c-api/long.rst:131 ../../c-api/long.rst:151 ../../c-api/long.rst:172
191+
#: ../../c-api/long.rst:194 ../../c-api/long.rst:278 ../../c-api/long.rst:298
185192
msgid "Use :meth:`__index__` if available."
186193
msgstr "可能であれば :meth:`__index__` を使うようになりました。"
187194

188-
#: ../../c-api/long.rst:130 ../../c-api/long.rst:150 ../../c-api/long.rst:171
189-
#: ../../c-api/long.rst:193 ../../c-api/long.rst:277 ../../c-api/long.rst:297
195+
#: ../../c-api/long.rst:134 ../../c-api/long.rst:154 ../../c-api/long.rst:175
196+
#: ../../c-api/long.rst:197 ../../c-api/long.rst:281 ../../c-api/long.rst:301
190197
msgid "This function will no longer use :meth:`__int__`."
191198
msgstr ""
192199

193-
#: ../../c-api/long.rst:140
200+
#: ../../c-api/long.rst:144
194201
msgid ""
195202
"If the value of *obj* is greater than :const:`LONG_MAX` or less than :const:"
196203
"`LONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and return "
@@ -202,20 +209,20 @@ msgstr ""
202209
"返します; さもなければ *\\*overflow* は ``0`` に設定されます。もし、ほかの例"
203210
"外が発生した場合は *\\*overflow* が ``0`` に設定され ``-1`` を返します。"
204211

205-
#: ../../c-api/long.rst:159 ../../c-api/long.rst:177
212+
#: ../../c-api/long.rst:163 ../../c-api/long.rst:181
206213
msgid ""
207214
"Return a C :c:expr:`long long` representation of *obj*. If *obj* is not an "
208215
"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method "
209216
"(if present) to convert it to a :c:type:`PyLongObject`."
210217
msgstr ""
211218

212-
#: ../../c-api/long.rst:163
219+
#: ../../c-api/long.rst:167
213220
msgid ""
214221
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:"
215222
"expr:`long long`."
216223
msgstr ""
217224

218-
#: ../../c-api/long.rst:181
225+
#: ../../c-api/long.rst:185
219226
msgid ""
220227
"If the value of *obj* is greater than :const:`LLONG_MAX` or less than :const:"
221228
"`LLONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and return "
@@ -227,163 +234,163 @@ msgstr ""
227234
"を返します; さもなければ *\\*overflow* は ``0`` に設定されます。もし、ほかの"
228235
"例外が発生した場合は *\\*overflow* が ``0`` に設定され ``-1`` を返します。"
229236

230-
#: ../../c-api/long.rst:203
237+
#: ../../c-api/long.rst:207
231238
msgid ""
232239
"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must "
233240
"be an instance of :c:type:`PyLongObject`."
234241
msgstr ""
235242
"*pylong* を表す C の :c:type:`Py_ssize_t` を返します。 *pylong* は :c:type:"
236243
"`PyLongObject` のインスタンスでなければなりません。"
237244

238-
#: ../../c-api/long.rst:206
245+
#: ../../c-api/long.rst:210
239246
msgid ""
240247
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
241248
"type:`Py_ssize_t`."
242249
msgstr ""
243250
"もし *pylong* の値が :c:type:`Py_ssize_t` の範囲外であれば、 :exc:"
244251
"`OverflowError` を送出します。"
245252

246-
#: ../../c-api/long.rst:218
253+
#: ../../c-api/long.rst:222
247254
msgid ""
248255
"Return a C :c:expr:`unsigned long` representation of *pylong*. *pylong* "
249256
"must be an instance of :c:type:`PyLongObject`."
250257
msgstr ""
251258

252-
#: ../../c-api/long.rst:221
259+
#: ../../c-api/long.rst:225
253260
msgid ""
254261
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
255262
"expr:`unsigned long`."
256263
msgstr ""
257264

258-
#: ../../c-api/long.rst:224
265+
#: ../../c-api/long.rst:228
259266
msgid ""
260267
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
261268
"disambiguate."
262269
msgstr ""
263270
"エラーが起きたときに ``(unsigned long)-1`` を返します。\n"
264271
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
265272

266-
#: ../../c-api/long.rst:234
273+
#: ../../c-api/long.rst:238
267274
msgid ""
268275
"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an "
269276
"instance of :c:type:`PyLongObject`."
270277
msgstr ""
271278
"*pylong* を表す C の :c:type:`size_t` を返します。 *pylong* は :c:type:"
272279
"`PyLongObject` のインスタンスでなければなりません。"
273280

274-
#: ../../c-api/long.rst:237
281+
#: ../../c-api/long.rst:241
275282
msgid ""
276283
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
277284
"type:`size_t`."
278285
msgstr ""
279286
"もし *pylong* の値が :c:type:`size_t` の範囲外であれば、 :exc:"
280287
"`OverflowError` を送出します。"
281288

282-
#: ../../c-api/long.rst:240
289+
#: ../../c-api/long.rst:244
283290
msgid ""
284291
"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
285292
"disambiguate."
286293
msgstr ""
287294
"エラーが起きたときに ``(size_t)-1`` を返します。\n"
288295
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
289296

290-
#: ../../c-api/long.rst:249
297+
#: ../../c-api/long.rst:253
291298
msgid ""
292299
"Return a C :c:expr:`unsigned long long` representation of *pylong*. "
293300
"*pylong* must be an instance of :c:type:`PyLongObject`."
294301
msgstr ""
295302

296-
#: ../../c-api/long.rst:252
303+
#: ../../c-api/long.rst:256
297304
msgid ""
298305
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for an :"
299306
"c:expr:`unsigned long long`."
300307
msgstr ""
301308

302-
#: ../../c-api/long.rst:255
309+
#: ../../c-api/long.rst:259
303310
msgid ""
304311
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
305312
"disambiguate."
306313
msgstr ""
307314
"エラーが起きたときに ``(unsigned long long)-1`` を返します。\n"
308315
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
309316

310-
#: ../../c-api/long.rst:258
317+
#: ../../c-api/long.rst:262
311318
msgid ""
312319
"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`."
313320
msgstr ""
314321
"負 *pylong* を指定した際に :exc:`TypeError` ではなく、 :exc:`OverflowError` "
315322
"を送出するようになりました。"
316323

317-
#: ../../c-api/long.rst:264
324+
#: ../../c-api/long.rst:268
318325
msgid ""
319326
"Return a C :c:expr:`unsigned long` representation of *obj*. If *obj* is not "
320327
"an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` "
321328
"method (if present) to convert it to a :c:type:`PyLongObject`."
322329
msgstr ""
323330

324-
#: ../../c-api/long.rst:268
331+
#: ../../c-api/long.rst:272
325332
msgid ""
326333
"If the value of *obj* is out of range for an :c:expr:`unsigned long`, return "
327334
"the reduction of that value modulo ``ULONG_MAX + 1``."
328335
msgstr ""
329336

330-
#: ../../c-api/long.rst:271
337+
#: ../../c-api/long.rst:275
331338
msgid ""
332339
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
333340
"disambiguate."
334341
msgstr ""
335342
"エラーが起きたときに ``(unsigned long)-1`` を返します。\n"
336343
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
337344

338-
#: ../../c-api/long.rst:283
345+
#: ../../c-api/long.rst:287
339346
msgid ""
340347
"Return a C :c:expr:`unsigned long long` representation of *obj*. If *obj* "
341348
"is not an instance of :c:type:`PyLongObject`, first call its :meth:"
342349
"`__index__` method (if present) to convert it to a :c:type:`PyLongObject`."
343350
msgstr ""
344351

345-
#: ../../c-api/long.rst:288
352+
#: ../../c-api/long.rst:292
346353
msgid ""
347354
"If the value of *obj* is out of range for an :c:expr:`unsigned long long`, "
348355
"return the reduction of that value modulo ``ULLONG_MAX + 1``."
349356
msgstr ""
350357

351-
#: ../../c-api/long.rst:291
358+
#: ../../c-api/long.rst:295
352359
msgid ""
353360
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` "
354361
"to disambiguate."
355362
msgstr ""
356363
"エラーが起きたときに ``(unsigned long long)-1`` を返します。\n"
357364
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
358365

359-
#: ../../c-api/long.rst:303
366+
#: ../../c-api/long.rst:307
360367
msgid ""
361368
"Return a C :c:expr:`double` representation of *pylong*. *pylong* must be an "
362369
"instance of :c:type:`PyLongObject`."
363370
msgstr ""
364371

365-
#: ../../c-api/long.rst:306
372+
#: ../../c-api/long.rst:310
366373
msgid ""
367374
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
368375
"expr:`double`."
369376
msgstr ""
370377

371-
#: ../../c-api/long.rst:309
378+
#: ../../c-api/long.rst:313
372379
msgid ""
373380
"Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
374381
msgstr ""
375382
"エラーが起きたときに ``-1.0`` を返します。\n"
376383
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
377384

378-
#: ../../c-api/long.rst:314
385+
#: ../../c-api/long.rst:318
379386
msgid ""
380387
"Convert a Python integer *pylong* to a C :c:expr:`void` pointer. If *pylong* "
381388
"cannot be converted, an :exc:`OverflowError` will be raised. This is only "
382389
"assured to produce a usable :c:expr:`void` pointer for values created with :"
383390
"c:func:`PyLong_FromVoidPtr`."
384391
msgstr ""
385392

386-
#: ../../c-api/long.rst:319
393+
#: ../../c-api/long.rst:323
387394
msgid ""
388395
"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
389396
msgstr ""

c-api/typeobj.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.11\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-01-06 14:14+0000\n"
16+
"POT-Creation-Date: 2023-01-27 14:14+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1818
"Last-Translator: Osamu NAKAMURA, 2021\n"
1919
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/"

0 commit comments

Comments
 (0)