8000 [skip ci] Update .po files · python/python-docs-ja@466194c · GitHub
[go: up one dir, main page]

Skip to content

Commit 466194c

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 1eb62c2 commit 466194c

25 files changed

+6043
-5201
lines changed

c-api/arg.po

Lines changed: 65 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Inada Naoki <songofacandy@gmail.com>, 2017
1212
# Osamu NAKAMURA, 2018
1313
# 永田 大和 <gey3933@gmail.com>, 2019
14-
# tomo, 2019
14+
# tomo, 2020
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2020-01-01 12:19+0000\n"
2222
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
23-
"Last-Translator: tomo, 2019\n"
23+
"Last-Translator: tomo, 2020\n"
2424
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -122,6 +122,10 @@ msgid ""
122122
"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is ``NULL``, which"
123123
" disallows mutable objects such as :class:`bytearray`."
124124
msgstr ""
125+
"いくつかのフォーマットは読み込み専用の :term:`bytes-like オブジェクト <bytes-like object>` "
126+
"を必要とし、バッファ構造体の代わりにポインタをセットします。それらは、オブジェクトの "
127+
":c:mem E7F5 ber:`PyBufferProcs.bf_releasebuffer` フィールドが ``NULL`` "
128+
"であることをチェックして動きます。これは :class:`bytearray` などの変更可能オブジェクトを禁止します。"
125129

126130
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:58
127131
msgid ""
@@ -221,6 +225,8 @@ msgid ""
221225
"Like ``s``, but the Python object may also be ``None``, in which case the C "
222226
"pointer is set to ``NULL``."
223227
msgstr ""
228+
"``s`` に似ていますが、Python オブジェクトは ``None`` でもよく、その場合には C のポインタは ``NULL`` "
229+
"にセットされます。"
224230

225231
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:106
226232
msgid ""
@@ -233,6 +239,8 @@ msgid ""
233239
"Like ``s*``, but the Python object may also be ``None``, in which case the "
234240
"``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``."
235241
msgstr ""
242+
"``s*`` と同じですが、 Python の ``None`` オブジェクトを受け取ることができます。その場合、 "
243+
":c:type:`Py_buffer` 構造体の ``buf`` メンバーは ``NULL`` になります。"
236244

237245
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:110
238246
msgid ""
@@ -247,6 +255,8 @@ msgid ""
247255
"Like ``s#``, but the Python object may also be ``None``, in which case the C"
248256
" pointer is set to ``NULL``."
249257
msgstr ""
258+
"``s#`` に似ていますが、Python オブジェクトは ``None`` でもよく、その場合には C のポインタは ``NULL`` "
259+
"にセットされます。"
250260

251261
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:120
252262
msgid "``y`` (read-only :term:`bytes-like object`) [const char \\*]"
@@ -373,6 +383,8 @@ msgid ""
373383
"Like ``u``, but the Python object may also be ``None``, in which case the "
374384
":c:type:`Py_UNICODE` pointer is set to ``NULL``."
375385
msgstr ""
386+
"``u`` に似ていますが、Python オブジェクトは ``None`` でもよく、その場合には :c:type:`Py_UNICODE` ポインタは"
387+
" ``NULL`` にセットされます。"
376388

377389
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:181
378390
msgid "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, int]"
@@ -383,6 +395,8 @@ msgid ""
383395
"Like ``u#``, but the Python object may also be ``None``, in which case the "
384396
":c:type:`Py_UNICODE` pointer is set to ``NULL``."
385397
msgstr ""
398+
"``u#`` に似ていますが、 Python オブジェクトは ``None`` でもよく、その場合には :c:type:`Py_UNICODE` "
399+
"ポインタは ``NULL`` にセットされます。"
386400

387401
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:186
388402
msgid "``U`` (:class:`str`) [PyObject \\*]"
@@ -436,6 +450,10 @@ msgid ""
436450
"argument text. The text will be encoded in the encoding specified by the "
437451
"first argument."
438452
msgstr ""
453+
"この書式には二つの引数が必要です。一つ目は入力にのみ用いられ、 NUL で終端されたエンコード名文字列を指す :c:type:`const "
454+
"char\\*` 型または、 ``'utf-8'`` が使われることを表す ``NULL`` でなければなりません。指定したエンコード名を Python"
455+
" が理解できない場合には例外を送出します。第二の引数は :c:type:`char\\*\\*` でなければなりません; "
456+
"この引数が参照しているポインタの値は、引数に指定したテキストの内容が入ったバッファへのポインタになります。テキストは最初の引数に指定したエンコード方式でエンコードされます。"
439457

