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

Commit9ea56ac

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

40 files changed

+5322
-4594
lines changed

‎c-api/arg.po

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# tomo, 2019
87
# Osamu NAKAMURA, 2019
98
# 永田 大和 <gey3933@gmail.com>, 2019
9+
# tomo, 2020
1010
#
1111
#,fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To:\n"
1616
"POT-Creation-Date:2020-01-01 04:28+0000\n"
1717
"PO-Revision-Date:2019-09-01 03:38+0000\n"
18-
"Last-Translator:永田 大和 <gey3933@gmail.com>, 2019\n"
18+
"Last-Translator:tomo, 2020\n"
1919
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2020
"MIME-Version:1.0\n"
2121
"Content-Type:text/plain; charset=UTF-8\n"
@@ -117,6 +117,10 @@ msgid ""
117117
"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is ``NULL``, which"
118118
" disallows mutable objects such as :class:`bytearray`."
119119
msgstr""
120+
"いくつかのフォーマットは読み込み専用の :term:`bytes-like オブジェクト <bytes-like object>` "
121+
"を必要とし、バッファ構造体の代わりにポインタをセットします。それらは、オブジェクトの "
122+
":c:member:`PyBufferProcs.bf_releasebuffer` フィールドが ``NULL`` "
123+
"であることをチェックして動きます。これは :class:`bytearray` などの変更可能オブジェクトを禁止します。"
120124

121125
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:58
122126
msgid""
@@ -216,6 +220,8 @@ msgid ""
216220
"Like ``s``, but the Python object may also be ``None``, in which case the C "
217221
"pointer is set to ``NULL``."
218222
msgstr""
223+
"``s`` に似ていますが、Python オブジェクトは ``None`` でもよく、その場合には C のポインタは ``NULL`` "
224+
"にセットされます。"
219225

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

232240
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:110
233241
msgid""
@@ -242,6 +250,8 @@ msgid ""
242250
"Like ``s#``, but the Python object may also be ``None``, in which case the C"
243251
" pointer is set to ``NULL``."
244252
msgstr""
253+
"``s#`` に似ていますが、Python オブジェクトは ``None`` でもよく、その場合には C のポインタは ``NULL`` "
254+
"にセットされます。"
245255

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

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

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

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

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

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

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

725760
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:327
726761
msgid"``O!`` (object) [*typeobject*, PyObject\\*]"
@@ -951,6 +986,8 @@ msgid ""
951986
"on success; on failure, it returns false and raises the appropriate "
952987
"exception."
953988
msgstr""
989+
"位置引数とキーワード引数の両者を取る関数の引数を解釈します。 *keywords* 引数は ``NULL`` で終端されたキーワード名の配列です。\n"
990+
"空の名前は :ref:`位置引数のみ <positional-only_parameter>` を示します。成功した場合、真を返します。失敗した場合は偽を返し、また適切な例外を発生させます。"
954991

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

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

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

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

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp