Skip to content

Commit 54f3de4

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 0f1e6eb commit 54f3de4

Some content is hidden

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

42 files changed

+8219
-8426
lines changed

c-api/arg.po

+27-69
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.9\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
21+
"POT-Creation-Date: 2020-08-20 03:54+0000\n"
2222
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
2323
"Last-Translator: tomo, 2020\n"
2424
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -311,11 +311,8 @@ msgstr "``S`` (:class:`bytes`) [PyBytesObject \\*]"
311311
msgid ""
312312
"Requires that the Python object is a :class:`bytes` object, without "
313313
"attempting any conversion. Raises :exc:`TypeError` if the object is not a "
314-
"bytes object. The C variable may also be declared as :c:type:`PyObject\\*`."
314+
"bytes object. The C variable may also be declared as :c:type:`PyObject*`."
315315
msgstr ""
316-
"Pythonオブジェクトとして、 :class:`bytes` オブジェクトを要求し、いかなる変換も行いません。オブジェクトが bytes "
317-
"オブジェクトでなければ、 :exc:`TypeError` を送出します。C 変数は :c:type:`PyObject\\*` "
318-
"と宣言しても構いません。"
319316

320317
#: ../../c-api/arg.rst:139
321318
msgid "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]"
@@ -326,11 +323,8 @@ msgid ""
326323
"Requires that the Python object is a :class:`bytearray` object, without "
327324
"attempting any conversion. Raises :exc:`TypeError` if the object is not a "
328325
":class:`bytearray` object. The C variable may also be declared as "
329-
":c:type:`PyObject\\*`."
326+
":c:type:`PyObject*`."
330327
msgstr ""
331-
"Python オブジェクトとして :class:`bytearray` オブジェクトを要求し、いかなる変換もおこないません。 もしオブジェクトが "
332-
":class:`bytearray` でなければ、 :exc:`TypeError` を送出します。C 変数は "
333-
":c:type:`PyObject\\*` として宣言しても構いません。"
334328

335329
#: ../../c-api/arg.rst:156
336330
msgid "``u`` (:class:`str`) [const Py_UNICODE \\*]"
@@ -412,11 +406,8 @@ msgstr "``U`` (:class:`str`) [PyObject \\*]"
412406
msgid ""
413407
"Requires that the Python object is a Unicode object, without attempting any "
414408
"conversion. Raises :exc:`TypeError` if the object is not a Unicode object."
415-
" The C variable may also be declared as :c:type:`PyObject\\*`."
409+
" The C variable may also be declared as :c:type:`PyObject*`."
416410
msgstr ""
417-
"Python オブジェクトとして Unicode オブジェクトを要求し、いかなる変換も行いません。オブジェクトが Unicode "
418-
"オブジェクトではない場合、 :exc:`TypeError` が送出されます。C変数は :c:type:`PyObject\\*` "
419-
"として宣言しても構いません。"
420411

421412
#: ../../c-api/arg.rst:192
422413
msgid "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]"
@@ -448,18 +439,13 @@ msgstr ""
448439
#: ../../c-api/arg.rst:198
449440
msgid ""
450441
"This format requires two arguments. The first is only used as input, and "
451-
"must be a :c:type:`const char\\*` which points to the name of an encoding as"
452-
" a NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is"
453-
" used. An exception is raised if the named encoding is not known to Python."
454-
" The second argument must be a :c:type:`char\\*\\*`; the value of the "
455-
"pointer it references will be set to a buffer with the contents of the "
456-
"argument text. The text will be encoded in the encoding specified by the "
457-
"first argument."
458-
msgstr ""
459-
"この書式には二つの引数が必要です。一つ目は入力にのみ用いられ、 NUL で終端されたエンコード名文字列を指す :c:type:`const "
460-
"char\\*` 型または、 ``'utf-8'`` が使われることを表す ``NULL`` でなければなりません。指定したエンコード名を Python"
461-
" が理解できない場合には例外を送出します。第二の引数は :c:type:`char\\*\\*` でなければなりません; "
462-
"この引数が参照しているポインタの値は、引数に指定したテキストの内容が入ったバッファへのポインタになります。テキストは最初の引数に指定したエンコード方式でエンコードされます。"
442+
"must be a :c:type:`const char*` which points to the name of an encoding as a"
443+
" NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is "
444+
"used. An exception is raised if the named encoding is not known to Python. "
445+
"The second argument must be a :c:type:`char**`; the value of the pointer it "
446+
"references will be set to a buffer with the contents of the argument text. "
447+
"The text will be encoded in the encoding specified by the first argument."
448+
msgstr ""
463449

464450
#: ../../c-api/arg.rst:206
465451
msgid ""
@@ -509,21 +495,15 @@ msgstr ""
509495
#: ../../c-api/arg.rst:221
510496
msgid ""
511497
"It requires three arguments. The first is only used as input, and must be a"
512-
" :c:type:`const char\\*` which points to the name of an encoding as a NUL-"
498+
" :c:type:`const char*` which points to the name of an encoding as a NUL-"
513499
"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. "
514500
"An exception is raised if the named encoding is not known to Python. The "
515-
"second argument must be a :c:type:`char\\*\\*`; the value of the pointer it "
501+
"second argument must be a :c:type:`char**`; the value of the pointer it "
516502
"references will be set to a buffer with the contents of the argument text. "
517503
"The text will be encoded in the encoding specified by the first argument. "
518504
"The third argument must be a pointer to an integer; the referenced integer "
519505
"will be set to the number of bytes in the output buffer."
520506
msgstr ""
521-
"この書式には三つの引数が必要です。一つ目は入力にのみ用いられ、 NUL で終端されたエンコード名文字列を指す :c:type:`const "
522-
"char\\*` 型か ``NULL`` でなければなりません。 ``NULL`` の場合には ``'utf-8'`` "
523-
"を使います。指定したエンコード名を Python が理解できない場合には例外を送出します。第二の引数は :c:type:`char\\*\\*` "
524-
"でなければなりません; "
525-
"この引数が参照しているポインタの値は、引数に指定したテキストの内容が入ったバッファへのポインタになります。テキストは最初の引数に指定したエンコード方式でエンコードされます。第三の引数は整数へのポインタでなければなりません;"
526-
" ポインタが参照している整数の値は出力バッファ内のバイト数にセットされます。"
527507

528508
#: ../../c-api/arg.rst:231
529509
msgid "There are two modes of operation:"
@@ -764,14 +744,10 @@ msgstr "``O!`` (object) [*typeobject*, PyObject \\*]"
764744
msgid ""
765745
"Store a Python object in a C object pointer. This is similar to ``O``, but "
766746
"takes two C arguments: the first is the address of a Python type object, the"
767-
" second is the address of the C variable (of type :c:type:`PyObject\\*`) "
768-
"into which the object pointer is stored. If the Python object does not have"
769-
" the required type, :exc:`TypeError` is raised."
747+
" second is the address of the C variable (of type :c:type:`PyObject*`) into "
748+
"which the object pointer is stored. If the Python object does not have the "
749+
"required type, :exc:`TypeError` is raised."
770750
msgstr ""
771-
"Python オブジェクトを C の Python オブジェクト型ポインタに保存します。 ``O`` に似ていますが、二つの C の引数をとります: "
772-
"一つ目の引数は Python の型オブジェクトへのアドレスで、二つ目の引数はオブジェクトへのポインタが保存されている "
773-
"(:c:type:`PyObject\\*` の) C の変数へのアドレスです。Python オブジェクトが指定した型ではない場合、 "
774-
":exc:`TypeError` を送出します。"
775751

776752
#: ../../c-api/arg.rst:352 ../../c-api/arg.rst:657
777753
msgid "``O&`` (object) [*converter*, *anything*]"
@@ -781,25 +757,19 @@ msgstr "``O&`` (object) [*converter*, *anything*]"
781757
msgid ""
782758
"Convert a Python object to a C variable through a *converter* function. "
783759
"This takes two arguments: the first is a function, the second is the address"
784-
" of a C variable (of arbitrary type), converted to :c:type:`void \\*`. The "
760+
" of a C variable (of arbitrary type), converted to :c:type:`void *`. The "
785761
"*converter* function in turn is called as follows::"
786762
msgstr ""
787-
"Python オブジェクトを *converter* 関数を介して C の変数に変換します。二つの引数をとります: 一つ目は関数で、二つ目は "
788-
"(任意の型の) C 変数へのアドレスを :c:type:`void \\*` 型に変換したものです。 *converter* "
789-
"は以下のようにして呼び出されます::"
790763

791764
#: ../../c-api/arg.rst:339
792765
msgid ""
793766
"where *object* is the Python object to be converted and *address* is the "
794-
":c:type:`void\\*` argument that was passed to the :c:func:`PyArg_Parse\\*` "
767+
":c:type:`void*` argument that was passed to the :c:func:`PyArg_Parse\\*` "
795768
"function. The returned *status* should be ``1`` for a successful conversion "
796769
"and ``0`` if the conversion has failed. When the conversion fails, the "
797770
"*converter* function should raise an exception and leave the content of "
798771
"*address* unmodified."
799772
msgstr ""
800-
"ここで *object* は変換対象の Python オブジェクトで、 *address* は :c:func:`PyArg_Parse\\*` "
801-
"に渡した :c:type:`void\\*` 型の引数です。戻り値 *status* は変換に成功した際に ``1``,失敗した場合には ``0`` "
802-
"になります。変換に失敗した場合、 *converter* 関数は *address* の内容を変更せずに例外を送出しなくてはなりません。"
803773

804774
#: ../../c-api/arg.rst:345
805775
msgid ""
@@ -1035,22 +1005,13 @@ msgid ""
10351005
"should be passed as *args*; it must actually be a tuple. The length of the "
10361006
"tuple must be at least *min* and no more than *max*; *min* and *max* may be "
10371007
"equal. Additional arguments must be passed to the function, each of which "
1038-
"should be a pointer to a :c:type:`PyObject\\*` variable; these will be "
1039-
"filled in with the values from *args*; they will contain borrowed "
1040-
"references. The variables which correspond to optional parameters not given"
1041-
" by *args* will not be filled in; these should be initialized by the caller."
1042-
" This function returns true on success and false if *args* is not a tuple or"
1043-
" contains the wrong number of elements; an exception will be set if there "
1044-
"was a failure."
1045-
msgstr ""
1046-
"パラメータ取得を簡単にした形式で、引数の型を指定する書式文字列を使いません。パラメタの取得にこの手法を使う関数は、関数宣言テーブル、またはメソッド宣言テーブル内で"
1047-
" :const:`METH_VARARGS` として宣言しなければなりません。実引数の入ったタプルは *args* に渡します; "
1048-
"このタプルは本当のタプルでなければなりません。タプルの長さは少なくとも *min* で、 *max* を超えてはなりません; *min* と *max*"
1049-
" が等しくてもかまいません。補助引数を関数に渡さなければならず、各補助引数は :c:type:`PyObject\\*` "
1050-
"変数へのポインタでなければなりません; これらの補助引数には、 *args* の値が入ります; "
1051-
"値の参照は借用参照です。オプションのパラメタに対応する変数のうち、 *args* に指定していないものには値が入りません; "
1052-
"呼び出し側はそれらの値を初期化しておかなければなりません。この関数は成功すると真を返し、 *args* "
1053-
"がタプルでない場合や間違った数の要素が入っている場合に偽を返します; 何らかの失敗が起きた場合には例外をセットします。"
1008+
"should be a pointer to a :c:type:`PyObject*` variable; these will be filled "
1009+
"in with the values from *args*; they will contain borrowed references. The "
1010+
"variables which correspond to optional parameters not given by *args* will "
1011+
"not be filled in; these should be initialized by the caller. This function "
1012+
"returns true on success and false if *args* is not a tuple or contains the "
1013+
"wrong number of elements; an exception will be set if there was a failure."
1014+
msgstr ""
10541015

10551016
#: ../../c-api/arg.rst:493
10561017
msgid ""
@@ -1358,12 +1319,9 @@ msgstr ""
13581319
msgid ""
13591320
"Convert *anything* to a Python object through a *converter* function. The "
13601321
"function is called with *anything* (which should be compatible with "
1361-
":c:type:`void \\*`) as its argument and should return a \"new\" Python "
1362-
"object, or ``NULL`` if an error occurred."
1322+
":c:type:`void*`) as its argument and should return a \"new\" Python object, "
1323+
"or ``NULL`` if an error occurred."
13631324
msgstr ""
1364-
"*anything* を *converter* 関数を介して Python オブジェクトに変換します。この関数は *anything* "
1365-
"(:c:type:`void \\*` と互換の型でなければなりません) を引数にして呼び出され、\"新たな\" オブジェクトを返すか、失敗した場合には"
1366-
" ``NULL`` を返すようにしなければなりません。"
13671325

13681326
#: ../../c-api/arg.rst:660
13691327
msgid ""

c-api/buffer.po

+18-24
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@
66
# Translators:
77
# E. Kawashima, 2017
88
# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
9-
# 秘湯 <xwhhsprings@gmail.com>, 2017
109
# Ikuru K <kanumaiku@gmail.com>, 2017
1110
# Yusuke Miyazaki <miyazaki.dev@gmail.com>, 2017
1211
# Osamu NAKAMURA, 2017
1312
# Inada Naoki <songofacandy@gmail.com>, 2017
1413
# Arihiro TAKASE, 2017
1514
# tomo, 2020
1615
# mollinaca, 2020
16+
# 秘湯 <xwhhsprings@gmail.com>, 2020
1717
#
1818
#, fuzzy
1919
msgid ""
2020
msgstr ""
2121
"Project-Id-Version: Python 3.9\n"
2222
"Report-Msgid-Bugs-To: \n"
23-
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
23+
"POT-Creation-Date: 2020-08-20 03:54+0000\n"
2424
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
25-
"Last-Translator: mollinaca, 2020\n"
25+
"Last-Translator: 秘湯 <xwhhsprings@gmail.com>, 2020\n"
2626
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2727
"MIME-Version: 1.0\n"
2828
"Content-Type: text/plain; charset=UTF-8\n"
@@ -576,6 +576,10 @@ msgstr "F"
576576
msgid "C or F"
577577
msgstr "C か F"
578578

579+
#: ../../c-api/buffer.rst:304
580+
msgid ":c:macro:`PyBUF_ND`"
581+
msgstr ":c:macro:`PyBUF_ND`"
582+
579583
#: ../../c-api/buffer.rst:309
580584
msgid "compound requests"
581585
msgstr "複合リクエスト"
@@ -713,24 +717,18 @@ msgstr ""
713717
msgid ""
714718
"Send a request to *exporter* to fill in *view* as specified by *flags*. If "
715719
"the exporter cannot provide a buffer of the exact type, it MUST raise "
716-
":c:data:`PyExc_BufferError`, set :c:member:`view->obj` to ``NULL`` and "
717-
"return ``-1``."
720+
":c:data:`PyExc_BufferError`, set ``view->obj`` to ``NULL`` and return "
721+
"``-1``."
718722
msgstr ""
719-
"*exporter* に *flags* で指定された方法で *view* を埋めるように要求します。\n"
720-
"もし exporter が指定されたとおりにバッファを提供できない場合、 :c:data:`PyExc_BufferError` を送出し、 :c:member:`view->obj` を ``NULL`` に設定した上で、 ``-1`` を返さなければなりません。"
721723

722724
#: ../../c-api/buffer.rst:444
723725
msgid ""
724-
"On success, fill in *view*, set :c:member:`view->obj` to a new reference to "
726+
"On success, fill in *view*, set ``view->obj`` to a new reference to "
725727
"*exporter* and return 0. In the case of chained buffer providers that "
726-
"redirect requests to a single object, :c:member:`view->obj` MAY refer to "
727-
"this object instead of *exporter* (See :ref:`Buffer Object Structures "
728-
"<buffer-structs>`)."
728+
"redirect requests to a single object, ``view->obj`` MAY refer to this object"
729+
" instead of *exporter* (See :ref:`Buffer Object Structures <buffer-"
730+
"structs>`)."
729731
msgstr ""
730-
"成功したときは、 *view* を埋め、 :c:member:`view->obj` に *exporter* "
731-
"への新しい参照を設定し、0を返します。チェイン状のバッファプロバイダがリクエストを単一のオブジェクトにリダイレクトするケースでは、 "
732-
":c:member:`view->obj` は *exporter* の代わりにこのオブジェクトを参照します (:ref:`バッファオブジェクト構造体 "
733-
"<buffer-structs>` を参照してください)。"
734732

735733
#: ../../c-api/buffer.rst:449
736734
msgid ""
@@ -745,11 +743,9 @@ msgstr ""
745743
#: ../../c-api/buffer.rst:457
746744
msgid ""
747745
"Release the buffer *view* and decrement the reference count for "
748-
":c:member:`view->obj`. This function MUST be called when the buffer is no "
749-
"longer being used, otherwise reference leaks may occur."
746+
"``view->obj``. This function MUST be called when the buffer is no longer "
747+
"being used, otherwise reference leaks may occur."
750748
msgstr ""
751-
"バッファ *view* を解放し、 :c:member:`view->obj` の参照カウントを1つ減らします。\n"
752-
"この関数はバッファが使われることがなくなったときに呼び出さなければならず、そうしないと参照のリークが起こり得ます。"
753749

754750
#: ../../c-api/buffer.rst:461
755751
msgid ""
@@ -833,12 +829,10 @@ msgstr ""
833829

834830
#: ../../c-api/buffer.rst:519
835831
msgid ""
836-
"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
837-
"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
838-
":c:member:`view->obj` to ``NULL`` and return ``-1``;"
832+
"On success, set ``view->obj`` to a new reference to *exporter* and return 0."
833+
" Otherwise, raise :c:data:`PyExc_BufferError`, set ``view->obj`` to ``NULL``"
834+
" and return ``-1``;"
839835
msgstr ""
840-
"成功したときは、 :c:member:`view->obj` に *exporter* への新しい参照を設定し、 0 を返します。\n"
841-
"失敗したときは、 :c:data:`PyExc_BufferError` を送出し、 :c:member:`view->obj` に ``NULL`` を設定し、 ``-1`` を返します;"
842836

843837
#: ../../c-api/buffer.rst:523
844838
msgid ""

c-api/call.po

+6-10
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.9\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
15+
"POT-Creation-Date: 2020-08-20 03:54+0000\n"
1616
"PO-Revision-Date: 2020-05-31 09:28+0000\n"
1717
"Last-Translator: tomo, 2020\n"
1818
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -458,11 +458,9 @@ msgstr ""
458458

459459
#: ../../c-api/call.rst:286
460460
msgid ""
461-
"Note that if you only pass :c:type:`PyObject \\*` args, "
461+
"Note that if you only pass :c:type:`PyObject *` args, "
462462
":c:func:`PyObject_CallFunctionObjArgs` is a faster alternative."
463463
msgstr ""
464-
":c:type:`PyObject \\*` args だけを引数に渡す場合は、 "
465-
":c:func:`PyObject_CallFunctionObjArgs` がより速い方法であることを覚えておいてください。 "
466464

467465
#: ../../c-api/call.rst:289
468466
msgid "The type of *format* was changed from ``char *``."
@@ -487,11 +485,9 @@ msgstr "これは次の Python の式と同等です: ``obj.name(arg1, arg2, ...
487485

488486
#: ../../c-api/call.rst:307
489487
msgid ""
490-
"Note that if you only pass :c:type:`PyObject \\*` args, "
488+
"Note that if you only pass :c:type:`PyObject *` args, "
491489
":c:func:`PyObject_CallMethodObjArgs` is a faster alternative."
492490
msgstr ""
493-
":c:type:`PyObject \\*` args だけを引数に渡す場合は、 "
494-
":c:func:`PyObject_CallMethodObjArgs` がより速い方法であることを覚えておいてください。 "
495491

496492
#: ../../c-api/call.rst:310
497493
msgid "The types of *name* and *format* were changed from ``char *``."
@@ -500,7 +496,7 @@ msgstr "*name* と *format* の型が ``char *`` から変更されました。"
500496
#: ../../c-api/call.rst:316
501497
msgid ""
502498
"Call a callable Python object *callable*, with a variable number of "
503-
":c:type:`PyObject \\*` arguments. The arguments are provided as a variable "
499+
":c:type:`PyObject *` arguments. The arguments are provided as a variable "
504500
"number of parameters followed by *NULL*."
505501
msgstr ""
506502

@@ -514,8 +510,8 @@ msgstr "これは次の Python の式と同等です: ``callable(arg1, arg2, ...
514510
msgid ""
515511
"Call a method of the Python object *obj*, where the name of the method is "
516512
"given as a Python string object in *name*. It is called with a variable "
517-
"number of :c:type:`PyObject \\*` arguments. The arguments are provided as a"
518-
" variable number of parameters followed by *NULL*."
513+
"number of :c:type:`PyObject *` arguments. The arguments are provided as a "
514+
"variable number of parameters followed by *NULL*."
519515
msgstr ""
520516

521517
#: ../../c-api/call.rst:340

0 commit comments

Comments
 (0)