440458
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:206
441459
msgid ""
@@ -494,6 +512,12 @@ msgid ""
494512
"The third argument must be a pointer to an integer; the referenced integer "
495513
"will be set to the number of bytes in the output buffer."
496514
msgstr ""
515+
"この書式には三つの引数が必要です。一つ目は入力にのみ用いられ、 NUL で終端されたエンコード名文字列を指す :c:type:`const "
516+
"char\\*` 型か ``NULL`` でなければなりません。 ``NULL`` の場合には ``'utf-8'`` "
517+
"を使います。指定したエンコード名を Python が理解できない場合には例外を送出します。第二の引数は :c:type:`char\\*\\*` "
518+
"でなければなりません; "
519+
"この引数が参照しているポインタの値は、引数に指定したテキストの内容が入ったバッファへのポインタになります。テキストは最初の引数に指定したエンコード方式でエンコードされます。第三の引数は整数へのポインタでなければなりません;"
520+
" ポインタが参照している整数の値は出力バッファ内のバイト数にセットされます。"
497521

498522
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:231
499523
msgid "There are two modes of operation:"
@@ -507,6 +531,10 @@ msgid ""
507531
"responsible for calling :c:func:`PyMem_Free` to free the allocated buffer "
508532
"after usage."
509533
msgstr ""
534+
"*\\*buffer* が ``NULL`` "
535+
"ポインタを指している場合、関数は必要なサイズのバッファを確保し、そのバッファにエンコード後のデータをコピーして、 *\\*buffer* "
536+
"がこの新たに確保された記憶領域を指すように変更します。呼び出し側には、確保されたバッファを使い終わった後に :c:func:`PyMem_Free` "
537+
"で解放する責任があります。"
510538

511539
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:238
512540
msgid ""
@@ -516,6 +544,10 @@ msgid ""
516544
"will then copy the encoded data into the buffer and NUL-terminate it. If "
517545
"the buffer is not large enough, a :exc:`ValueError` will be set."
518546
msgstr ""
547+
"*\\*buffer* が非 ``NULL`` のポインタ (すでにメモリ確保済みのバッファ) を指している場合、 "
548+
":c:func:`PyArg_ParseTuple` はこのメモリ位置をバッファとして用い、 *\\*buffer_length* "
549+
"の初期値をバッファサイズとして用います。 PyArg_ParseTuple は次にエンコード済みのデータをバッファにコピーして、NUL "
550+
"で終端します。バッファの大きさが足りなければ :exc:`ValueError` がセットされます。"
519551

520552
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:244
521553
msgid ""
@@ -726,6 +758,9 @@ msgid ""
726758
" program thus receives the actual object that was passed. The object's "
727759
"reference count is not increased. The pointer stored is not ``NULL``."
728760
msgstr ""
761+
"Python オブジェクトを (一切変換を行わずに) C の Python オブジェクト型ポインタに保存します。これにより、C "
762+
"プログラムは実際のオブジェクトを受け渡しされます。オブジェクトの参照カウントは増加しません。保存されるポインタが ``NULL`` "
763+
"になることはありません。"
729764

730765
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:327
731766
msgid "``O!`` (object) [*typeobject*, PyObject \\*]"
@@ -781,6 +816,9 @@ msgid ""
781816
"call, the *object* parameter will be ``NULL``; *address* will have the same "
782817
"value as in the original call."
783818
msgstr ""
819+
"もし *converter* が ``Py_CLEANUP_SUPPORTED`` "
820+
"を返すと、引数のパースが失敗した際に、コンバーターをもう一度呼び出し、すでに割り当てたメモリを開放するチャンスを与えます。二度目の呼び出しでは "
821+
"*object* 引数は ``NULL`` になり、*address* は最初の呼び出しと同じ値になります。"
784822

785823
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:351
786824
msgid "``Py_CLEANUP_SUPPORTED`` was added."
@@ -956,6 +994,8 @@ msgid ""
956994
"on success; on failure, it returns false and raises the appropriate "
957995
"exception."
958996
msgstr ""
997+
"位置引数とキーワード引数の両者を取る関数の引数を解釈します。 *keywords* 引数は ``NULL`` で終端されたキーワード名の配列です。\n"
998+
"空の名前は :ref:`位置引数のみ <positional-only_parameter>` を示します。成功した場合、真を返します。失敗した場合は偽を返し、また適切な例外を発生させます。"
959999

9601000
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:445
9611001
msgid ""
@@ -1045,6 +1085,9 @@ msgid ""
10451085
"Returns the value or ``NULL`` in the case of an error; an exception will be "
10461086
"raised if ``NULL`` is returned."
10471087
msgstr ""
1088+
":c:func:`PyArg_Parse\\*` "
1089+
"ファミリの関数が受け取るのと似た形式の書式文字列および値列に基づいて、新たな値を生成します。生成した値を返します。エラーの場合には ``NULL`` "
1090+
"を返します; ``NULL`` を返す場合、例外を送出するでしょう。"
10481091

10491092
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:526
10501093
msgid ""
@@ -1103,6 +1146,8 @@ msgid ""
11031146
"Convert a null-terminated C string to a Python :class:`str` object using "
11041147
"``'utf-8'`` encoding. If the C string pointer is ``NULL``, ``None`` is used."
11051148
msgstr ""
1149+
"null終端された C 文字列を、 ``'utf-8'`` エンコーディングを用いて、 Python :class:`str` "
1150+
"オブジェクトに変換します。もし C 文字列ポインタが ``NULL`` の場合、 ``None`` になります。"
11061151

11071152
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:555
11081153
msgid "``s#`` (:class:`str` or ``None``) [const char \\*, int]"
@@ -1114,6 +1159,8 @@ msgid ""
11141159
"``'utf-8'`` encoding. If the C string pointer is ``NULL``, the length is "
11151160
"ignored and ``None`` is returned."
11161161
msgstr ""
1162+
"C 文字列とその長さを ``'utf-8'`` エンコーディングを使って Python :class:`str` オブジェクトに変換します。C "
1163+
"文字列ポインタが ``NULL`` の場合、長さは無視され、 ``None`` になります。"
11171164

11181165
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:559
11191166
msgid "``y`` (:class:`bytes`) [const char \\*]"
@@ -1124,6 +1171,8 @@ msgid ""
11241171
"This converts a C string to a Python :class:`bytes` object. If the C string"
11251172
" pointer is ``NULL``, ``None`` is returned."
11261173
msgstr ""
1174+
"C 文字列をPython :class:`bytes` オブジェクトに変換します。もしC 文字列ポインタが ``NULL`` "
1175+
"だった場合、``None`` を返します。"
11271176

11281177
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:563
11291178
msgid "``y#`` (:class:`bytes`) [const char \\*, int]"
@@ -1134,6 +1183,8 @@ msgid ""
11341183
"This converts a C string and its lengths to a Python object. If the C "
11351184
"string pointer is ``NULL``, ``None`` is returned."
11361185
msgstr ""
1186+
"これは C 文字列とその長さから Python オブジェクトに変換します。C 文字列ポインタが ``NULL`` の場合、長さは無視され "
1187+
"``None`` になります。"
11371188

11381189
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:566
11391190
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:582
@@ -1159,6 +1210,8 @@ msgid ""
11591210
"UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is "
11601211
"``NULL``, ``None`` is returned."
11611212
msgstr ""
1213+
"null 終端された Unicode (UTF-16 または UCS-4) データの :c:type:`wchar_t` バッファから Python "
1214+
"Unicode オブジェクトに変換します。 Unicode バッファポインタが ``NULL`` の場合、 ``None`` になります。"
11621215

11631216
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:579
11641217
msgid "``u#`` (:class:`str`) [const wchar_t \\*, int]"
@@ -1170,6 +1223,8 @@ msgid ""
11701223
"Unicode object. If the Unicode buffer pointer is ``NULL``, the length is "
11711224
"ignored and ``None`` is returned."
11721225
msgstr ""
1226+
"Unicode (UTF-16 または UCS-4) データのバッファとその長さから Python Unicode オブジェクトに変換します。 "
1227+
"Unicode バッファポインタが ``NULL`` の場合、長さは無視され ``None`` になります。"
11731228

11741229
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:582
11751230
msgid "``U`` (:class:`str` or ``None``) [const char \\*]"
@@ -1270,6 +1325,10 @@ msgid ""
12701325
"return ``NULL`` but won't raise an exception. If no exception has been "
12711326
"raised yet, :exc:`SystemError` is set."
12721327
msgstr ""
1328+
"Python オブジェクトを手を加えずに渡します (ただし、参照カウントは 1 インクリメントします)。渡したオブジェクトが ``NULL`` "
1329+
"ポインタの場合、この引数を生成するのに使った何らかの呼び出しがエラーになったのが原因であると仮定して、例外をセットします。従ってこのとき "
1330+
":c:func:`Py_BuildValue` は ``NULL`` を返しますが例外は送出しません。例外をまだ送出していなければ "
1331+
":exc:`SystemError` をセットします。"
12731332

12741333
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:646
12751334
msgid "``S`` (object) [PyObject \\*]"
@@ -1299,6 +1358,9 @@ msgid ""
12991358
":c:type:`void \\*`) as its argument and should return a \"new\" Python "
13001359
"object, or ``NULL`` if an error occurred."
13011360
msgstr ""
1361+
"*anything* を *converter* 関数を介して Python オブジェクトに変換します。この関数は *anything* "
1362+
"(:c:type:`void \\*` と互換の型でなければなりません) を引数にして呼び出され、\"新たな\" オブジェクトを返すか、失敗した場合には"
1363+
" ``NULL`` を返すようにしなければなりません。"
13021364

13031365
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:660
13041366
msgid ""
@@ -1331,7 +1393,7 @@ msgstr "C の値からなる配列を Python の辞書に変換します。一
13311393
msgid ""
13321394
"If there is an error in the format string, the :exc:`SystemError` exception "
13331395
"is set and ``NULL`` returned."
1334-
msgstr ""
1396+
msgstr "書式文字列に関するエラーが生じると、 :exc:`SystemError` 例外をセットして ``NULL`` を返します。"
13351397

13361398
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:675
13371399
msgid ""

0 commit comments

Comments
 (0)
0