Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf459d0b

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parente420bb8 commitf459d0b

Some content is hidden

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

43 files changed

+7455
-7661
lines changed

‎c-api/arg.po

Lines changed: 27 additions & 69 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-26 12:47+0000\n"
14+
"POT-Creation-Date:2020-08-20 14:53+0000\n"
1515
"PO-Revision-Date:2020-05-30 11:47+0000\n"
1616
"Last-Translator:tomo, 2020\n"
1717
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -304,11 +304,8 @@ msgstr "``S`` (:class:`bytes`) [PyBytesObject \\*]"
304304
msgid""
305305
"Requires that the Python object is a :class:`bytes` object, without "
306306
"attempting any conversion. Raises :exc:`TypeError` if the object is not a "
307-
"bytes object. The C variable may also be declared as :c:type:`PyObject\\*`."
307+
"bytes object. The C variable may also be declared as :c:type:`PyObject*`."
308308
msgstr""
309-
"Pythonオブジェクトとして、 :class:`bytes` オブジェクトを要求し、いかなる変換も行いません。オブジェクトが bytes "
310-
"オブジェクトでなければ、 :exc:`TypeError` を送出します。C 変数は :c:type:`PyObject\\*` "
311-
"と宣言しても構いません。"
312309

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

328322
#:../../c-api/arg.rst:156
329323
msgid"``u`` (:class:`str`) [const Py_UNICODE\\*]"
@@ -405,11 +399,8 @@ msgstr "``U`` (:class:`str`) [PyObject \\*]"
405399
msgid""
406400
"Requires that the Python object is a Unicode object, without attempting any "
407401
"conversion. Raises :exc:`TypeError` if the object is not a Unicode object."
408-
" The C variable may also be declared as :c:type:`PyObject\\*`."
402+
" The C variable may also be declared as :c:type:`PyObject*`."
409403
msgstr""
410-
"Python オブジェクトとして Unicode オブジェクトを要求し、いかなる変換も行いません。オブジェクトが Unicode "
411-
"オブジェクトではない場合、 :exc:`TypeError` が送出されます。C変数は :c:type:`PyObject\\*` "
412-
"として宣言しても構いません。"
413404

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

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

521501
#:../../c-api/arg.rst:231
522502
msgid"There are two modes of operation:"
@@ -757,14 +737,10 @@ msgstr "``O!`` (object) [*typeobject*, PyObject \\*]"
757737
msgid""
758738
"Store a Python object in a C object pointer. This is similar to ``O``, but "
759739
"takes two C arguments: the first is the address of a Python type object, the"
760-
" second is the address of the C variable (of type :c:type:`PyObject\\*`) "
761-
"intowhich the object pointer is stored. If the Python object does not have"
762-
" therequired type, :exc:`TypeError` is raised."
740+
" second is the address of the C variable (of type :c:type:`PyObject*`) into "
741+
"which the object pointer is stored. If the Python object does not have the"
742+
"required type, :exc:`TypeError` is raised."
763743
msgstr""
764-
"Python オブジェクトを C の Python オブジェクト型ポインタに保存します。 ``O`` に似ていますが、二つの C の引数をとります: "
765-
"一つ目の引数は Python の型オブジェクトへのアドレスで、二つ目の引数はオブジェクトへのポインタが保存されている "
766-
"(:c:type:`PyObject\\*` の) C の変数へのアドレスです。Python オブジェクトが指定した型ではない場合、 "
767-
":exc:`TypeError` を送出します。"
768744

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

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

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

10481009
#:../../c-api/arg.rst:493
10491010
msgid""
@@ -1351,12 +1312,9 @@ msgstr ""
13511312
msgid""
13521313
"Convert *anything* to a Python object through a *converter* function. The "
13531314
"function is called with *anything* (which should be compatible with "
1354-
":c:type:`void\\*`) as its argument and should return a\"new\" Python "
1355-
"object,or ``NULL`` if an error occurred."
1315+
":c:type:`void*`) as its argument and should return a\"new\" Python object, "
1316+
"or ``NULL`` if an error occurred."
13561317
msgstr""
1357-
"*anything* を *converter* 関数を介して Python オブジェクトに変換します。この関数は *anything* "
1358-
"(:c:type:`void\\*` と互換の型でなければなりません) を引数にして呼び出され、\"新たな\" オブジェクトを返すか、失敗した場合には"
1359-
" ``NULL`` を返すようにしなければなりません。"
13601318

13611319
#:../../c-api/arg.rst:660
13621320
msgid""

‎c-api/buffer.po

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# tomo, 2020
8+
# 秘湯 <xwhhsprings@gmail.com>, 2020
89
#
910
#,fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version:Python 3.8\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2020-02-09 12:40+0000\n"
15+
"POT-Creation-Date:2020-08-20 14:53+0000\n"
1516
"PO-Revision-Date:2020-05-30 11:47+0000\n"
16-
"Last-Translator:tomo, 2020\n"
17+
"Last-Translator:秘湯 <xwhhsprings@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"
@@ -567,6 +568,10 @@ msgstr "F"
567568
msgid"C or F"
568569
msgstr"C か F"
569570

