Skip to content

Commit bf33880

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 77e76ef commit bf33880

File tree

2 files changed

+49
-55
lines changed

2 files changed

+49
-55
lines changed

c-api/long.po

Lines changed: 41 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.8\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
14+
"POT-Creation-Date: 2020-07-05 14:24+0000\n"
1515
"PO-Revision-Date: 2020-05-30 11:49+0000\n"
1616
"Last-Translator: tomo, 2020\n"
1717
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -150,44 +150,32 @@ msgstr ""
150150
"数字が全くない場合、 :exc:`ValueError` が送出されます。"
151151

152152
#: ../../c-api/long.rst:101
153-
msgid ""
154-
"Convert a sequence of Unicode digits to a Python integer value. The Unicode"
155-
" string is first encoded to a byte string using "
156-
":c:func:`PyUnicode_EncodeDecimal` and then converted using "
157-
":c:func:`PyLong_FromString`."
153+
msgid "Convert a sequence of Unicode digits to a Python integer value."
158154
msgstr ""
159-
"Unicode 数値列を Python 整数値に変換します。Unicode 文字列はまず "
160-
":c:func:`PyUnicode_EncodeDecimal` を用いてバイト文字列にエンコードされ、次に "
161-
":c:func:`PyLong_FromString` を用いて変換されます。"
162155

163-
#: ../../c-api/long.rst:107
156+
#: ../../c-api/long.rst:105
164157
msgid ""
165158
"Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using "
166159
":c:func:`PyLong_FromUnicodeObject`."
167160
msgstr ""
168161
"古いスタイルの :c:type:`Py_UNICODE` APIの一部です; :c:func:`PyLong_FromUnicodeObject` "
169162
"を使用するように移行してください。"
170163

171-
#: ../../c-api/long.rst:112
164+
#: ../../c-api/long.rst:110
172165
msgid ""
173166
"Convert a sequence of Unicode digits in the string *u* to a Python integer "
174-
"value. The Unicode string is first encoded to a byte string using "
175-
":c:func:`PyUnicode_EncodeDecimal` and then converted using "
176-
":c:func:`PyLong_FromString`."
167+
"value."
177168
msgstr ""
178-
"*u* 文字列中の Unicode 数値列を Python 整数値に変換します。Unicode 文字列はまず "
179-
":c:func:`PyUnicode_EncodeDecimal` を用いてバイト文字列にエンコードされ、次に "
180-
":c:func:`PyLong_FromString` を用いて変換されます。"
181169

182-
#: ../../c-api/long.rst:122
170+
#: ../../c-api/long.rst:118
183171
msgid ""
184172
"Create a Python integer from the pointer *p*. The pointer value can be "
185173
"retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`."
186174
msgstr ""
187175
"ポインタ *p* から Python 整数値を生成します。ポインタの値は :c:func:`PyLong_AsVoidPtr` "
188176
"を適用した結果から取得されます。"
189177

190-
#: ../../c-api/long.rst:133 ../../c-api/long.rst:152
178+
#: ../../c-api/long.rst:129 ../../c-api/long.rst:148
191179
msgid ""
192180
"Return a C :c:type:`long` representation of *obj*. If *obj* is not an "
193181
"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` or "
@@ -198,31 +186,31 @@ msgstr ""
198186
"のインスタンスでなければ、まず、その :meth:`__index__` メソッドあるいは :meth:`__int__` メソッドを (もしあれば) "
199187
"呼び出して、オブジェクトを :c:type:`PyLongObject` に変換します。"
200188

201-
#: ../../c-api/long.rst:138
189+
#: ../../c-api/long.rst:134
202190
msgid ""
203191
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a "
204192
":c:type:`long`."
205193
msgstr "もし *obj* の値が :c:type:`long` の範囲外であれば、 :exc:`OverflowError` を送出します。"
206194

207-
#: ../../c-api/long.rst:141 ../../c-api/long.rst:162 ../../c-api/long.rst:184
208-
#: ../../c-api/long.rst:205 ../../c-api/long.rst:228
195+
#: ../../c-api/long.rst:137 ../../c-api/long.rst:158 ../../c-api/long.rst:180
196+
#: ../../c-api/long.rst:201 ../../c-api/long.rst:224
209197
msgid ""
210198
"Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
211199
msgstr ""
212200
"エラーが起きたときに ``-1`` を返します。\n"
213201
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
214202

215-
#: ../../c-api/long.rst:143 ../../c-api/long.rst:164 ../../c-api/long.rst:186
216-
#: ../../c-api/long.rst:209 ../../c-api/long.rst:294 ../../c-api/long.rst:314
203+
#: ../../c-api/long.rst:139 ../../c-api/long.rst:160 ../../c-api/long.rst:182
204+
#: ../../c-api/long.rst:205 ../../c-api/long.rst:290 ../../c-api/long.rst:310
217205
msgid "Use :meth:`__index__` if available."
218206
msgstr "可能であれば :meth:`__index__` を使うようになりました。"
219207

220-
#: ../../c-api/long.rst:146 ../../c-api/long.rst:167 ../../c-api/long.rst:189
221-
#: ../../c-api/long.rst:212 ../../c-api/long.rst:297 ../../c-api/long.rst:317
208+
#: ../../c-api/long.rst:142 ../../c-api/long.rst:163 ../../c-api/long.rst:185
209+
#: ../../c-api/long.rst:208 ../../c-api/long.rst:293 ../../c-api/long.rst:313
222210
msgid "Using :meth:`__int__` is deprecated."
223211
msgstr ":meth:`__int__` の使用は非推奨です。"
224212

225-
#: ../../c-api/long.rst:157
213+
#: ../../c-api/long.rst:153
226214
msgid ""
227215
"If the value of *obj* is greater than :const:`LONG_MAX` or less than "
228216
":const:`LONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and "
@@ -234,7 +222,7 @@ msgstr ""
234222
"*\\*overflow* は ``0`` に設定されます。もし、ほかの例外が発生した場合は *\\*overflow* が ``0`` に設定され "
235223
"``-1`` を返します。"
236224

237-
#: ../../c-api/long.rst:176 ../../c-api/long.rst:195
225+
#: ../../c-api/long.rst:172 ../../c-api/long.rst:191
238226
msgid ""
239227
"Return a C :c:type:`long long` representation of *obj*. If *obj* is not an "
240228
"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` or "
@@ -244,14 +232,14 @@ msgstr ""
244232
"*obj* が表す、Cの :c:type:`long long` 表現を返します。\n"
245233
"もし *obj* が :c:type:`PyLongObject` のインスタンスでなければ、まず、その :meth:`__index__` メソッドあるいは :meth:`__int__` メソッドを (もしあれば) 呼び出して、オブジェクトを :c:type:`PyLongObject` に変換します。"
246234

247-
#: ../../c-api/long.rst:181
235+
#: ../../c-api/long.rst:177
248236
msgid ""
249237
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a "
250238
":c:type:`long long`."
251239
msgstr ""
252240
"もし *obj* の値が :c:type:`long long` の範囲外であれば、 :exc:`OverflowError` を送出します。"
253241

254-
#: ../../c-api/long.rst:200
242+
#: ../../c-api/long.rst:196
255243
msgid ""
256244
"If the value of *obj* is greater than :const:`PY_LLONG_MAX` or less than "
257245
":const:`PY_LLONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, "
@@ -263,100 +251,100 @@ msgstr ""
263251
"*\\*overflow* は ``0`` に設定されます。もし、ほかの例外が発生した場合は *\\*overflow* が ``0`` に設定され "
264252
"``-1`` を返します。"
265253

266-
#: ../../c-api/long.rst:222
254+
#: ../../c-api/long.rst:218
267255
msgid ""
268256
"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must "
269257
"be an instance of :c:type:`PyLongObject`."
270258
msgstr ""
271259
"*pylong* を表す C の :c:type:`Py_ssize_t` を返します。 *pylong* は "
272260
":c:type:`PyLongObject` のインスタンスでなければなりません。"
273261

274-
#: ../../c-api/long.rst:225
262+
#: ../../c-api/long.rst:221
275263
msgid ""
276264
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
277265
":c:type:`Py_ssize_t`."
278266
msgstr ""
279267
"もし *pylong* の値が :c:type:`Py_ssize_t` の範囲外であれば、 :exc:`OverflowError` を送出します。"
280268

281-
#: ../../c-api/long.rst:237
269+
#: ../../c-api/long.rst:233
282270
msgid ""
283271
"Return a C :c:type:`unsigned long` representation of *pylong*. *pylong* "
284272
"must be an instance of :c:type:`PyLongObject`."
285273
msgstr ""
286274
"*pylong* を表す C の :c:type:`unsigned long` を返します。 *pylong* は "
287275
":c:type:`PyLongObject` のインスタンスでなければなりません。"
288276

289-
#: ../../c-api/long.rst:240
277+
#: ../../c-api/long.rst:236
290278
msgid ""
291279
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
292280
":c:type:`unsigned long`."
293281
msgstr ""
294282
"もし *pylong* の値が :c:type:`unsigned long` の範囲外であれば、 :exc:`OverflowError` "
295283
"を送出します。"
296284

297-
#: ../../c-api/long.rst:243
285+
#: ../../c-api/long.rst:239
298286
msgid ""
299287
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
300288
"disambiguate."
301289
msgstr ""
302290
"エラーが起きたときに ``(unsigned long)-1`` を返します。\n"
303291
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
304292

305-
#: ../../c-api/long.rst:253
293+
#: ../../c-api/long.rst:249
306294
msgid ""
307295
"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an"
308296
" instance of :c:type:`PyLongObject`."
309297
msgstr ""
310298
"*pylong* を表す C の :c:type:`size_t` を返します。 *pylong* は :c:type:`PyLongObject` "
311299
"のインスタンスでなければなりません。"
312300

313-
#: ../../c-api/long.rst:256
301+
#: ../../c-api/long.rst:252
314302
msgid ""
315303
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
316304
":c:type:`size_t`."
317305
msgstr ""
318306
"もし *pylong* の値が :c:type:`size_t` の範囲外であれば、 :exc:`OverflowError` を送出します。"
319307

320-
#: ../../c-api/long.rst:259
308+
#: ../../c-api/long.rst:255
321309
msgid ""
322310
"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
323311
"disambiguate."
324312
msgstr ""
325313
"エラーが起きたときに ``(size_t)-1`` を返します。\n"
326314
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
327315

328-
#: ../../c-api/long.rst:268
316+
#: ../../c-api/long.rst:264
329317
msgid ""
330318
"Return a C :c:type:`unsigned long long` representation of *pylong*. "
331319
"*pylong* must be an instance of :c:type:`PyLongObject`."
332320
msgstr ""
333321
"*pylong* を表す C の :c:type:`unsigned long long` を返します。 *pylong* は "
334322
":c:type:`PyLongObject` のインスタンスでなければなりません。"
335323

336-
#: ../../c-api/long.rst:271
324+
#: ../../c-api/long.rst:267
337325
msgid ""
338326
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for an "
339327
":c:type:`unsigned long long`."
340328
msgstr ""
341329
"もし *pylong* の値が :c:type:`unsigned long long` の範囲外であれば、 :exc:`OverflowError` "
342330
"を送出します。"
343331

344-
#: ../../c-api/long.rst:274
332+
#: ../../c-api/long.rst:270
345333
msgid ""
346334
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to"
347335
" disambiguate."
348336
msgstr ""
349337
"エラーが起きたときに ``(unsigned long long)-1`` を返します。\n"
350338
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
351339

352-
#: ../../c-api/long.rst:277
340+
#: ../../c-api/long.rst:273
353341
msgid ""
354342
"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`."
355343
msgstr ""
356344
"負 *pylong* を指定した際に :exc:`TypeError` ではなく、 :exc:`OverflowError` "
357345
"を送出するようになりました。"
358346

359-
#: ../../c-api/long.rst:283
347+
#: ../../c-api/long.rst:279
360348
msgid ""
361349
"Return a C :c:type:`unsigned long` representation of *obj*. If *obj* is not"
362350
" an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` or "
@@ -366,23 +354,23 @@ msgstr ""
366354
"*obj* が表す、Cの :c:type:`unsigned long` 表現を返します。\n"
367355
"もし *obj* が :c:type:`PyLongObject` のインスタンスでなければ、まず、その :meth:`__index__` メソッドあるいは :meth:`__int__` メソッドを (もしあれば) 呼び出して、オブジェクトを :c:type:`PyLongObject` に変換します。"
368356

369-
#: ../../c-api/long.rst:288
357+
#: ../../c-api/long.rst:284
370358
msgid ""
371359
"If the value of *obj* is out of range for an :c:type:`unsigned long`, return"
372360
" the reduction of that value modulo ``ULONG_MAX + 1``."
373361
msgstr ""
374362
"*obj* の値が :c:type:`unsigned long` の範囲から外れていた場合は、 ``ULONG_MAX + 1`` "
375363
"を法とした剰余を返します。"
376364

377-
#: ../../c-api/long.rst:291
365+
#: ../../c-api/long.rst:287
378366
msgid ""
379367
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
380368
"disambiguate."
381369
msgstr ""
382370
"エラーが起きたときに ``(unsigned long)-1`` を返します。\n"
383371
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
384372

385-
#: ../../c-api/long.rst:303
373+
#: ../../c-api/long.rst:299
386374
msgid ""
387375
"Return a C :c:type:`unsigned long long` representation of *obj*. If *obj* "
388376
"is not an instance of :c:type:`PyLongObject`, first call its "
@@ -392,45 +380,45 @@ msgstr ""
392380
"*obj* が表す、Cの :c:type:`unsigned long long` 表現を返します。\n"
393381
"もし *obj* が :c:type:`PyLongObject` のインスタンスでなければ、まず、その :meth:`__index__` メソッドあるいは :meth:`__int__` メソッドを (もしあれば) 呼び出して、オブジェクトを :c:type:`PyLongObject` に変換します。"
394382

395-
#: ../../c-api/long.rst:308
383+
#: ../../c-api/long.rst:304
396384
msgid ""
397385
"If the value of *obj* is out of range for an :c:type:`unsigned long long`, "
398386
"return the reduction of that value modulo ``PY_ULLONG_MAX + 1``."
399387
msgstr ""
400388
"*obj* の値が :c:type:`unsigned long long` の範囲から外れていた場合は、 ``PY_ULLONG_MAX + 1`` "
401389
"を法とした剰余を返します。"
402390

403-
#: ../../c-api/long.rst:311
391+
#: ../../c-api/long.rst:307
404392
msgid ""
405393
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` "
406394
"to disambiguate."
407395
msgstr ""
408396
"エラーが起きたときに ``(unsigned long long)-1`` を返します。\n"
409397
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
410398

411-
#: ../../c-api/long.rst:323
399+
#: ../../c-api/long.rst:319
412400
msgid ""
413401
"Return a C :c:type:`double` representation of *pylong*. *pylong* must be an"
414402
" instance of :c:type:`PyLongObject`."
415403
msgstr ""
416404
"*pylong* を表す C の :c:type:`double` を返します。 *pylong* は :c:type:`PyLongObject` "
417405
"のインスタンスでなければなりません。"
418406

419-
#: ../../c-api/long.rst:326
407+
#: ../../c-api/long.rst:322
420408
msgid ""
421409
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
422410
":c:type:`double`."
423411
msgstr ""
424412
"もし *pylong* の値が :c:type:`double` の範囲外であれば、 :exc:`OverflowError` を送出します。"
425413

426-
#: ../../c-api/long.rst:329
414+
#: ../../c-api/long.rst:325
427415
msgid ""
428416
"Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
429417
msgstr ""
430418
"エラーが起きたときに ``-1.0`` を返します。\n"
431419
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
432420

433-
#: ../../c-api/long.rst:334
421+
#: ../../c-api/long.rst:330
434422
msgid ""
435423
"Convert a Python integer *pylong* to a C :c:type:`void` pointer. If *pylong*"
436424
" cannot be converted, an :exc:`OverflowError` will be raised. This is only "
@@ -441,7 +429,7 @@ msgstr ""
441429
"を変換できなければ、 :exc:`OverflowError` を送出します。この関数は :c:func:`PyLong_FromVoidPtr` "
442430
"で値を生成するときに使うような :c:type:`void` ポインタ型を生成できるだけです。"
443431

444-
#: ../../c-api/long.rst:339
432+
#: ../../c-api/long.rst:335
445433
msgid ""
446434
"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
447435
msgstr ""

library/typing.po

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# tomo, 2020
8+
# Tetsuo Koyama <tkoyama010@gmail.com>, 2020
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2020-07-04 14:23+0000\n"
1516
"PO-Revision-Date: 2020-05-30 12:12+0000\n"
16-
"Last-Translator: tomo, 2020\n"
17+
"Last-Translator: Tetsuo Koyama <tkoyama010@gmail.com>, 2020\n"
1718
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -662,6 +663,7 @@ msgid ""
662663
"This type represents the types :class:`bytes`, :class:`bytearray`, and "
663664
":class:`memoryview` of byte sequences."
664665
msgstr ""
666+
"この型は :class:`bytes` と :class:`bytearray` 、バイト列の :class:`memoryview` を表します。"
665667

666668
#: ../../library/typing.rst:677
667669
msgid ""
@@ -980,7 +982,7 @@ msgstr ""
980982
#: ../../library/typing.rst:1012
981983
msgid ""
982984
"See :pep:`589` for more examples and detailed rules of using ``TypedDict``."
983-
msgstr ""
985+
msgstr "他の例や、 ``TypedDict`` を扱う詳細な規則については :pep:`589` を参照してください。"
984986

985987
#: ../../library/typing.rst:1018
986988
msgid ""
@@ -999,6 +1001,10 @@ msgid ""
9991001
":ref:`distinct`. At runtime it returns a function that returns its argument."
10001002
" Usage::"
10011003
msgstr ""
1004+
"異なる型であることを型チェッカーに教えるためのヘルパー関数です。\n"
1005+
":ref:`distinct` を参照してください。\n"
1006+
"実行時には、その引数を返す関数を返します。\n"
1007+
"使い方は次のようになります::"
10021008

10031009
#: ../../library/typing.rst:1036
10041010
msgid "Cast a value to a type."

0 commit comments

Comments
 (0)