571+
#:../../c-api/buffer.rst:304
572+
msgid":c:macro:`PyBUF_ND`"
573+
msgstr":c:macro:`PyBUF_ND`"
574+
570575
#:../../c-api/buffer.rst:309
571576
msgid"compound requests"
572577
msgstr"複合リクエスト"
@@ -704,24 +709,18 @@ msgstr ""
704709
msgid""
705710
"Send a request to *exporter* to fill in *view* as specified by *flags*. If "
706711
"the exporter cannot provide a buffer of the exact type, it MUST raise "
707-
":c:data:`PyExc_BufferError`, set:c:member:`view->obj` to ``NULL`` and "
708-
"return``-1``."
712+
":c:data:`PyExc_BufferError`, set``view->obj`` to ``NULL`` and return "
713+
"``-1``."
709714
msgstr""
710-
"*exporter* に *flags* で指定された方法で *view* を埋めるように要求します。\n"
711-
"もし exporter が指定されたとおりにバッファを提供できない場合、 :c:data:`PyExc_BufferError` を送出し、 :c:member:`view->obj` を ``NULL`` に設定した上で、 ``-1`` を返さなければなりません。"
712715

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

726725
#:../../c-api/buffer.rst:449
727726
msgid""
@@ -736,11 +735,9 @@ msgstr ""
736735
#:../../c-api/buffer.rst:457
737736
msgid""
738737
"Release the buffer *view* and decrement the reference count for "
739-
":c:member:`view->obj`. This function MUST be called when the buffer is no "
740-
"longerbeing used, otherwise reference leaks may occur."
738+
"``view->obj``. This function MUST be called when the buffer is no longer "
739+
"being used, otherwise reference leaks may occur."
741740
msgstr""
742-
"バッファ *view* を解放し、 :c:member:`view->obj` の参照カウントを1つ減らします。\n"
743-
"この関数はバッファが使われることがなくなったときに呼び出さなければならず、そうしないと参照のリークが起こり得ます。"
744741

745742
#:../../c-api/buffer.rst:461
746743
msgid""
@@ -826,12 +823,10 @@ msgstr ""
826823

827824
#:../../c-api/buffer.rst:517
828825
msgid""
829-
"On success, set:c:member:`view->obj` to a new reference to *exporter* and "
830-
"return 0.Otherwise, raise :c:data:`PyExc_BufferError`, set "
831-
":c:member:`view->obj` to ``NULL`` and return ``-1``;"
826+
"On success, set``view->obj`` to a new reference to *exporter* andreturn 0."
827+
"Otherwise, raise :c:data:`PyExc_BufferError`, set``view->obj`` to ``NULL``"
828+
" and return ``-1``;"
832829
msgstr""
833-
"成功したときは、 :c:member:`view->obj` に *exporter* への新しい参照を設定し、 0 を返します。\n"
834-
"失敗したときは、 :c:data:`PyExc_BufferError` を送出し、 :c:member:`view->obj` に ``NULL`` を設定し、 ``-1`` を返します;"
835830

836831
#:../../c-api/buffer.rst:521
837832
msgid""

‎c-api/capsule.po

Lines changed: 2 additions & 6 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-08-20 14:53+0000\n"
1515
"PO-Revision-Date:2020-05-30 11:47+0000\n"
1616
"Last-Translator:tomo, 2020\n"
1717
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -33,16 +33,12 @@ msgstr "`using-capsules` 以下のオブジェクトを使う方法について
3333
#:../../c-api/capsule.rst:17
3434
msgid""
3535
"This subtype of :c:type:`PyObject` represents an opaque value, useful for C "
36-
"extension modules who need to pass an opaque value (as a :c:type:`void\\*` "
36+
"extension modules who need to pass an opaque value (as a :c:type:`void*` "
3737
"pointer) through Python code to other C code. It is often used to make a C "
3838
"function pointer defined in one module available to other modules, so the "
3939
"regular import mechanism can be used to access C APIs defined in dynamically"
4040
" loaded modules."
4141
msgstr""
42-
"この :c:type:`PyObject` のサブタイプは、任意の値を表し、C拡張モジュールから "
43-
"Pythonコードを経由して他のC言語のコードに任意の値を(:c:type:`void\\*` "
44-
"ポインタの形で)渡す必要があるときに有用です。あるモジュール内で定義されているC言語関数のポインタを、他のモジュールに渡してそこから呼び出せるようにするためによく使われます。これにより、動的にロードされるモジュールの中の"
45-
" C API に通常の import 機構を通してアクセスすることができます。"
4642

4743
#:../../c-api/capsule.rst:27
4844
msgid"The type of a destructor callback for a capsule. Defined as::"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp